Gravv DOCS
Docs Agent Get Started
API Reference Update card status

Update card status

Update the status of a card. You can freeze a card temporarily or block it permanently.

Status Options:

  • active: Card is active, and you can use it for transactions
  • freeze: Card is temporarily frozen, and you can't use it until you reactivate it by updating the status to active
  • blocked: Card is permanently blocked, and you can't reactivate it
PATCH/v1/cards/{card_id}/update

Path Parameters

The ID of the card to update

Request Body

New status for the card

Possible values: active, freeze, blocked

Optional spending limit for the card

Request Examples

{
"status": "freeze"
}
{
"status": "active"
}
{
"status": "blocked"
}

Responses

Status Description
200 Card status updated successfully
400 Invalid request
404 Card not found

200 response

Blockchain asset associated with the card

Blockchain network of the card

Currency of the card

Card ID

Updated card status

Possible values: active, freeze, blocked

Timestamp when the card was created

Timestamp when the card status was updated

Card expiry date

Masked Primary Account Number of the card

Name printed on the card

Card network

Proxy address associated with the card

400 response

Always null for error responses

Human-readable error message

{
"data": null,
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid status value. Must be one of: active, freeze, blocked",
"details": {}
}
}

404 response

Always null for error responses

Human-readable error message

{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Card not found",
"details": {}
}
}

Authorization

  • ApiKeyAuth
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.

Ask me anything about the documentation.

ESC