cURL
curl --request GET \ --url https://api.kyren.top/v1/orders/{id} \ --header 'x-api-key: <api-key>'
{ "code": 0, "message": "success", "data": { "id": "order_def456", "checkoutSessionId": "cs_xyz789", "productId": "prod_abc123", "customerEmail": "customer@example.com", "customerName": null, "amount": 9.99, "currency": "USD", "platformFee": 0.4, "paymentFee": 0.3, "netAmount": 9.29, "paymentMethod": "CREDIT_CARD", "paymentGateway": "allinpay", "gatewayOrderId": "gw_001", "gatewayTransactionId": "txn_001", "status": "PAID", "paidAt": "2026-01-15T10:35:00Z", "settledAt": null, "payerIp": "203.0.113.1", "metadata": { "userId": "user_456" }, "createdAt": "2026-01-15T10:30:00Z", "updatedAt": "2026-01-15T10:35:00Z" } }
Retrieves the full details of an existing order, including payment gateway information.
Your API key. Use kyren_live_* for production and kyren_test_* for testing.
kyren_live_*
kyren_test_*
The unique identifier of the resource
The order detail object
0
"success"
Show child attributes