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
| Status | error | Meaning |
|---|---|---|
| 403 | insufficient_scope | This project key is not allowed to do that. |
| 404 | card_not_found | No card with that ID belongs to this business. |
| 503 | card_details_unavailable | Card details are temporarily unavailable. |