Skip to main content
GET
/
v1
/
orders
Get All Orders
curl --request GET \
  --url https://api.chessa.ai/v1/orders
{
  "orders": [
    {
      "completedAt": "2025-03-15T14:15:22.456Z",
      "createdAt": "2025-03-15T12:30:45.123Z",
      "cryptoAmount": "0.05",
      "cryptoAsset": "BTC",
      "exchangeRate": "25000000",
      "fiatAmount": "1250000",
      "fiatCurrency": "NGN",
      "id": "ord_123456789abcdef",
      "recipientId": "rec_abcdef123456789",
      "status": "completed",
      "updatedAt": "2025-03-15T14:15:22.456Z",
      "userId": "usr_987654321fedcba"
    },
    {
      "completedAt": null,
      "createdAt": "2025-03-17T09:45:33.789Z",
      "cryptoAmount": "1.2",
      "cryptoAsset": "ETH",
      "exchangeRate": "1250000",
      "fiatAmount": "1500000",
      "fiatCurrency": "NGN",
      "id": "ord_abcdef123456789",
      "recipientId": "rec_123456789abcdef",
      "status": "processing",
      "updatedAt": "2025-03-17T10:22:15.321Z",
      "userId": "usr_987654321fedcba"
    }
  ],
  "pagination": {
    "page": 1,
    "pageSize": 10,
    "pages": 2,
    "total": 15
  }
}

Headers

x-client-id
string
Example:

""

x-client-secret
string
Example:

""

Response

Success Response

orders
object[]
Example:
[
{
"completedAt": "2025-03-15T14:15:22.456Z",
"createdAt": "2025-03-15T12:30:45.123Z",
"cryptoAmount": "0.05",
"cryptoAsset": "BTC",
"exchangeRate": "25000000",
"fiatAmount": "1250000",
"fiatCurrency": "NGN",
"id": "ord_123456789abcdef",
"recipientId": "rec_abcdef123456789",
"status": "completed",
"updatedAt": "2025-03-15T14:15:22.456Z",
"userId": "usr_987654321fedcba"
},
{
"completedAt": null,
"createdAt": "2025-03-17T09:45:33.789Z",
"cryptoAmount": "1.2",
"cryptoAsset": "ETH",
"exchangeRate": "1250000",
"fiatAmount": "1500000",
"fiatCurrency": "NGN",
"id": "ord_abcdef123456789",
"recipientId": "rec_123456789abcdef",
"status": "processing",
"updatedAt": "2025-03-17T10:22:15.321Z",
"userId": "usr_987654321fedcba"
}
]
pagination
object