Skip to navigation

Update a card

Updates the card’s nickname and/or policy. At least one of nickname or policy must be provided. Requires Admin role.

Authentication

AuthorizationBearer

A short-lived access token from POST /api/v1/access-token (30 minutes by default). Send as Authorization: Bearer <jwt>.

Path parameters

cardIdstringRequiredformat: "uuid"
The card's unique identifier.

Request

This endpoint expects an object.
nicknamestringOptional
policyobjectOptional

The spending controls applied to a card. At least one spending limit (transaction, daily, monthly, or total) must be specified when creating a card.

Response

Card updated.
idstringformat: "uuid"
The card's unique identifier.
typeenum
The card form factor.
Allowed values:
companyobject
A summary of the company that owns the card.
statusenum
The card's current status.
userobject
A summary of the cardholder.
nicknamestring
A display name for the card.
cardNumberstringOptional

The masked card number (last 4 digits only).

shippingSpeedenumOptional
Shipping speed for a physical card. Present only for physical cards.
Allowed values:
policyobjectOptional

The spending controls applied to a card. At least one spending limit (transaction, daily, monthly, or total) must be specified when creating a card.

cardTokenobjectOptional

Credentials for revealing sensitive card details client-side. Returned only when extend=cardToken is requested.

cardProgramobjectOptional
The card program this card is issued against.
cardDetailsobjectOptional

The full card number, CVV and expiration. Returned only when extend=cardDetails is requested. This is cardholder data; never log or store it.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error