API Referencev1.0
HomeLog inSign up
CARD PAYMENTS

Retrieve a card payment (mock only)

GEThttps://production.dutchapi.co/v1/card-payments/{id}

Returns one business-scoped mock payment and its recorded event timeline.

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

AVAILABLE ON 25 DECEMBER 2026. The current development foundation never represents a mock payment as live processing.

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

Responses

{
  "id": "cp_mock_4c8f70a64b22458c8de92f3a",
  "object": "card_payment",
  "merchantReference": "order-1042",
  "amount": 25.5,
  "currency": "USD",
  "status": "pending",
  "customer": {
    "name": "Ada Example",
    "email": "ada@example.com"
  },
  "transactionId": null,
  "refundReference": null,
  "mode": "mock",
  "liveProcessing": false,
  "events": [
    {
      "id": "evt_cp_1",
      "type": "payment.created",
      "mode": "mock"
    },
    {
      "id": "evt_cp_2",
      "type": "payment.pending",
      "mode": "mock"
    }
  ]
}
{
  "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.
404card_payment_not_foundNo payment with that id belongs to this business.
503card_payments_not_availableMock payment access is disabled.
Updated 2026
Did this page help you?