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
| Status | error | Meaning |
|---|
| 403 | insufficient_scope | This project key is not allowed to do that. |
| 404 | card_payment_not_found | No payment with that id belongs to this business. |
| 503 | card_payments_not_available | Mock payment access is disabled. |