This resource helps you to retrieve, update, and delete card details for a customer.
Sample CardJSON
API Index URL
Cards attributes
Name of the gateway this payment source is stored with.
Chargebee test gateway.
Stripe is a payment gateway.
Braintree is a payment gateway.
Authorize.net is a payment gateway
PayPal Pro Account is a payment gateway.
Card type
A Visa card.
A MasterCard.
An American Express card.
A Discover card.
A JCB card.
A Diner's Club card.
A Bancontact card.
Card belonging to types other than those listed above.
Used for offline entries in transactions. Not applicable for cards
The ISO 3166-2 state/province code
without the country prefix. Currently supported for USA, Canada and India. For instance, for Arizona (USA), set state_code
as AZ
(not US-AZ
). For Tamil Nadu (India), set as TN
(not IN-TN
). For British Columbia (Canada), set as BC
(not CA-BC
).
The billing address country of the customer. Must be one of ISO 3166 alpha-2 country code .
Note: If you enter an invalid country code, the system will return an error.
Brexit
If you have enabled EU VAT in 2021 or later, or have manually enable the Brexit configuration, then XI (the code for United Kingdom - Northern Ireland) is available as an option.