Hey! These docs are for version 3.2, which is no longer officially supported. Click here for the latest version, 1.0!

Update Card

Updates nickname and/or name_on_card for the stored card.

  Response Parameters  for the Update Card API:   (click to view)
ParameterTypeDescription
card_tokenStringTemporary token representing the card which is to be updated.
user_messageStringReturns: "Card details updated", unless a failure occurred, in which case a response with an HTTP status code of "400" is returned, as shown below. .
statusStringReturns: "SUCCESS", unless a failure occurred, in which case a response with an HTTP status code of "400" is returned, as shown below.
The request must include a  card_token, and other parameters, as listed below:     (click to open table)
FieldTypeDescription
card_token*StringThe temporary card_token received in the response for the List stored cards API or Add Card API.
customer_id*StringCustomer ID against which the card is stored.
name_on_cardStringPass a new value, if name_on_card needs to be updated. Should contain alphabetical characters and spaces only. with length limit of 64 characters.
nicknameStringPass a new value, if nickname needs to be updated, Should contain alphabetical characters and spaces only, with length limit of 64 characters.

   * = Required

Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!