Public developer API
POST /v1/cards
Issues a USD virtual card for an already verified cardholder and debits the opening balance plus the one-time issuance fee.
Access
A project-specific API key (Authorization: Bearer dapi_live_...) and its Business ID (X-Business-Id). Rate limited per business (120 calls a minute by default).
Requires an Idempotency-Key header.
Send an Idempotency-Key header. The request must be funded in USD; the endpoint does not convert other currencies.
The monthly plan requests provider-managed recurring billing at the published monthly rate; the recurring fee is not part of the initial wallet debit.
A 202 response means the outcome is being reconciled. Use the Dutch API transaction reference when contacting support.
Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | Card display name, up to 80 characters. |
cardholderId | string | yes | Dutch API cardholder ID returned by POST /v1/cards/users. |
amount | number | yes | Positive USD opening balance, up to 1,000,000. |
color | string | no | One of blue, black, purple, orange or yellow; defaults to blue. |
plan | string | no | one_time (default) or monthly; monthly cards use provider-managed recurring billing at the current published monthly rate. |
Example request
curl --request POST \
--url 'https://production.dutchapi.co/v1/cards' \
--header 'X-Business-Id: YOUR_BUSINESS_ID' \
--header 'Authorization: Bearer bsk_live_YOUR_BUSINESS_SECRET' \
--header 'Idempotency-Key: cards-0001' \
--header 'Content-Type: application/json' \
--data '{"name":"Operations","cardholderId":"YOUR_CARDHOLDER_ID","amount":25,"color":"blue","plan":"monthly"}'
Response 201
{
"data": {
"id": "card_7f1c2a",
"reference": "card_5ab4f0c12e11",
"status": "completed"
}
}
Errors
| Status | error | Meaning |
|---|---|---|
| 400 | idempotency_key_required | Send an Idempotency-Key header. |
| 403 | insufficient_scope | This project key is not allowed to do that. |
| 402 | insufficient_funds | The wallet balance is too low. |
| 403 | limits_not_set | No live limit is enabled for this currency (Dashboard, Limits & safety). |
| 400 | invalid_card_request | Provide a name, active cardholder ID and positive USD opening balance. |
| 404 | cardholder_not_found | No active cardholder with that ID belongs to this business. |
| 422 | over_per_request_limit | The request exceeds a configured business limit. |
| 503 | service_not_configured | The card service is not connected for this business. |