🚀 VaultsPay API v1 is live. See what's new →
Payment CardsUpdate Card Status

Update Card Status

The SaaS application can update the status of any customer’s card to ACTIVE or BLOCK. The card’s current status must be ACTIVE, BLOCK, or FREEZE to perform a status update.

POST{baseUrl}/pcs/api/v1/update-card-status

Payload

AttributeTypeRequiredDescription
cardId or cardTokenIntegerYesCard identifier.
statusReasonStringYesReason for update.
cardStatusEnumYesACTIVE or BLOCK.
Request Example
{
  "cardId": 25,
  "statusReason": "Activate the card",
  "cardStatus": "ACTIVE"
}

Response

FieldTypeDescription
idIntegerID of card.
tokenIntegerCard token.
statusStringUpdated status of card.
statusReasonStringStatus reason of card.
200 — SUCCESS
{
  "data": {
    "id": 25,
    "token": 335446928,
    "status": "BLOCK",
    "statusReason": "BLOCK the card"
  }
}