cURL
curl --request GET \ --url https://api.paycrest.io/v2/orders/{chain_id}/{id}
{ "status": "success", "message": "Operation successful", "data": { "orderId": "<string>", "amount": "<string>", "amountInUsd": "<string>", "token": "<string>", "network": "ethereum", "settlePercent": "<string>", "status": "<string>", "txHash": "<string>", "settlements": [ { "splitOrderId": "<string>", "amount": "<string>", "rate": "<string>", "orderPercent": "<string>" } ], "txReceipts": [ { "status": "<string>", "txHash": "<string>", "timestamp": "2023-11-07T05:31:56Z" } ], "updatedAt": "2023-11-07T05:31:56Z" } }
Retrieve the status of an order by its onchain Gateway ID and chain ID. Use this for smart contract integrations.
Order status
"success"
"Operation successful"
The actual response data (e.g., ReceiveAddressResponse, etc.)
Show child attributes