Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /api/v1/cards/status | Return the current card status |
GET | /api/v1/cards/details | Return masked details for the primary card |
POST | /api/v1/cards/lock | Temporarily block the primary card |
POST | /api/v1/cards/unlock | Reactivate a previously locked card |
PATCH | /api/v1/cards/limit | Update the primary card spending limit |
GET | /api/v1/cards/balance | Return the current balance by currency |
GET | /api/v1/cards/transactions | Return transaction history |
Important notes
x-idempotency-keyis required forlock,unlock, andlimit- Use a unique UUID per operation to prevent duplicate processing
- A card with status
canceledcannot be reactivated - If a card is
locked, secret endpoints such as PAN and CVC do not return data
Common errors
| HTTP status | Cause |
|---|---|
401 | Invalid or expired token |
404 | The authenticated user does not have a registered card |
409 | Duplicate idempotency key |