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

StatuserrorMeaning
403insufficient_scopeThis project key is not allowed to do that.
404checkout_not_foundNo card checkout session with that id.
503checkout_store_unavailableCould not load the card checkout status.

Related references

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