Public developer API
POST /v1/cards/:id/fund
Funds an active card from the business USD wallet.
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. Card operations accept USD only and obey business limits. A 202 response means the outcome is being reconciled.
Body
| Field | Type | Required | Description |
|---|---|---|---|
amount | number | yes | Positive USD amount, up to 1,000,000. |
currency | string | no | USD only; defaults to USD. |
Example request
curl --request POST \
--url 'https://production.dutchapi.co/v1/cards/ID/fund' \
--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 '{"amount":25,"currency":"USD"}'
Response 201
{
"data": {
"reference": "cfund_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. |
| 400 | invalid_card_request | Enter a positive amount in USD. |
| 404 | card_not_found | No card with that ID belongs to this business. |
| 409 | card_not_active | Only an active card can be funded or withdrawn from. |
| 503 | service_not_configured | The card service is not connected for this business. |