Skip to main content
GET
/
v1
/
orders
/
{id}
Retrieve an order
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"
  }
}

Authorizations

x-api-key
string
header
required

Your API key. Use kyren_live_* for production and kyren_test_* for testing.

Path Parameters

id
string
required

The unique identifier of the resource

Response

The order detail object

code
integer
Example:

0

message
string
Example:

"success"

data
object