Update a card's state beta

Updates the state of an existing card.

The possible states are:

  • “ACTIVE”
  • “TERMINATED”
  • “SUSPENDED”

You can update a state when you update a card's details.

SecurityCommonAuth
Request
path Parameters
cardId
required
string <uuid> <= 36 characters

The ID of the card to work with.

Example: e9293471-5eb3-4dbc-916c-dbaf9e2deefd
query Parameters
accountId
required
string

The ID of the account to work with.

Example: accountId=F50091
personId
string <uuid> <= 36 characters

The ID of the person to work with.

Example: personId=775596ae-2624-40af-a9dc-9756110a4a04
Request Body schema: application/json

Body

state
required
string

The current state of the card.

Enum: "ACTIVE" "TERMINATED" "SUSPENDED"
reason
string

The reason for the update.

syncDigitalWalletTokens
boolean

When true all Digital Wallet Tokens in the same state as the card will be transitioned to the state of the card provided in the card transition request.

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

405

Method Not Allowed

415

Unsupported Media Type

429

Too Many Requests

500

Internal Server Error

post/cards/{cardId}/transition
Request samples
application/json
{
  • "state": "ACTIVE",
  • "reason": "activate card",
  • "syncDigitalWalletTokens": true
}
Response samples
application/json
{
  • "id": "e9293471-5eb3-4dbc-916c-dbaf9e2deefd",
  • "personId": "775596ae-2624-40af-a9dc-9756110a4a04",
  • "accountId": "F50091",
  • "careOfLine": "string",
  • "cardProductName": "string",
  • "lastFour": "0056",
  • "expiration": "0111",
  • "expirationTime": "2025-01-31T23:59:59Z",
  • "pinIsSet": true,
  • "state": "ACTIVE",
  • "stateReason": "New card",
  • "fulfillmentStatus": "ISSUED",
  • "cardType": "PHYSICAL_MSR",
  • "recipientAddress": null,
  • "cardOwnerType": "PEOPLE",
  • "name": "Team Party Card",
  • "budgetCardPhoneNumber": "+447911001762",
  • "meta": [
    ],
  • "budgets": [
    ],
  • "budget": {
    },
  • "spendingLimit": {
    },
  • "transactionLimit": {
    },
  • "budgetCardPhoneNumberPersonId": "3f0ed336-6bdd-4498-b45f-514a625c72e1",
  • "previousCards": [
    ],
  • "currencies": [
    ],
  • "physicalCardState": "ACTIVE",
  • "physicalCardId": "98e7d110-00ea-45f1-9af7-2dac397a7138",
  • "forceChangePin": true,
  • "cardGroupId": "ef3dcbc9-9ad4-44c0-8d75-217d31da37b8",
  • "cardProductId": "06776ac8-abe1-475b-92ee-72405c7b0e60",
  • "cardProductToken": "2f224848-4191-4180-a090-3926042e4b39",
  • "userTokenId": "187f5207-de0b-4f4e-9b90-d50d6a251c6b",
  • "cardPersonalization": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}