Skip to main content
PUT
Update a saved payment method. Today this updates the card’s metadata — supply only the metadata you want to change.

Authorization

Bearer <accessSecret> Path Parameters
string
required
The customer UUID who owns the card.
string
required
The card identifier to update.
Request Body Schema
object
Set of key-value pairs to attach to the saved card. Supplied keys are merged into the card’s existing metadata: a key is added or overwritten, and setting a key to an empty string ("") removes it. Keys you don’t include are left unchanged.
  • Up to 50 key-value pairs.
  • Each key must be 1–40 characters and must not contain [ or ].
  • Each value must be a string of at most 500 characters.
Response Returns the updated saved card object.
string
Card identifier.
string
Cardholder name.
string
Card type (e.g., credit, debit).
string
Last 4 digits of the card number.
string
Card category.
string
Card type (e.g., DEBIT, CREDIT, PREPAID).
string
Card network brand (e.g., VISA, MASTERCARD).
string
Card issuing country code.
string
Card expiry date in MM/YYYY format.
object
The key/value string pairs attached to the card after the update.
string
ISO 8601 timestamp of when the card was saved.