Download OpenAPI specification:Download
The Deus X Pay REST APIs are designed to allow access to certain features of the Deus X Pay Trading platform for our customers and partners to easily integrate their own systems such that they can take full advantage of our 24/7 OTC trading capabilities.
At the present time only approved users and partners will be provided with API access. To request API access please contact Deus X Pay Support.
The Deus X Pay API is a REST API. Where possible, the conventional HTTP verb is used for each operation:
Verb | Description |
---|---|
GET |
Retrieve or list resources |
POST |
Create resources - Also used to invoke actions |
PUT |
Replace an existing resource with a new value |
PATCH |
Update (merge) some fields of an existing resource |
DELETE |
Remove resources |
Only JSON-encoded requests will be processed. Clients should set application/json
as the value of the Content-Type header for each request.
Non zero-length responses will return either a JSON object or array. Zero-length responses will be accompanied by an HTTP 204 (No Content)
code.
All dates in the API use UTC and are strings in the ISO 8601 "combined date and time representation" format:
2020-01-02T03:04:05.067Z
Two fixed precision levels are used when referring to, or accepting input of currency values on Deus X Pay. This includes prices, balances, fees, trade values and deposit and withdrawal amounts.
All fiat currency values are represented with two (2) decimal places, except in the case of USDT orders the price can have up to five (5) decimal places.
E.g.:
All digital currency values are represented with six (6) decimal places. However some orders might restrict the precision of their amount to a value lower than 6 (as described in the "Orders" section of this document).
E.g.:
Endpoints that return paginated results take in offset
and limit
as query parameters e.g.:
?offset=60&limit=20
will return up to 20 items, starting from the 60th item
The default value of limit is 25
, and offset 0
Paginated responses will have the following body structure:
{
"total": 100,
"size": 20,
"data": [
{
...
},
...
]
}
Where total
is the total number of items matching the query, size
the number of items returned in the response, and data
the list of items.
When the HTTP response code is in the 4XX
or 5XX
range, the response body will contain an error
object with a string code
and usually an associated error message:
{
"error": {
"code": "some_error_code",
"message": "A description of the problem"
}
}
For error parsing, use the code
field value. The message text may change without notice. Additional error fields may be returned specific to the type of error.
All API requests are required to be authenticated via Bearer Authentication. The API Key must be provided in the Authorization HTTP header:
Authorization: Bearer [API_KEY]
If an API Key is not provided, the request will be rejected with an HTTP 401
code.
Permissions are defined for each individual API Key. Currently these are either Read Only or Read & Write permissions.
More granular permissions may be made available in a future version.
Operation | Read Only | Read & Write |
---|---|---|
List Orders | ✓ | ✓ |
Make an Order | ✓ | |
Take an Order | ✓ | |
Cancel an Order | ✓ | |
List Transactions | ✓ | ✓ |
List Deus X Pay Wallets | ✓ | ✓ |
List External Accounts | ✓ | ✓ |
Add an External Account | ✓ | |
List External Wallets | ✓ | ✓ |
Add an External Wallet | ✓ | |
List Deposits | ✓ | ✓ |
Create a Deposit | ✓ | |
Cancel a Deposit | ✓ | |
List Withdrawals | ✓ | ✓ |
Create a Withdrawal | ✓ |
HTTP Requests to the API will be rate limited. The rate limits apply to all requests and are measured per IP address.
When the request rate exceeds the rate limit
any further requests from the offending IP address will be blocked and return an HTTP 429
(TBC) response code for
the duration of the block period
. Once the block period
has expired the client will be able to resume requests as normal.
IP addresses that repeatedly violate the rate limits may be banned permanently.
Rate limit (request/sec) | Block period (sec) |
---|---|
TBC | TBC |
The API major version is included in the URL as the first path segment (https://api.deusxpay.com/trade /v1/).
Backwards compatible changes including the addition of new fields into existing objects of the published API or internal changes that do not affect the response structure will be made without incrementing the API major version.
Any changes to the existing API fields or structure will be published as a new major of the API with a different path segment (https://api.deusxpay.com/trade /v2/, /v3/, /v4/ etc...)
The previous major version(s) of the API will generally remain available concurrently with the newest version to ensure continuing compatability for existing integrations.
API Client Libraries are not currently available. These libraries will be made generally available for multiple languages in the future.
Client notifications (e.g. Websocket subscription/callback URL) are not currently available. Flexible notifcation options will be added for the APIs in an upcoming release.
Get the list of open Orders
baseCurrency | string (Digital Currency) Enum: "BTC" "ETH" "UST" "USC" The base currency (digital) |
quoteCurrency | string (Fiat Currency) Value: "USD" The quote currency (fiat) |
type | string Enum: "buy" "sell" The type of order (buy or sell) |
mineOnly | string Default: false Enum: true false Only return the order created by the user |
offset | integer >= 0 Default: 0 Query Offset |
limit | integer >= 1 Default: 25 Example: limit=25 Query Limit (maximum number of items returned) |
sortBy | string Default: "price" Enum: "amount" "expirationDate" "orderValue" "price" "reference" "creationDate" How the Orders should be sorted |
sortOrder | string Default: "asc" Enum: "asc" "desc" Sort Order: ascending or descending |
{- "total": 35,
- "size": 10,
- "data": [
- {
- "id": "a0f19607-a37a-4436-a971-67435c8d4ae0",
- "reference": "K3OKFTM15C",
- "mine": false,
- "status": "open",
- "type": "sell",
- "pendingFill": false,
- "baseCurrency": "BTC",
- "quoteCurrency": "USD",
- "amount": 3,
- "price": 7224.83,
- "precision": 5,
- "minAmount": 0.01,
- "orderValue": 21674.49,
- "expirationDate": "2020-02-25T03:27:34Z",
- "creationDate": "2020-02-18T03:27:34Z",
- "makerFee": 100,
- "takerFee": 0.5
}
]
}
Create a new Order
type required | string Enum: "sell" "buy" Type of the Order (buy or sell) |
baseCurrency required | string (Digital Currency) Enum: "BTC" "ETH" "UST" "USC" |
quoteCurrency required | string (Fiat Currency) Value: "USD" |
amount required | number > 0 The amount of Digital Currency to buy/sell |
price required | number > 0 The Fiat price of 1 unit of Digital Currency |
periodInDays | integer Enum: 1 7 30 180 Period (in days) the Order will remain open for acceptance (sell orders only) |
{- "type": "sell",
- "baseCurrency": "BTC",
- "quoteCurrency": "USD",
- "amount": 3,
- "price": 7224.83,
- "periodInDays": 7
}
{- "id": "a0f19607-a37a-4436-a971-67435c8d4ae0",
- "reference": "K3OKFTM15C",
- "mine": false,
- "type": "sell",
- "baseCurrency": "BTC",
- "quoteCurrency": "USD",
- "amount": 3,
- "price": 7224.83,
- "orderValue": 21674.49,
- "expirationDate": "2020-02-25T03:27:34Z",
- "creationDate": "2020-02-18T03:27:34Z",
- "upfrontFee": 0.0035,
- "makerFee": 0.0035
}
List your Trading History in chronological order
offset | integer >= 0 Default: 0 Query Offset |
limit | integer >= 1 Default: 25 Example: limit=25 Query Limit (maximum number of items returned) |
sortOrder | string Default: "asc" Enum: "asc" "desc" Sort Order: ascending or descending |
dateFrom | date Example: dateFrom=2020-01-15T06:00:00Z |
dateTo | date Example: dateTo=2020-02-15T06:00:00Z |
type | string Enum: "buy" "sell" The type of order (buy or sell) |
baseCurrency | string (Digital Currency) Enum: "BTC" "ETH" "UST" "USC" The base currency (digital) |
{- "total": 35,
- "size": 10,
- "data": [
- {
- "id": "a0f19607-a37a-4436-a971-67435c8d4ae0",
- "date": "2020-02-18T03:27:34Z",
- "reference": "K3OKFTM15C",
- "status": "done",
- "baseCurrency": "BTC",
- "quoteCurrency": "USD",
- "amount": 3,
- "price": 7224.83,
- "orderValue": 21674.49,
- "side": "sell",
- "makerFee": 100,
- "takerFee": 0.5
}
]
}
Take an Order
id required | uuid The ID of the Order |
amount required | number > 0 The amount of Digital Currency to take |
price | number > 0 (optional) The expected price of the order being taken: if the actual price is different from that expected one (e.g. it was updated just after the order was read), then the API will return an error |
takerFee | number > 0 (optional) The expected fee to be paid when taking this order: if the actual fee is different from this expected one, then the API will return an error instead |
{- "amount": 2.5,
- "price": 33560,
- "takerFee": 34.12
}
{- "id": "a0f19607-a37a-4436-a971-67435c8d4ae0",
- "reference": "K3OKFTM15C",
- "mine": false,
- "status": "open",
- "type": "sell",
- "pendingFill": false,
- "baseCurrency": "BTC",
- "quoteCurrency": "USD",
- "amount": 3,
- "price": 7224.83,
- "precision": 5,
- "minAmount": 0.01,
- "orderValue": 21674.49,
- "expirationDate": "2020-02-25T03:27:34Z",
- "creationDate": "2020-02-18T03:27:34Z",
- "makerFee": 100,
- "takerFee": 0.5
}
Get the details of an Order – Only if the Order is open or you are either the maker or the taker
id required | uuid The ID of the Order |
{- "id": "a0f19607-a37a-4436-a971-67435c8d4ae0",
- "reference": "K3OKFTM15C",
- "mine": false,
- "status": "open",
- "type": "sell",
- "pendingFill": false,
- "baseCurrency": "BTC",
- "quoteCurrency": "USD",
- "amount": 3,
- "price": 7224.83,
- "precision": 5,
- "minAmount": 0.01,
- "orderValue": 21674.49,
- "expirationDate": "2020-02-25T03:27:34Z",
- "creationDate": "2020-02-18T03:27:34Z",
- "makerFee": 100,
- "takerFee": 0.5
}
Get the list of your Transactions
types | string (TransactionType) Enum: "otcTrade" "deposit" "withdrawal" "feeOnCall" "feeMaker" "feeTaker" "feeEscrow" "feeCustody" Example: types=otcTrade&types=deposit&types=withdrawal Types of Transaction (comma separated list): Trade, Deposit or Withdrawal, Fee |
dateFrom | date Example: dateFrom=2020-01-15T06:00:00Z |
dateTo | date Example: dateTo=2020-02-15T06:00:00Z |
walletId | uuid Example: walletId=08acc7bd-ba8a-4836-8100-8b59fc0a0f4f Filter on the transactions of a wallet only |
sortBy | string Default: "date" Enum: "date" "reference" "amount" Example: sortBy=amount How the Transactions should be sorted |
sortOrder | string Default: "asc" Enum: "asc" "desc" Sort Order: ascending or descending |
offset | integer >= 0 Default: 0 Query Offset |
limit | integer >= 1 Default: 25 Example: limit=25 Query Limit (maximum number of items returned) |
{- "total": 45,
- "size": 10,
- "data": [
- {
- "id": "35313dda-476b-4682-8635-680d24622d2b",
- "reference": "EJSQRHN3KM",
- "date": "2020-02-25T03:27:34Z",
- "type": "otcTrade",
- "currency": "USD",
- "amountIn": 35,
- "amountOut": 0
}
]
}
Get the list and details of your Wallets
currencies | string (Currency) Enum: "USD" "BTC" "ETH" "UST" "USC" Example: currencies=BTC¤cies=ETH¤cies=UST¤cies=USD Currencies |
[- {
- "id": "237d33e0-2a01-4595-bc8b-d22978a75b08",
- "currency": "USD",
- "balances": {
- "total": 350,
- "custody": 150,
- "order": 100,
- "withdrawal": 10,
- "deposit": 30
}, - "linkedToExternalAccount": true,
- "linkedExternalAccounts": [
- {
- "id": "88967a5c-b7c4-4b39-8a3f-189730124fb6",
- "currency": "USD",
- "alias": "My USD Account",
- "bankName": "Prominence Financial",
- "bankSwiftCode": "PRMFGB98XXX",
- "bankAddress": "2 Guild Street, London N8 2GQ",
- "holderName": "R J Jennings",
- "accountNumber": "7289987413"
}
], - "linkedWallets": [
- {
- "id": "387d1669-a4a5-4cf6-866d-8884272ea15a",
- "currency": "BTC",
- "alias": "My BTC Wallet",
- "publicKey": "15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy"
}
], - "trustAccount": {
- "publicKey": "15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy",
- "bankName": "Arcadia Trust",
- "bankSwiftCode": "ARCTUS15XXX",
- "bankAddress": "3267 Duncan Avenue, New York NY 10011",
- "holderName": "OTC Deposits",
- "holderAddress": "9892 Financial Center Rd, Dubai, UAE",
- "accountNumber": "1772683839",
- "routingNumber": "029312989"
}
}
]
Get the list and details of your External Bank Accounts
[- {
- "id": "88967a5c-b7c4-4b39-8a3f-189730124fb6",
- "currency": "USD",
- "alias": "My USD Account",
- "bankName": "Prominence Financial",
- "bankSwiftCode": "PRMFGB98XXX",
- "bankAddress": "2 Guild Street, London N8 2GQ",
- "holderName": "R J Jennings",
- "accountNumber": "7289987413"
}
]
Add a new External Account
currency required | string (Fiat Currency) Value: "USD" |
alias required | string Alias of the Account |
bankName required | string Bank Name |
bankSwiftCode required | string Bank Swift Code |
bankAddress required | string Bank Address |
holderName required | string Account Holder name |
accountNumber required | string Account Number |
{- "currency": "USD",
- "alias": "My USD Account",
- "bankName": "Prominence Financial",
- "bankSwiftCode": "PRMFGB98XXX",
- "bankAddress": "2 Guild Street, London N8 2GQ",
- "holderName": "R J Jennings",
- "accountNumber": "7289987413"
}
{- "id": "88967a5c-b7c4-4b39-8a3f-189730124fb6",
- "currency": "USD",
- "alias": "My USD Account",
- "bankName": "Prominence Financial",
- "bankSwiftCode": "PRMFGB98XXX",
- "bankAddress": "2 Guild Street, London N8 2GQ",
- "holderName": "R J Jennings",
- "accountNumber": "7289987413"
}
Get the list and details of your External Digital Wallets
currencies | string (Currency) Enum: "USD" "BTC" "ETH" "UST" "USC" Example: currencies=BTC¤cies=ETH¤cies=UST¤cies=USD Currencies |
publicKey | string Example: publicKey=15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy Wallet Public Key (exact match) |
alias | string Example: alias=My BTC Wallet Wallet Alias |
[- {
- "id": "387d1669-a4a5-4cf6-866d-8884272ea15a",
- "currency": "BTC",
- "alias": "My BTC Wallet",
- "publicKey": "15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy"
}
]
Add a new External Digital Wallet
currency required | string (Digital Currency) Enum: "BTC" "ETH" "UST" "USC" |
alias required | string Alias of the Wallet |
publicKey required | string Public Key of the Wallet |
{- "currency": "BTC",
- "alias": "My BTC Wallet",
- "publicKey": "15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy"
}
{- "id": "387d1669-a4a5-4cf6-866d-8884272ea15a",
- "currency": "BTC",
- "alias": "My BTC Wallet",
- "publicKey": "15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy"
}
Get the list of your Deposits
dateFrom | date Example: dateFrom=2020-01-15T06:00:00Z |
dateTo | date Example: dateTo=2020-02-15T06:00:00Z |
walletId | uuid Example: walletId=08acc7bd-ba8a-4836-8100-8b59fc0a0f4f Filter on the transactions of a wallet only |
pendingOnly | string Default: false Enum: true false Only return the pending items |
sortBy | string Default: "creationDate" Enum: "creationDate" "reference" "amount" Example: sortBy=amount How the Pending Deposits should be sorted |
sortOrder | string Default: "des" Enum: "asc" "desc" Sort Order: ascending or descending |
offset | integer >= 0 Default: 0 Query Offset |
limit | integer >= 1 Default: 25 Example: limit=25 Query Limit (maximum number of items returned) |
{- "total": 45,
- "size": 10,
- "data": [
- {
- "id": "00e88e36-fa31-4dae-ab1b-f5a894b86a7f",
- "externalReference": "033851b6-1fbf-4549-b30e-891c7389aabe",
- "reference": "UBEQ3VT1IK",
- "creationDate": "2020-02-25T03:27:34Z",
- "currency": "USD",
- "network": "BTC",
- "amount": 35,
- "pending": true,
- "transactionHash": "6146ccf6a66d994f7c363db875e31ca35581450a4bf6d3be6cc9ac79233a69d0",
- "externalWallet": {
- "id": "6ca09038-cb86-404a-ac05-23a8d4d2d614",
- "alias": "My BTC Wallet"
}
}
]
}
Create a new Deposit
accountIdFrom required | string <uuid> ID of the External Account/Wallet |
accountIdTo required | string <uuid> ID of the Deus X Pay Account/Wallet |
amount required | number > 0 The amount of the Deposit |
{- "accountIdFrom": "9fb1a5c1-16c9-450a-91e9-1b8abb7eb76c",
- "accountIdTo": "5f5c3665-3aa4-40e7-b51e-061123420ccc",
- "amount": 50000
}
{- "id": "60b072f4-a31b-41e9-9bad-db67e2e66e2e"
}
Get the details of a Deposit
id required | uuid The ID of the Deposit |
{- "id": "00e88e36-fa31-4dae-ab1b-f5a894b86a7f",
- "externalReference": "033851b6-1fbf-4549-b30e-891c7389aabe",
- "reference": "UBEQ3VT1IK",
- "creationDate": "2020-02-25T03:27:34Z",
- "currency": "USD",
- "network": "BTC",
- "amount": 35,
- "pending": true,
- "transactionHash": "6146ccf6a66d994f7c363db875e31ca35581450a4bf6d3be6cc9ac79233a69d0",
- "externalWallet": {
- "id": "6ca09038-cb86-404a-ac05-23a8d4d2d614",
- "alias": "My BTC Wallet"
}
}
Get the list of your Withdrawals
dateFrom | date Example: dateFrom=2020-01-15T06:00:00Z |
dateTo | date Example: dateTo=2020-02-15T06:00:00Z |
walletId | uuid Example: walletId=08acc7bd-ba8a-4836-8100-8b59fc0a0f4f Filter on the transactions of a wallet only |
pendingOnly | string Default: false Enum: true false Only return the pending items |
sortBy | string Default: "creationDate" Enum: "creationDate" "reference" "amount" Example: sortBy=amount How the Pending Deposits should be sorted |
sortOrder | string Default: "des" Enum: "asc" "desc" Sort Order: ascending or descending |
offset | integer >= 0 Default: 0 Query Offset |
limit | integer >= 1 Default: 25 Example: limit=25 Query Limit (maximum number of items returned) |
{- "total": 45,
- "size": 10,
- "data": [
- {
- "id": "00e88e36-fa31-4dae-ab1b-f5a894b86a7f",
- "externalReference": "033851b6-1fbf-4549-b30e-891c7389aabe",
- "reference": "UBEQ3VT1IK",
- "creationDate": "2020-02-25T03:27:34Z",
- "currency": "USD",
- "network": "BTC",
- "amount": 35,
- "pending": true,
- "transactionHash": "6146ccf6a66d994f7c363db875e31ca35581450a4bf6d3be6cc9ac79233a69d0",
- "externalWallet": {
- "id": "6ca09038-cb86-404a-ac05-23a8d4d2d614",
- "alias": "My BTC Wallet"
}
}
]
}
Create a new Withdrawal
accountIdFrom required | string <uuid> ID of the Deus X Pay Account/Wallet |
accountIdTo required | string <uuid> ID of the External Account/Wallet |
amount required | number > 0 The amount of the Withdrawal |
network | string (Network) Enum: "BTC" "ETH" "BSC" "TRX" |
{- "accountIdFrom": "5f5c3665-3aa4-40e7-b51e-061123420ccc",
- "accountIdTo": "9fb1a5c1-16c9-450a-91e9-1b8abb7eb76c",
- "amount": 50000,
- "network": "BTC"
}
{- "id": "60b072f4-a31b-41e9-9bad-db67e2e66e2e"
}
{- "id": "00e88e36-fa31-4dae-ab1b-f5a894b86a7f",
- "externalReference": "033851b6-1fbf-4549-b30e-891c7389aabe",
- "reference": "UBEQ3VT1IK",
- "creationDate": "2020-02-25T03:27:34Z",
- "currency": "USD",
- "network": "BTC",
- "amount": 35,
- "pending": true,
- "transactionHash": "6146ccf6a66d994f7c363db875e31ca35581450a4bf6d3be6cc9ac79233a69d0",
- "externalWallet": {
- "id": "6ca09038-cb86-404a-ac05-23a8d4d2d614",
- "alias": "My BTC Wallet"
}
}
Subscribe into a Fund
fund required | string Value: "H20" Code of the Fund |
currency required | string Value: "USD" Currency of the amount of the Subscription |
amount required | number > 0 The amount of the Subscription |
{- "fund": "H20",
- "currency": "USD",
- "amount": 50000
}
{- "id": "60b072f4-a31b-41e9-9bad-db67e2e66e2e"
}
Get the list of your Pending Subscriptions
fund | string Value: "H20" Example: fund=H20 |
currency | string Value: "USD" Example: currency=USD |
[- {
- "id": "60b072f4-a31b-41e9-9bad-db67e2e66e2e",
- "reference": "EJSQRHN3KM",
- "creationDate": "2022-08-01T12:00:00Z",
- "fund": "H20",
- "currency": "USD",
- "amount": 50000
}
]
Redeem from a Fund
fund required | string Value: "H20" Code of the Fund |
currency required | string Value: "USD" Currency of the amount of the Redemption |
units | number > 0 The amount of the Redemption |
{- "fund": "H20",
- "currency": "USD",
- "units": 50000
}
{- "id": "60b072f4-a31b-41e9-9bad-db67e2e66e2e"
}
Get the list of your Pending Redemptions
fund | string Value: "H20" Example: fund=H20 |
currency | string Value: "USD" Example: currency=USD |
[- {
- "id": "60b072f4-a31b-41e9-9bad-db67e2e66e2e",
- "reference": "EJSQRHN3KM",
- "creationDate": "2022-08-01T12:00:00Z",
- "fund": "H20",
- "currency": "USD",
- "units": 50000
}
]
id | string <uuid> ID of the Order |
reference | string = 10 characters Reference of the Order |
mine | boolean Whether this Order has been created by the current user or not |
status | string Enum: "open" "done" "pending" "cancelled" The status of the order |
type | string Enum: "sell" "buy" Type of Order (buy or sell) |
pendingFill | boolean Whether the order is awaiting fill from a market counterparty to finalise its execution or not |
baseCurrency | string (Digital Currency) Enum: "BTC" "ETH" "UST" "USC" |
quoteCurrency | string (Fiat Currency) Value: "USD" |
amount | number > 0 The amount of Digital Currency to buy/sell |
price | number > 0 The Fiat price of 1 unit of Digital Currency |
precision | number The precision of the amount of Digital Currency that can be taken (e.g. up to 5 decimal places) |
minAmount | number The minimum amount of Digital Currency that can be taken (e.g. 0.01 BTC) |
orderValue | number > 0 The total value of the Order (amount * rate) in Fiat Currency |
expirationDate | datetime The expiration date of the Order |
creationDate | datetime The creation date of the Order |
makerFee | number > 0 Fee paid upfront by the maker, only available if you are the maker of this order (in crypto in the case of a sell order, in fiat in the case of a buy order) |
takerFee | number > 0 Fee paid by the taker after the order was taken, only available if you are the taker of this order (in crypto in the case of a sell order, in fiat in the case of a buy order) |
{- "id": "a0f19607-a37a-4436-a971-67435c8d4ae0",
- "reference": "K3OKFTM15C",
- "mine": false,
- "status": "open",
- "type": "sell",
- "pendingFill": false,
- "baseCurrency": "BTC",
- "quoteCurrency": "USD",
- "amount": 3,
- "price": 7224.83,
- "precision": 5,
- "minAmount": 0.01,
- "orderValue": 21674.49,
- "expirationDate": "2020-02-25T03:27:34Z",
- "creationDate": "2020-02-18T03:27:34Z",
- "makerFee": 100,
- "takerFee": 0.5
}
id | string <uuid> ID of the Transaction |
reference | string = 10 characters Reference of the Transaction |
date | datetime Date of the Transaction |
type | string (TransactionType) Enum: "otcTrade" "deposit" "withdrawal" "feeOnCall" "feeMaker" "feeTaker" "feeEscrow" "feeCustody" Type of Transaction: Trade, Deposit or Withdrawal, Fee |
currency | string (Currency) Enum: "USD" "BTC" "ETH" "UST" "USC" |
amountIn | number >= 0 The amount (in) of the Transaction |
amountOut | number >= 0 The amount (out) of the Transaction |
{- "id": "35313dda-476b-4682-8635-680d24622d2b",
- "reference": "EJSQRHN3KM",
- "date": "2020-02-25T03:27:34Z",
- "type": "otcTrade",
- "currency": "USD",
- "amountIn": 35,
- "amountOut": 0
}
id | string <uuid> ID of the Wallet |
currency | string (Currency) Enum: "USD" "BTC" "ETH" "UST" "USC" |
object | |
linkedToExternalAccount | boolean Whether this account is linked to at least on external bank account or not |
Array of objects (External Bank Account) | |
Array of objects (External Digital Wallet) | |
object Deus X Pay Account |
{- "id": "237d33e0-2a01-4595-bc8b-d22978a75b08",
- "currency": "USD",
- "balances": {
- "total": 350,
- "custody": 150,
- "order": 100,
- "withdrawal": 10,
- "deposit": 30
}, - "linkedToExternalAccount": true,
- "linkedExternalAccounts": [
- {
- "id": "88967a5c-b7c4-4b39-8a3f-189730124fb6",
- "currency": "USD",
- "alias": "My USD Account",
- "bankName": "Prominence Financial",
- "bankSwiftCode": "PRMFGB98XXX",
- "bankAddress": "2 Guild Street, London N8 2GQ",
- "holderName": "R J Jennings",
- "accountNumber": "7289987413"
}
], - "linkedWallets": [
- {
- "id": "387d1669-a4a5-4cf6-866d-8884272ea15a",
- "currency": "BTC",
- "alias": "My BTC Wallet",
- "publicKey": "15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy"
}
], - "trustAccount": {
- "publicKey": "15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy",
- "bankName": "Arcadia Trust",
- "bankSwiftCode": "ARCTUS15XXX",
- "bankAddress": "3267 Duncan Avenue, New York NY 10011",
- "holderName": "OTC Deposits",
- "holderAddress": "9892 Financial Center Rd, Dubai, UAE",
- "accountNumber": "1772683839",
- "routingNumber": "029312989"
}
}
id | string <uuid> ID of the Wallet |
currency | string (Digital Currency) Enum: "BTC" "ETH" "UST" "USC" |
alias | string Alias of the Wallet |
publicKey | string Public Key of the Wallet |
{- "id": "387d1669-a4a5-4cf6-866d-8884272ea15a",
- "currency": "BTC",
- "alias": "My BTC Wallet",
- "publicKey": "15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy"
}
id | string <uuid> ID of the External Account |
currency | string (Fiat Currency) Value: "USD" |
alias | string Alias of the Account |
bankName | string Bank Name |
bankSwiftCode | string Bank Swift Code |
bankAddress | string Bank Address |
holderName | string Account Holder name |
accountNumber | string Account Number |
{- "id": "88967a5c-b7c4-4b39-8a3f-189730124fb6",
- "currency": "USD",
- "alias": "My USD Account",
- "bankName": "Prominence Financial",
- "bankSwiftCode": "PRMFGB98XXX",
- "bankAddress": "2 Guild Street, London N8 2GQ",
- "holderName": "R J Jennings",
- "accountNumber": "7289987413"
}
id | string <uuid> ID of the Deposit/Withdrawal |
externalReference | string External Reference of the Deposit/Withdrawal set at creation (optional) |
reference | string = 10 characters Reference of the Deposit/Withdrawal |
creationDate | datetime Creation Date of the Deposit/Withdrawal |
currency | string (Currency) Enum: "USD" "BTC" "ETH" "UST" "USC" |
network | string (Network) Enum: "BTC" "ETH" "BSC" "TRX" |
amount | number >= 0 The amount of the Deposit/Withdrawal |
pending | boolean Whether the Deposit/Withdrawal is still pending (true) or has been processed (false) |
transactionHash | string Transaction Hash of the Deposit/Withdrawal on the blockchain (optional) |
object The External Account/Wallet used for this Deposit/Withdrawal (if any) |
{- "id": "00e88e36-fa31-4dae-ab1b-f5a894b86a7f",
- "externalReference": "033851b6-1fbf-4549-b30e-891c7389aabe",
- "reference": "UBEQ3VT1IK",
- "creationDate": "2020-02-25T03:27:34Z",
- "currency": "USD",
- "network": "BTC",
- "amount": 35,
- "pending": true,
- "transactionHash": "6146ccf6a66d994f7c363db875e31ca35581450a4bf6d3be6cc9ac79233a69d0",
- "externalWallet": {
- "id": "6ca09038-cb86-404a-ac05-23a8d4d2d614",
- "alias": "My BTC Wallet"
}
}