---
title: "Update a tokenized card"
method: PUT
path: "/credit_cards/{token_or_alias}"
---

# Update a tokenized card

`PUT /credit_cards/{token_or_alias}`

## Request

- Base URL: `https://gateway.pmnts-sandbox.io/v1.0`
- URL: `https://gateway.pmnts-sandbox.io/v1.0/credit_cards/{token_or_alias}`
- Auth: HTTP basic

Update an existing card

## Path parameters

- `token_or_alias` string, required

## Request body

- object
  - `card_expiry` string: Expiry on the card
  - `alias` string: Alias to associate with the card. **Note**: if the alias specified already exists on another card, it will be removed from the other card and added to this card.

## Response `200`

200

- object
  - `successful` boolean
  - `response` object
    - `token` string
    - `card_holder` string
    - `card_number` string
    - `card_expiry` string
    - `card_type` string
    - `card_category` string
    - `card_subcategory` string
    - `card_issuer` string
    - `card_country` string
    - `authorized` boolean
    - `transaction_count` integer
    - `alias` string
  - `errors` unknown[]
    - unknown
  - `test` boolean

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `a62ddbae3800`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fatzebra/apis/gateway/changes/credit_cards/:token_or_alias/put.md)

---

[API](https://skmtc.dev/fatzebra/apis/gateway.md) - [All operations](https://skmtc.dev/fatzebra/apis/gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/fatzebra/apis/gateway/revisions/a62ddbae3800?raw)
