List orders
Newest first, including orders from payment links (`kind` tells them apart). `next_cursor` is returned only on a full page.
Authorization
KeyID Timestamp Nonce Signature X-Gyvar-Key<token>
Your key id, gyv_k_live_... or gyv_k_sandbox_....
In: header
X-Gyvar-Timestamp<token>
Unix seconds. Must be within 5 minutes of our clock.
In: header
X-Gyvar-Nonce<token>
A unique value per request. Replays are rejected.
In: header
X-Gyvar-Signature<token>
Ed25519 signature over the canonical string. See the Signing guide.
In: header
Query Parameters
status?string
Filter to one status.
Value in
- "open"
- "paid"
- "underpaid"
- "closed"
- "cancelled"
- "expired"
- "failed"
- "refunded"
- "escalate"
created_from?string
Only orders created at or after this instant (RFC 3339).
Format
date-timecreated_to?string
Only orders created at or before this instant (RFC 3339).
Format
date-timelimit?integer
1 to 100. Defaults to 50.
Range
1 <= value <= 100cursor?string
The next_cursor from the previous page.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/checkout/orders"{ "data": [ { "id": "7b1f9a2c-4e5d-4a8b-9c3f-2d6e1a4b7c90", "status": "paid", "kind": "checkout", "reference": "order_1001", "description": "Order #1001 at Kente & Co", "amount": "125.50", "amount_minor": "12550", "currency": "GHS", "currency_decimals": 2, "settled": { "asset": "USDT", "chain": "tron", "network": "onchain", "quoted": "8.120000", "quoted_minor": "8120000", "received": "8.120000", "received_minor": "8120000" }, "late": false, "url": "https://pay.gyvar.com/chk_live_7b1f9a2c-4e5d-4a8b-9c3f-2d6e1a4b7c90", "success_url": "https://shop.example.com/checkout/thanks", "cancel_url": "https://shop.example.com/cart", "metadata": { "order_id": "1001" }, "expires_at": "2026-09-01T11:04:11Z", "paid_at": "2026-09-01T10:21:37Z", "created_at": "2026-09-01T10:04:11Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e" } ], "next_cursor": "MjAyNi0wOC0yOFQwOToxMjo0MFp8M2M4ZTFmMmEtNmI0ZC00ZTdhLTlmMWMtMGQyYjVhOGU3YzQx"}