Deus X Pay Trading API (1.1)

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.

Request / Response Format

Data

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.

Date format

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

Numerical precision

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.

Fiat Currency

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.:

  • $12353.22
  • $0.12

Digital Currency

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.:

  • ₿0.400213
  • Ξ20.342214

Pagination

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.

Error Handling

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.

Security

Authentication

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

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

Rate limits

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

Integration

Versioning

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

API Client Libraries are not currently available. These libraries will be made generally available for multiple languages in the future.

Notifications

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.

Orders

Make or Take trade Orders

List Orders

Get the list of open Orders

Authorizations:
API Key
query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "total": 35,
  • "size": 10,
  • "data": [
    ]
}

Make an Order

Create a new Order

Authorizations:
API Key
Request Body schema: application/json
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)

Responses

Request samples

Content type
application/json
{
  • "type": "sell",
  • "baseCurrency": "BTC",
  • "quoteCurrency": "USD",
  • "amount": 3,
  • "price": 7224.83,
  • "periodInDays": 7
}

Response samples

Content type
application/json
{
  • "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 Orders History

List your Trading History in chronological order

Authorizations:
API Key
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "total": 35,
  • "size": 10,
  • "data": [
    ]
}

Take an Order

Take an Order

Authorizations:
API Key
path Parameters
id
required
uuid

The ID of the Order

Request Body schema: application/json
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

Responses

Request samples

Content type
application/json
{
  • "amount": 2.5,
  • "price": 33560,
  • "takerFee": 34.12
}

Response samples

Content type
application/json
{
  • "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 an Order

Get the details of an Order – Only if the Order is open or you are either the maker or the taker

Authorizations:
API Key
path Parameters
id
required
uuid

The ID of the Order

Responses

Response samples

Content type
application/json
{
  • "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
}

Cancel an Order

Cancel an Order

Authorizations:
API Key
path Parameters
id
required
uuid

The ID of the Order

Responses

Response samples

Content type
application/json
{
  • "error": {
    }
}

Transactions

Transactions

List Transactions

Get the list of your Transactions

Authorizations:
API Key
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "total": 45,
  • "size": 10,
  • "data": [
    ]
}

Wallets

Wallets

List Deus X Pay Wallets

Get the list and details of your Wallets

Authorizations:
API Key
query Parameters
currencies
string (Currency)
Enum: "USD" "BTC" "ETH" "UST" "USC"
Example: currencies=BTC&currencies=ETH&currencies=UST&currencies=USD

Currencies

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List External Accounts

Get the list and details of your External Bank Accounts

Authorizations:
API Key

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Add an External Account

Add a new External Account

Authorizations:
API Key
Request Body schema: application/json
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

Responses

Request samples

Content type
application/json
{
  • "currency": "USD",
  • "alias": "My USD Account",
  • "bankName": "Prominence Financial",
  • "bankSwiftCode": "PRMFGB98XXX",
  • "bankAddress": "2 Guild Street, London N8 2GQ",
  • "holderName": "R J Jennings",
  • "accountNumber": "7289987413"
}

Response samples

Content type
application/json
{
  • "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"
}

List External Wallets

Get the list and details of your External Digital Wallets

Authorizations:
API Key
query Parameters
currencies
string (Currency)
Enum: "USD" "BTC" "ETH" "UST" "USC"
Example: currencies=BTC&currencies=ETH&currencies=UST&currencies=USD

Currencies

publicKey
string
Example: publicKey=15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy

Wallet Public Key (exact match)

alias
string
Example: alias=My BTC Wallet

Wallet Alias

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Add an External Wallet

Add a new External Digital Wallet

Authorizations:
API Key
Request Body schema: application/json
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

Responses

Request samples

Content type
application/json
{
  • "currency": "BTC",
  • "alias": "My BTC Wallet",
  • "publicKey": "15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy"
}

Response samples

