Orders API
List Orders
Retrieve a paginated list of all orders.
Retrieve a paginated list of all orders for your merchant account. You can filter and search orders using query parameters.
GET https://api.uzoba.xyz/v1/orders
Request Headers
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer token for authentication |
Content-Type | string | Yes | Must be application/json |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
search | string | No | Search by order_id (case-insensitive) |
status | string | No | Filter by order status. Possible values: pending, confirming, paid, expired, failed, underpaid, reviewing, canceled |
page | integer | No | Page number for pagination (default: 1) |
per_page | integer | No | Number of items per page (default: 10, max: 100) |
Example Request
curl -X GET https://api.uzoba.xyz/api/v1/orders \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Example Response
{
"data": [
{
"order_id": "DQMPUQSC",
"amount": "600.00",
"amount_received": null,
"status": "canceled",
"currency": "USDT",
"network": "ETH",
"created_at": "2026-08-27T16:16:49.000000Z",
"confirmed_at": null,
"expires_at": "2026-08-27T16:36:49.000000Z",
"has_multiple_payments": false,
"payments": []
},
{
"order_id": "NZJPBG2Y",
"amount": "5.00",
"amount_received": "6.00",
"status": "paid",
"currency": "USDT",
"network": "ETH",
"created_at": "2026-08-25T11:39:20.000000Z",
"confirmed_at": "2026-08-25T11:43:04.000000Z",
"expires_at": "2026-08-25T12:00:47.000000Z",
"has_multiple_payments": true,
"payments": [
{
"tx_hash": "0xac34fbe86d087805e480d7f2b62fd3fa5d2162cc2c5e29a8334fd9c2b708392c",
"amount": "10.00",
"confirmations": 10,
"required_confirmations": 10,
"status": "confirmed",
"paid_at": "2026-08-25T10:57:24.000000Z",
"confirmed_at": "2026-08-25T10:58:03.000000Z",
"paid_by": "0x067f24F6CEa5676Ccb378dE12A07Dd155C666440",
"is_reorg_safe": true
},
{
"tx_hash": "0xac34fbe86d087805e480d7f2b62fd3fa5d2162cc2c5e29a8334fd9c2b708392b",
"amount": "10.00",
"confirmations": 10,
"required_confirmations": 10,
"status": "confirmed",
"paid_at": "2026-08-25T10:56:12.000000Z",
"confirmed_at": "2026-08-25T10:56:53.000000Z",
"paid_by": "0x067f24F6CEa5676Ccb378dE12A07Dd155C666440",
"is_reorg_safe": true
}
],
"address": "0xD402999a8cb2240B7587A6499046625FF984c6cC"
}
],
"meta": {
"current_page": 1,
"last_page": 5,
"per_page": 10,
"total": 45
}
}Response Fields
| Field | Type | Description |
|---|---|---|
data | array | Array of order objects |
meta | object | Pagination metadata |
Payment Object Fields
| Field | Type | Description |
|---|---|---|
tx_hash | string | The transaction hash on the blockchain |
amount | string | The payment amount |
confirmations | integer | Current number of confirmations |
required_confirmations | integer | Required confirmations for finalization |
status | string | Payment status. Possible values: pending, confirming, confirmed, failed |
paid_at | string | ISO 8601 timestamp when payment was received |
confirmed_at | string | ISO 8601 timestamp when payment was confirmed |
paid_by | string | The sender's wallet address |
is_reorg_safe | boolean | Whether the transaction is safe from chain reorganizations |
Pagination Meta Fields
| Field | Type | Description |
|---|---|---|
current_page | integer | The current page number |
last_page | integer | The total number of pages |
per_page | integer | Number of items per page |
total | integer | Total number of orders |