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

FieldTypeRequiredDescription
namestringyesCard display name, up to 80 characters.
cardholderIdstringyesDutch API cardholder ID returned by POST /v1/cards/users.
amountnumberyesPositive USD opening balance, up to 1,000,000.
colorstringnoOne of blue, black, purple, orange or yellow; defaults to blue.
planstringnoone_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

StatuserrorMeaning
400idempotency_key_requiredSend an Idempotency-Key header.
403insufficient_scopeThis project key is not allowed to do that.
402insufficient_fundsThe wallet balance is too low.
403limits_not_setNo live limit is enabled for this currency (Dashboard, Limits & safety).
400invalid_card_requestProvide a name, active cardholder ID and positive USD opening balance.
404cardholder_not_foundNo active cardholder with that ID belongs to this business.
422over_per_request_limitThe request exceeds a configured business limit.
503service_not_configuredThe card service is not connected for this business.

Related references

Browse the complete endpoint directory, the developer portal and the security and controls guide.