curl --request GET \
--url https://api.paycrest.io/v1/orders/{chain_id}/{id}
{
"status": "success",
"message": "Operation successful",
"data": {
"orderId": "<string>",
"amount": 123,
"token": "<string>",
"network": "base",
"settlePercent": 123,
"status": "<string>",
"txHash": "<string>",
"settlements": [
{
"splitOrderId": "<string>",
"amount": 123,
"rate": 123,
"orderPercent": 123
}
],
"txReceipts": [
{
"status": "<string>",
"txHash": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
],
"updatedAt": "2023-11-07T05:31:56Z"
}
}
curl --request GET \
--url https://api.paycrest.io/v1/orders/{chain_id}/{id}
{
"status": "success",
"message": "Operation successful",
"data": {
"orderId": "<string>",
"amount": 123,
"token": "<string>",
"network": "base",
"settlePercent": 123,
"status": "<string>",
"txHash": "<string>",
"settlements": [
{
"splitOrderId": "<string>",
"amount": 123,
"rate": 123,
"orderPercent": 123
}
],
"txReceipts": [
{
"status": "<string>",
"txHash": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
],
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Order status
The response is of type object
.