Create a payment method with Stripe
POST/api/psp/stripe/v1/payment_methods
Retrieves encrypted card data from the card capture session identified by the
aiphoriaCardCaptureKey header, injects the decrypted card details into the request,
creates a Stripe payment method using the StripeAuthorization header, and returns the response.
Request
Responses
- 200
- 400
- 401
- 402
- 403
- 404
- 500
Payment method created — response body contains the Stripe payment method response.
Invalid request — missing card capture key, missing authorization header, null gateway response, or a Stripe-rejected request.
Authentication failed — token is missing, expired, or invalid.
Payment Required
Caller does not have the required role.
The card capture session could not be found.
An unexpected server error occurred.