Get Order

Retrieve details of a specific order

GET
texttext
/api/v2/orders/:id

Retrieves full details of a specific order by its OZZOBiT order ID.

Path Parameters

idstringrequired
OZZOBiT order ID

Response Schema

idstring
Order ID
partnerOrderIdstring | null
Your reference ID
statusstring
Current status
productsAvailedstring
BUY | SELL | NFT
networkstring
Blockchain network
cryptoCurrencystring
Crypto code
fiatCurrencystring
Fiat code
fiatAmountnumber
Fiat amount
cryptoAmountnumber
Crypto amount
walletAddressstring
Destination/source wallet
transactionHashstring | null
On-chain tx hash
feeobject
Fee breakdown: networkFee, partnerFee, OZZOBiTFee, totalFee
paymentMethodstring
Payment method used
kycStatusstring
KYC status for this order
createdAtstring
Creation timestamp
completedAtstring | null
Completion timestamp

Example

jsonjson
GET /api/v2/orders/OZZOBiT-order-abc123
Authorization: Bearer TOKEN

// Response:
{
  "id": "OZZOBiT-order-abc123",
  "partnerOrderId": "ORDER-1705312345",
  "status": "COMPLETED",
  "productsAvailed": "BUY",
  "network": "ethereum",
  "cryptoCurrency": "ETH",
  "fiatCurrency": "USD",
  "fiatAmount": 100.00,
  "cryptoAmount": 0.045231,
  "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f8bD21",
  "transactionHash": "0xabc123...",
  "fee": { "networkFee": 0.83, "partnerFee": 1.00, "OZZOBiTFee": 3.99, "totalFee": 5.82 },
  "paymentMethod": "credit_debit_card",
  "kycStatus": "APPROVED",
  "createdAt": "2024-01-15T10:30:00Z",
  "completedAt": "2024-01-15T10:32:15Z"
}