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
| Attribute | Type | Required | Description |
|---|---|---|---|
| cardId or cardToken | Integer | Yes | Card identifier. |
| statusReason | String | Yes | Reason for update. |
| cardStatus | Enum | Yes | ACTIVE or BLOCK. |
Request Example
{
"cardId": 25,
"statusReason": "Activate the card",
"cardStatus": "ACTIVE"
}Response
| Field | Type | Description |
|---|---|---|
| id | Integer | ID of card. |
| token | Integer | Card token. |
| status | String | Updated status of card. |
| statusReason | String | Status reason of card. |
200 — SUCCESS
{
"data": {
"id": 25,
"token": 335446928,
"status": "BLOCK",
"statusReason": "BLOCK the card"
}
}