Skip to main content
POST
Add payment method

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is the account token returned from the Login endpoint.

Body

application/json
provider
string
required
Example:

"stripe"

paymentMethod
string
required
Example:

"card"

paymentMethodId
string
required
Example:

"pm_1QabcDEF1234567890"

Response

Success

customerPaymentId
string<uuid>