API Reference
Set a card PIN
Sets a new PIN. Send 4 digits as a string. A weak PIN such as 1234 can be refused. This route needs no Idempotency-Key.
Path Parameters
ID of the card
Request Body
Request Examples
{
"card_pin": "4821"
}
Responses
| Status | Description |
|---|---|
200 |
The PIN is set |
400 |
The PIN is missing or was refused |
200 response
{
"data": "card pin updated successfully",
"error": null
}
400 response
What went wrong
{
"data": null,
"error": "card pin update failed"
}
Authorization
- ApiKeyAuth
Was this page helpful?