Withdraw
POST/otc/withdraw/
Withdraw liquid wrapped asset in native or fiat funds.
Request
- application/json
Body
Possible values: [crypto
, sepa
, swift
, us
]
required if destination_type
is 'crypto'
required if destination_type
is 'sepa' or 'swift'
required if destination_type
is 'sepa' or 'swift'
required if destination_type
is 'swift' or 'us'
required if destination_type
is 'us'
Responses
- 200
The order representing the withdraw.
- application/json
- Schema
- Example (from schema)
- Example
Schema
order object
Possible values: [WAITING_FOR_DEPOSIT
, DEPOSIT_RECEIVED
, DEPOSIT_CONFIRMED
, APPROVED
, COMPLETED
, CANCELED
, EXPIRED
, REJECTED
, REFUNDED
]
not null if from_asset
is 'crypto'
not null if from_asset
is 'fiat'
not null if from_asset
is 'fiat'
not null if from_asset
is 'fiat'
not null if from_asset
is 'EUR'
not null if from_asset
is 'EUR'
not null if from_asset
is 'fiat'
not null if from_asset
is 'fiat'
Possible values: [crypto
, sepa
, swift
, us
]
funding object
{
"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
}
}
{
"order": {
"id": "9fd91cf9-f219-41be-a803-c70a54e676a3",
"status": "WAITING_FOR_DEPOSIT",
"email": "user@example.com",
"created_at": "2023-12-01T11:29:37.532063Z",
"expires_at": "2023-11-08T16:34:30.532063Z",
"from_amount": 1.02443,
"from_asset": "ETHLV",
"to_asset": "EUR",
"deposit_crypto_address": "lq1qq0ndrfzyv869jxx4lgpnussm9cgyqttwzaqjz60ssyqptme7lf6p6yk3pscpef9ewwgcetg9cjcpc4shdyxcs3s5vetxa0sxw",
"destination_type": "sepa",
"destination_bank_address": "CH8589144511841869817",
"destination_bank_name": "John Doe"
}
}