Content type
application/json
{
  • "id": "387d1669-a4a5-4cf6-866d-8884272ea15a",
  • "currency": "BTC",
  • "alias": "My BTC Wallet",
  • "publicKey": "15hdnAWuJpAhstQTwvWZ5NF3C5e3AB5ooy"
}

Deposits

Deposits

List Deposits

Get the list of your Deposits

Authorizations:
API Key
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "total": 45,
  • "size": 10,
  • "data": [
    ]
}

Create a Deposit

Create a new Deposit

Authorizations:
API Key
Request Body schema: application/json
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

Responses

Request samples

Content type
application/json
{
  • "accountIdFrom": "9fb1a5c1-16c9-450a-91e9-1b8abb7eb76c",
  • "accountIdTo": "5f5c3665-3aa4-40e7-b51e-061123420ccc",
  • "amount": 50000
}

Response samples

Content type
application/json
{
  • "id": "60b072f4-a31b-41e9-9bad-db67e2e66e2e"
}

Get a Deposit

Get the details of a Deposit

Authorizations:
API Key
path Parameters
id
required
uuid

The ID of the Deposit

Responses

Response samples

Content type
application/json
{
  • "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": {
    }
}

Cancel a Deposit

Cancel a Deposit

Authorizations:
API Key
path Parameters
id
required
uuid

The ID of the Deposit

Responses

Response samples

Content type
application/json
{
  • "error": {
    }
}

Withdrawals

Withdrawals

List Withdrawals

Get the list of your Withdrawals

Authorizations:
API Key
query Parameters
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)

Responses

Response samples

Content type
application/json
{
  • "total": 45,
  • "size": 10,
  • "data": [
    ]
}

Create a Withdrawal

Create a new Withdrawal

Authorizations:
API Key
Request Body schema: application/json
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"

Responses

Request samples

Content type
application/json
{
  • "accountIdFrom": "5f5c3665-3aa4-40e7-b51e-061123420ccc",
  • "accountIdTo": "9fb1a5c1-16c9-450a-91e9-1b8abb7eb76c",
  • "amount": 50000,
  • "network": "BTC"
}

Response samples

Content type
application/json
{
  • "id": "60b072f4-a31b-41e9-9bad-db67e2e66e2e"
}

Get a Withdrawal

Get the details of a Withdrawal

Authorizations:
API Key

Responses

Response samples

Content type
application/json
{
  • "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": {
    }
}

Funds

Subscribe

Subscribe into a Fund

Authorizations:
API Key
Request Body schema: application/json
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

Responses

Request samples

Content type
application/json
{
  • "fund": "H20",
  • "currency": "USD",
  • "amount": 50000
}

Response samples

Content type
application/json
{
  • "id": "60b072f4-a31b-41e9-9bad-db67e2e66e2e"
}

List Pending Subscriptions

Get the list of your Pending Subscriptions

Authorizations:
API Key
query Parameters
fund
string
Value: "H20"
Example: fund=H20
currency
string
Value: "USD"
Example: currency=USD

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Redeem

Redeem from a Fund

Authorizations:
API Key
Request Body schema: application/json
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

Responses

Request samples

Content type
application/json
{
  • "fund": "H20",
  • "currency": "USD",
  • "units": 50000
}

Response samples

Content type
application/json
{
  • "id": "60b072f4-a31b-41e9-9bad-db67e2e66e2e"
}

List Pending Redemptions

Get the list of your Pending Redemptions

Authorizations:
API Key
query Parameters
fund
string
Value: "H20"
Example: fund=H20
currency
string
Value: "USD"
Example: currency=USD

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Order

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
}

Transaction

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
}

Wallet

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": {
    },
  • "linkedToExternalAccount": true,
  • "linkedExternalAccounts": [
    ],
  • "linkedWallets": [
    ],
  • "trustAccount": {
    }
}

External Digital Wallet

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"
}

External Bank Account

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"
}

Deposit or Withdrawal

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": {
    }
}