Create a payment
POST/api/v1/payments
Create a payment intent with the provided details. Supports multiple payment providers (Stripe) and payment methods (Card).
The request body structure varies by provider and payment method type.
Field casing note: provider, currency, payment_method.type, and capture_method
are case-insensitive on input (automatically uppercased internally).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
Payment created successfully
Validation error or invalid state
Authentication credentials are missing or invalid
Authenticated but not authorized for this resource
Customer not found
Request validation failed