Getting information about an order
Last updated
Last updated
The method allows you to get information on a previously created order by its identifier in the system
Public API-key
Signing the request body with a private API-key
Request content type
application/json
Order information request body
Order ID in the system
81b47dd6-b0b8-4f05-bcf8-ed58049aec5b
POST /api-gateway/order HTTP/1.1
Host: app.apollopayment.io
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"orderId": "81b47dd6-b0b8-4f05-bcf8-ed58049aec5b"
}
{
"success": true,
"response": {
"id": "81b47dd6-b0b8-4f05-bcf8-ed58049aec5b",
"currency": "USDT",
"network": "ethereum",
"status": "pending",
"orderId": "Order #123456",
"description": "Payment by order #123456",
"address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
"addressId": "c4179377-b199-455b-ab08-16c517bb3f1b",
"tag": null,
"amount": "123.12",
"received": "100.32",
"paymentTolerancePercent": "1.5",
"successWebhook": "https://merchant.domain/webhooks/success",
"errorWebhook": "https://merchant.domain/webhooks/fail",
"returnUrl": "https://merchant.domain/",
"link": "https://payment.domain/81b47dd6-b0b8-4f05-bcf8-ed58049aec5b",
"expiresAt": "2025-06-09T13:48:29.425Z",
"createdAt": "2025-06-09T13:18:29.425Z",
"updatedAt": "2025-06-09T13:18:29.425Z",
"transactions": [
{
"id": "1fed227c-5f6b-4ddc-ba56-3a7b474492db",
"status": "processed",
"currency": "USDT",
"network": "ethereum",
"amount": "100.32",
"tx": "0xb502e6ba8745a99f3484d75c027c55cacc26d6342b3a129f97d802899435ef12",
"confirmations": 1,
"sender": "0x00000005707bf50efa35a2db020ede9ac08ae226",
"priceUSD": "2000",
"amountUSD": "100"
}
],
"orphanDeposits": [
{
"id": "876d7547-9643-4d92-b503-5d40d29ad897",
"organizationId": "a68fa430-705f-4626-9da6-a6f6217d88db",
"orderId": "81b47dd6-b0b8-4f05-bcf8-ed58049aec5b",
"stage": "WITHDRAWAL",
"status": "PENDING",
"message": null,
"currency": "BUSD",
"network": "bsc",
"amount": "200",
"canWithdrawal": true,
"inTransaction": {
"addressType": "PAY_IN",
"addressId": "c4179377-b199-455b-ab08-16c517bb3f1b",
"address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
"txId": "0x123456...",
"amount": "200",
"status": "processed"
},
"outTransactions": {
"address": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
"txId": "0x123456...",
"amount": "200",
"status": "processed",
"feeAmount": "1.2",
"feeAmountUSD": "1.22",
"withdrawalId": "12e664e4-ad4c-4353-b7c8-68e1c176b766",
"createdAt": "2025-06-10T13:18:29.425Z"
},
"createdAt": "2025-06-09T13:18:29.426Z"
}
]
}
}