Modes

Change card mode status

Change card mode status (active or suspended). A card can have both a credit and debit mode, meaning it can have both a credit and debit account. Each mode is associated with a credit or debit program and account.

For more information, refer to the mode documentation in the Cards overview guide.

Note: This endpoint takes an account token - an access token encoded with a Pismo account ID.

put/wallet/v2/cards/{cardId}/modes/{modeId}/status

Request

  • Base URL
    https://sandbox.pismolabs.io/passport
  • URL
    https://sandbox.pismolabs.io/passport/wallet/v2/cards/{cardId}/modes/{modeId}/status
  • Auth
    none declared. Required headers: x-customer-id

Path parameters

cardIdstring required

Pismo card ID

modeIdstring required

Card mode ID. For more information, refer to Create a combination card with card modes.

Headers

x-customer-idinteger required

Pismo customer ID

Request body

status'ACTIVE' | 'SUSPENDED'

Status descriptions:

  • ACTIVE - Status when card is created
  • SUSPENDED - Cannot perform actions like authorization or tokenization flow

Example request

{
  "status": "SUSPENDED"
}

Response

Status updated

Changes

No recorded changes to this operation across all 1 revision of this API.