Create payment method

Create a new payment method for the customer on-session.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
int32
required

The unique identifier of the site associated with your account.

Body Params
string
enum
required

The optional payment gateway, one of stripe, vantiv, tap or cybersource. Always defaults to stripe.

Allowed:
string
required

The single-use token that represents the payment method details. Typically generated using the payment gateway's tools and libraries.

boolean

Sets the payment method to be default

Headers
string
required
Defaults to Bearer eyJ***
string
Defaults to application/json
Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain