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

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token for authentication
Content-TypestringYesMust be application/json

Query Parameters

ParameterTypeRequiredDescription
searchstringNoSearch by order_id (case-insensitive)
statusstringNoFilter by order status. Possible values: pending, confirming, paid, expired, failed, underpaid, reviewing, canceled
pageintegerNoPage number for pagination (default: 1)
per_pageintegerNoNumber 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

FieldTypeDescription
dataarrayArray of order objects
metaobjectPagination metadata

Payment Object Fields

FieldTypeDescription
tx_hashstringThe transaction hash on the blockchain
amountstringThe payment amount
confirmationsintegerCurrent number of confirmations
required_confirmationsintegerRequired confirmations for finalization
statusstringPayment status. Possible values: pending, confirming, confirmed, failed
paid_atstringISO 8601 timestamp when payment was received
confirmed_atstringISO 8601 timestamp when payment was confirmed
paid_bystringThe sender's wallet address
is_reorg_safebooleanWhether the transaction is safe from chain reorganizations

Pagination Meta Fields

FieldTypeDescription
current_pageintegerThe current page number
last_pageintegerThe total number of pages
per_pageintegerNumber of items per page
totalintegerTotal number of orders