Orders API

View Order

Retrieve details of a specific payment order.

Retrieve detailed information about a specific payment order, including its status, payment details, and transaction history.

GET https://api.uzoba.xyz/v1/orders/{order_id}

Path Parameters

ParameterTypeRequiredDescription
order_idstringYesThe unique identifier of the order (case-insensitive)

Request Headers

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

Example Request

curl -X GET https://api.uzoba.xyz/api/v1/orders/5HJGMEVB \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Info

The order_id is case-insensitive (e.g., 5HJGMEVB works the same as 5hjgmevb).

Example Response

{
  "data": {
    "order_id": "5HJGMEVB",
    "amount": "20.00",
    "amount_received": "20.00",
    "status": "paid",
    "currency": "USDT",
    "network": "ETH",
    "created_at": "2026-08-25T10:55:53.000000Z",
    "confirmed_at": "2026-08-25T10:58:03.000000Z",
    "expires_at": "2026-08-25T11:16:53.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": "0xAe2604CC444A849902Efc3Bc6B3B239A0884E639"
  }
}

Response Fields

FieldTypeDescription
addressstringThe deposit address
order_idstringThe unique order identifier
amountstringThe requested payment amount
amount_receivedstring | nullThe total amount received (null if none)
statusstringOrder status. Possible values: pending, confirming, paid, expired, failed, underpaid
currencystringThe payment currency
networkstringThe blockchain network
created_atstringISO 8601 timestamp of order creation
confirmed_atstring | nullISO 8601 timestamp when payment was confirmed
expires_atstringISO 8601 timestamp when the order expires
has_multiple_paymentsbooleanWhether multiple payments were received
paymentsarrayArray of payment objects

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

Note

  • The status field reflects the overall order status based on all payments.
  • Multiple payments can be made to the same order (see has_multiple_payments).
  • Each payment object includes detailed blockchain confirmation data.
  • The address field is the original deposit address for this order.