v1
latestOpenAPI 3.0.12026-07-26106359429.8 KBCompliance
Activate a card
Beta: This endpoint is in beta and may change before general availability.
Transitions a card from inactive or closed to active status. Reactivating a closed card clears its closed_at and status_reason. A card that has been replaced (i.e., its ID has been referenced in the replacement_for field on a separate card) or has an expiry_date in the past cannot be reactivated.
Idempotency
The Idempotency-Key header is required.
post/v0/cards/{id}/activate
Path parameters
idstring required
The server-generated ID of the Card object.
Example:card_xyz123
The server-generated Card ID.
Headers
Idempotency-Keystring required
Unique key to ensure idempotent requests
Response
Card activated successfully.
Example response
{
"id": "card_xyz123",
"account_id": "account_xyz123",
"entity_id": "entity_xyz123",
"details": {
"last_four": "1234",
"replacement_for": "card_xyz123"
}
}