get https://api.banxa.com/api/orders/
Retrieves details for single order that has been submitted
Response
When an order is successfully returned, you will receive the following:
Field | Description | Format |
---|---|---|
data.order.id | Unique ID of the order | string |
data.order.account_id | Account ID for the order | string |
data.order.account_reference | Account reference for the customer | string |
data.order.order_type | Order type indicated a Buy or a Sell cryptocurrency order | string |
data.order.payment_type | Payment Type that was used by the customer | string |
data.order.ref | Order Reference | number |
data.order.fiat_code | Fiat currency code | string |
data.order.fiat_amount | Fiat currency value for the order | decimal |
data.order.coin_code | Cryptocurrency code | string |
data.order.coin_amount | Cryptocurrency value for the order | decimal |
data.order.wallet_address | Cryptocurrency wallet address | string |
data.order.wallet_address_tag | Cryptocurrency wallet address tag (if required) | string |
data.order.blockchain | Blockchain network being used for the cryptocurrency | array |
data.order.blockchain.code | Blockchain code | string |
data.order.blockchain.description | Blockchain code full name | string |
data.order.fee | Order fee in fiat currency | decimal |
data.order.fee_tax | Tax charged on the payment fee in the fiat currency | decimal |
data.order.payment_fee | Payment fee in fiat currency | decimal |
data.order.payment_fee_tax | Tax charged on the payment fee in the fiat currency | decimal |
data.order.commission | Commission amount in the fiat currency | decimal |
data.order.tx_hash | Blockchain transaction hash | string |
data.order.tx_confirms | Number of blockchain confirmations | number |
data.order.created_at | Timestamp when order was created in UTC time | string |
data.order.created_date | Date when order was created in UTC time | string |
data.order.status | Current Status of the Order. See: Order Status | string |
data.order.merchant_fee | Merchant defined fee. Shown as null if not configured. | decimal |
data.order.meta_data | Returning meta data that was passed in the init order | string |
data.order.requested_fx | Data object that contains the converted fiat_amount. This is only added if fx_currency param is passed | array |
data.order.requested_fx.currency | The same value that was passed in fx_currency | string |
data.order.requested_fx.rate | Fx rate between the fiat_code and the fx_currency | decimal |
data.order.requested_fx.amount | Converted fiat_amount in the passed fx_currency | decimal |