API Reference
Log In
API Reference

Add a payment method to a Customer

Adds a payment method to a Customer's profile, using the Customer identifier (customerId). Add the billing information in the request body.

Path Params
string
required

Unique Customer identifier.

Body Params
string
required

Cardholder Name.

billingAddress
object
required

Address billing details.

card
object
required

Credit card information.

boolean
required

Set as default payment method.

Response
200

Successfully added a payment method.

Language
Credentials
Click Try It! to start a request and see the response here!