Creates and stores a new payment method for a customer, such as a credit card, ACH account, or digital wallet token. This endpoint accepts full payment method details and securely tokenizes them for future use.
It’s typically used during onboarding, checkout, or when a customer wants to add a new card or bank account to their profile. The created payment method can later be used for subscriptions, or one-time payments.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Conditional: either both BillingFirstName and BillingLastName or BillingFullName must be provided.
The customers’s first name associated with a payment method that is used for billing purposes.
Conditional: either both BillingFirstName and BillingLastName or BillingFullName must be provided.
The customers’s last name associated with a payment method that is used for billing purposes.
Conditional: either BillingFullName or both BillingFirstName and BillingLastName must be provided.
The customers’s full name associated with a payment method that is used for billing purposes.
The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.
Conditional: one payment method type is required.
Payment card information.
Conditional: one payment method type is required.
ACH account information.
Conditional: one payment method type is required.
Google Pay information.
Merchant's unique identifier for the payment method.
The payment method was successfully created
The unique identifier for the payment method information.
The unique identifier of the address.
The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.
Conditional: either both BillingFirstName and BillingLastName or BillingFullName must be provided.
The customers’s first name associated with a payment method that is used for billing purposes.
Conditional: either both BillingFirstName and BillingLastName or BillingFullName must be provided.
The customers’s last name associated with a payment method that is used for billing purposes.
Merchant's unique identifier for the payment method.
ACH account information.
The details of credit card payment method.