latestOpenAPI 3.0.32026-08-106722.8 KB
7579ec027be7
Orders
Get order by id
Returns order details for the given order id.
get/v1/orders/{id}
Path parameters
idstring uuid required
Unique identifier of the order.
Response
Order details.
Example response
{
"orderId": "f41a3e45-6392-457c-8566-a282b5f3e177",
"externalReference": "your_order_id",
"subPartnerId": "your_sub_partner_id",
"orderType": "BUY",
"createdAt": "2024-10-01T12:00:00Z",
"orderState": "COMPLETED",
"orderStateUpdatedAt": "2024-10-01T13:00:00Z",
"paymentMethod": "CARD",
"inputCurrency": "USD",
"inputAmount": "100.00",
"outputCurrency": "BTC",
"outputAmount": "0.001",
"amountUsd": "100.00",
"processingFee": "1.00",
"processingFeeUsd": "1.00",
"partnerFee": "0.50",
"partnerFeeUsd": "0.50",
"networkFee": "1.50",
"networkFeeUsd": "1.50",
"userId": "2b6f0cc9-7b0c-4f3b-8f3b-6f0cc97b0c4f",
"targetWalletAddress": "bc1q897va9he4zcppqgp3h7ue8hj7448ra0mr6xqtu",
"transactionHash": "4b1549abe58cface17d400bf50ff0fe0c2e2ca8121f4e3764d807dc841a2ab80"
}