Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

fwdorigin
enum<string>
default:DISPATCH_API
required
Available options:
DISPATCH_API

Body

application/json
token
string<The Payment Method ID from Stripe>
required
type
string<The card type, also from the Stripe Payment Method object >
required

Response

Payment method successfully added

id
number

Internal payment method ID

paymentMethodToken
string

The Stripe Payment Method ID (pm_...)

type
string

Payment method type (e.g. card)

provider
string

Payment provider — always stripe

centsCustomerId
number

ID of the customer this payment method belongs to