Deposit
POST/otc/deposit/
Deposit native or fiat funds for a liquid wrapped asset.
Request
- application/json
Body
from_asset stringrequired
to_asset stringrequired
email stringrequired
destination_address stringrequired
from_amount float
refund_address string
Responses
- 200
The order representing the deposit.
- 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
{
"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": "a0469fc1-0176-4dc1-95df-fd4cbd11d8ac",
"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": 150,
"from_asset": "EUR",
"to_asset": "L-BTC",
"deposit_sepa_address": "CH8589144511841869817",
"deposit_swift_address": "ABCDFRPP",
"deposit_swift_intermediary_address": "DEUTDEFF",
"deposit_bank_name": "Bank name",
"deposit_bank_address": "123 Main Street, CA 12345, Anytown, United Kingdom",
"deposit_beneficiary": "Beneficiary name",
"deposit_beneficiary_address": "Via Roma 1, 6830, Chiasso, Switzerland",
"destination_type": "crypto",
"destination_crypto_address": "lq1qqwrdmhm69vsq3qfym06tlyhfze9ltauay9tv4r34ueplfwtjx0q27dk2c4d3a9ms6wum04efclqph7dg4unwcmwmw4vnqreq3"
}
}
Loading...