Merchants look to update card details when:
- The billing address of a customer has changed. In such a case, modify the billing address in the Chargebee and the payment gateway.
- The expiration date of the card has been extended by the bank. (This usually happens when the date of card expiry is in near future).
Multiple parameters such as address, expiry date, month, and so on, can be updated through this API.
Meta data can also be added additionally(supported in Stripe only). Metadata is a JSON object. It is used to store additional information about customers.
In Stripe and Braintree payment gateways, changes in card details are auto-updated. This feature can also be used for other payment gateways in which auto-update is not enabled or is not supported by Chargebee.
Note : This endpoint supports Chargebee Test Gateway, Stripe , Braintree , Authorize.net , Worldpay US eCom , and WorldPay Direct Integration . For all other gateways, your customers must re-enter the full card details to update existing card details. For example, consider a customer not using the gateways mentioned above and wants to update the card[billing_addr1] parameter. In such a case, the customer must re-enter the value of all the parameters present in the card object.