API Referencev1.0
HomeLog inSign up
CARD PAYMENTS

List card payments (mock only)

GEThttps://production.dutchapi.co/v1/card-payments

Lists this business’s development-mode mock payment records. Supports pagination, status, date range and search filters.

🔒Send the project API key as a Bearer token and your Business ID with this call.

AVAILABLE ON 25 DECEMBER 2026. Before that date this route returns mock records only outside production when CARD_PAYMENTS_MODE=mock is enabled.

The /api/v1/card-payments compatibility prefix is also available.

Query Params

limitintegeroptional

Page size, 1–100 (default 20).

offsetintegeroptional

Number of records to skip (default 0).

statusstringoptional

pending, succeeded, failed or refunded.

startDatestringoptional

Inclusive UTC day, YYYY-MM-DD.

endDatestringoptional

Inclusive UTC day, YYYY-MM-DD.

Responses

{
  "object": "list",
  "total": 1,
  "mode": "mock",
  "liveProcessing": false,
  "data": [
    {
      "id": "cp_mock_4c8f70a64b22458c8de92f3a",
      "merchantReference": "order-1042",
      "amount": 25.5,
      "currency": "USD",
      "status": "pending",
      "mode": "mock",
      "liveProcessing": false
    }
  ]
}
{
  "error": "insufficient_scope",
  "message": "This project key is not allowed to do that."
}

Errors

StatuserrorMeaning
403insufficient_scopeThis project key is not allowed to do that.
400invalid_payment_statusstatus must be one of the documented statuses.
400invalid_date_rangeDates must use YYYY-MM-DD.
503card_payments_not_availableMock payment access is disabled.
Updated 2026
Did this page help you?