This resource helps you to retrieve, update, and delete card details for a customer.
Sample CardJSON
API Index URL
Cards attributes
Current status of the card.
A valid and active credit card
A card which is expiring in the current month.
An expired card
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.
The identifier provided by the gateway/card vault for the specific payment method resource.
The Issuer Identification Number, i.e. the first six digits of the card number
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.
The IP address of the customer. Used primarily for referral integration and EU VAT validation.