Updating a card

This section provides instructions on how to update card details. This supports use cases where you may want to update cardholder details such as:

  • Name
  • Contact details (email and mobile)
  • Address
  • Fulfilment Address

Updating Card Details

Step 1: Capture the customer details that have changed

Before updating a card, ensure you have captured all the details from the customer that you wish to update in the GPS system.

Step 2: Identify the customer's card

When you have captured the details you want to change for your customer, you need to identify the public token that corresponds to the customer's card.

Step 3: Make an update card request

When you have identified the correct public token, you can make a PATCH/cards call. Ensure you have only the fields you want to update populated.

🚧

Blank Values

If you pass an empty value as part of an Update Card call, this will overwrite the value that is stored within GPS systems. You can use this to remove cardholder data that you no longer want stored on the GPS Platform.

Examples of different types of updates are shown below:

}
 "addresss": {
    "addressLine1": "The Bat Cave",
    "addressLine2": "Behind the Waterfall",
    "city": "Gotham",
    "county": "New York",
    "postCode": "GT018TT",
    "country": "USA"
  },
}
}
 "fulfillment": {
    "addressLine1": "The Bat Cave",
    "addressLine2": "Behind the Waterfall",
    "city": "Gotham",
    "county": "New York",
    "postCode": "GT018TT",
    "country": "USA"
  },
}

👍

API Explorer

See the Update card endpoint.


Did this page help you?