PUT
/
cards
/
{id}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

The _id of the card to update.

Body

application/json
status
enum<string>
default:
active
required

The card status.

Available options:
active,
inactive,
canceled
cancellationReason
enum<string>

Required if status is set to canceled

Available options:
lost,
stolen
creditAccountId
string

The credit account _id. Required for canceled status only.

fundingSourceId
string

The funding source _id. Required if you wish to map card to an existing funding source.

metadata
string

The metadata object to attach to the card. Stored in key-value pair

spendingControls
object

Card spending controls. Default usage limits will be applied if non is provided.

Response

200 - application/json

The response is of type object.