Voucher or trading order info
GET/order/info/:id/
Get detailed info of your voucher or trading order.
Request
Path Parameters
id stringrequired
The id that identifies the placed order
Responses
- 200
The details of the order.
- application/json
- Schema
- Example (from schema)
- Example
Schema
order object
id string
status string
Possible values: [WAITING_FOR_DEPOSIT
, DEPOSIT_RECEIVED
, DEPOSIT_CONFIRMED
, APPROVED
, COMPLETED
, CANCELED
, EXPIRED
, REJECTED
, REFUNDED
]
email email
refund_crypto_address string
created_at string
expires_at string
confirmed_at string
approved_at string
completed_at string
deposit_crypto_address string
not null if from_asset
is 'crypto'
deposit_bank_address string
not null if from_asset
is 'fiat'
deposit_bank_name string
not null if from_asset
is 'fiat'
deposit_beneficiary string
not null if from_asset
is 'fiat'
deposit_beneficiary_address string
not null if from_asset
is 'EUR'
deposit_sepa_address string
not null if from_asset
is 'EUR'
deposit_swift_address string
not null if from_asset
is 'fiat'
deposit_swift_intermediary_address string
not null if from_asset
is 'fiat'
from_amount float
from_asset string
to_asset string
destination_type string
Possible values: [crypto
, sepa
, swift
, us
]
destination_crypto_address string
destination_bank_address string
destination_bank_name string
destination_bank_account_number string
destination_bank_routing_number string
funding object
txs undefined[]
deposit_amount float
trade object
from_amount float
from_asset string
to_amount float
to_asset string
fee_amount float
price float
timestamp string
{
"order": {
"id": "string",
"status": "WAITING_FOR_DEPOSIT",
"email": "user@example.com",
"refund_crypto_address": "string",
"created_at": "string",
"expires_at": "string",
"confirmed_at": "string",
"approved_at": "string",
"completed_at": "string",
"deposit_crypto_address": "string",
"deposit_bank_address": "string",
"deposit_bank_name": "string",
"deposit_beneficiary": "string",
"deposit_beneficiary_address": "string",
"deposit_sepa_address": "string",
"deposit_swift_address": "string",
"deposit_swift_intermediary_address": "string",
"from_amount": 0,
"from_asset": "string",
"to_asset": "string",
"destination_type": "crypto",
"destination_crypto_address": "string",
"destination_bank_address": "string",
"destination_bank_name": "string",
"destination_bank_account_number": "string",
"destination_bank_routing_number": "string",
"funding": {
"txs": [
null
]
},
"deposit_amount": 0
},
"trade": {
"from_amount": 0,
"from_asset": "string",
"to_amount": 0,
"to_asset": "string",
"fee_amount": 0,
"price": 0,
"timestamp": "string"
}
}
{
"order": {
"id": "498c5827-7ba9-449a-9215-21e3d88ec987",
"status": "COMPLETED",
"email": "user@example.com",
"refund_crypto_address": "bc1q7zp7qycuf0ukcgjs5nw8398cf3az64wn52lx2d",
"created_at": "2023-12-28T16:06:53.532063Z",
"confirmed_at": "2023-12-28T16:31:44.532063Z",
"approved_at": "2023-12-28T16:32:13.532063Z",
"completed_at": "2023-12-28T16:34:06.532063Z",
"deposit_crypto_address": "bc1q8u2y8r5r8a9p6vx3s3wz835zh6nxhdmd55lhhq",
"from_amount": 0.021,
"from_asset": "BTC",
"to_asset": "EUR",
"destination_type": "sepa",
"destination_bank_address": "CH8589144511841869817",
"destination_bank_name": "John Doe",
"funding": {
"txs": [
"d67de45a6529a21443f029f3973bbfef9056c2b676dc79673b57a6dcae66d20c"
]
},
"deposit_amount": 0.021
},
"trade": {
"from_amount": 0.021,
"from_asset": "BTC",
"to_amount": 0.4,
"to_asset": "EUR",
"fee_amount": 0.01,
"price": 18.97,
"timestamp": "2023-12-28T16:31:44.532063Z"
}
}
Loading...