CARD PAYMENTS
List card payments (mock only)
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
limitintegeroptionalPage size, 1–100 (default 20).
offsetintegeroptionalNumber of records to skip (default 0).
statusstringoptionalpending, succeeded, failed or refunded.
searchstringoptionalSearch merchant reference, customer name or email.
startDatestringoptionalInclusive UTC day, YYYY-MM-DD.
endDatestringoptionalInclusive 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
| Status | error | Meaning |
|---|---|---|
| 403 | insufficient_scope | This project key is not allowed to do that. |
| 400 | invalid_payment_status | status must be one of the documented statuses. |
| 400 | invalid_date_range | Dates must use YYYY-MM-DD. |
| 503 | card_payments_not_available | Mock payment access is disabled. |
Updated 2026
Did this page help you?