Checkouty
Seznam checkoutů
GET
Checkouty e-shopu v režimu klíče, od nejnovějšího. Typicky pro dohledání checkoutu podle čísla objednávky.
secretKeyheader
AuthorizationBearer <sk_test_… / sk_live_…>Tajný API klíč e-shopu. Režim (test / live) se řídí klíčem.
externalOrderId?stringČíslo objednávky v e-shopu.
Délka
length <= 100status?stringFiltr podle stavu.
Value in
"PENDING""PARTIALLY_PAID""PAID""EXPIRED""CANCELLED""PAID_LATE""REVIEW_REQUIRED"limit?integerPočet záznamů (1–100).
Rozsah
1 <= value <= 100Výchozí
20Seznam checkoutů.
application/json- response
object*stringdata*array<>hasMore*booleantrue, pokud existují další záznamy nad limit.
curl -X GET 'https://api.scanpay.cz/ecommerce/v1/checkouts?externalOrderId=ORDER-2026-00125'Ukázková odpověď
{ "object": "list", "data": [ { "id": "string", "object": "checkout", "environment": "test", "livemode": true, "status": "PENDING", "externalOrderId": "string", "amount": "string", "currency": "string", "amountReceived": "string", "amountRemaining": "string", "overpaidAmount": "string", "returnUrl": "string", "metadata": { "property1": "string", "property2": "string" }, "paymentInstructions": { "attemptNumber": 0, "iban": "string", "amount": "string", "currency": "string", "variableSymbol": "string", "specificSymbol": "string", "spayd": "string", "expiresAt": "2019-08-24T14:15:22Z" }, "verification": { "status": "ACTIVE", "delayedSince": "2019-08-24T14:15:22Z" }, "eventVersion": 0, "expiresAt": "2019-08-24T14:15:22Z", "paidAt": "2019-08-24T14:15:22Z", "cancelledAt": "2019-08-24T14:15:22Z", "expiredAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "test": true, "checkoutUrl": "http://example.com" } ], "hasMore": true}