Payment methods
New payment method
Stores and vaults a new payment method.
Vaulting a card only stores its information but doesn’t validate it against any PSP, so ephemeral data like the security code, often referred to as the CVV or CVD, won’t be used. In order to validate the card data, a CIT (Customer Initiated Transaction) must be done, even if it’s a zero-value one.
POST
This endpoint requires the payment-methods.write
scope.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Details to register a new card payment method.
Details to register a new card payment method.
Details to register a new redirect payment method.
Details to register a new Checkout Session payment method.
Response
201
application/json
Returns the created payment method.
A generic payment method.