Public developer API

GET /v1/cards/:id/details

Retrieves the full card number, expiry and security code for a card belonging to the authenticated business. Grant this scope only to trusted project keys.

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).

Example request

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

Response 200

{
  "data": {
    "number": "4111111111111234",
    "expiryMonth": "08",
    "expiryYear": "29",
    "cvv": "123"
  }
}

Errors

StatuserrorMeaning
403insufficient_scopeThis project key is not allowed to do that.
404card_not_foundNo card with that ID belongs to this business.
503card_details_unavailableCard details are temporarily unavailable.

Related references

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