Public developer API

DELETE /v1/cards/:id

Permanently terminates a card belonging to the authenticated business.

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. Termination cannot be undone.

Example request

curl --request DELETE \
  --url 'https://production.dutchapi.co/v1/cards/ID' \
  --header 'X-Business-Id: YOUR_BUSINESS_ID' \
  --header 'Authorization: Bearer bsk_live_YOUR_BUSINESS_SECRET' \
  --header 'Idempotency-Key: cards-0001'

Response 200

{
  "data": {
    "id": "card_7f1c2a",
    "status": "terminated"
  }
}

Errors

StatuserrorMeaning
400idempotency_key_requiredSend an Idempotency-Key header.
403insufficient_scopeThis project key is not allowed to do that.
404card_not_foundNo card with that ID belongs to this business.
503card_operation_failedDutch API could not terminate this card.

Related references

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