Public developer API
GET /v1/collections/card-checkout/:id
Returns the status and hosted URL for one card checkout session belonging to the authenticated organization. Refreshes an open payment through the authenticated status endpoint.
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/collections/card-checkout/ID' \
--header 'X-Business-Id: YOUR_BUSINESS_ID' \
--header 'Authorization: Bearer bsk_live_YOUR_BUSINESS_SECRET'
Response 200
{
"data": {
"id": "a0f2c5b4-7f6d-4c8f-a9f1-62aef8e734d1",
"object": "card_checkout",
"status": "processing",
"amount": 1000,
"currency": "GHS",
"fee": 25,
"netAmount": 975,
"checkoutUrl": "https://production.dutchapi.co/pay/long-secure-token",
"transactionId": "col_6d89d29c-4381-47ca-9be7-bb459a2f8f45",
"expiresAt": "2026-11-25T10:00:00.000Z"
}
}
Errors
| Status | error | Meaning |
|---|---|---|
| 403 | insufficient_scope | This project key is not allowed to do that. |
| 404 | checkout_not_found | No card checkout session with that id. |
| 503 | checkout_store_unavailable | Could not load the card checkout status. |