Search Payout details in pages
queryDate required | string <yyyy-MM-dd'T'HH:mm:ss.SSSZ> Example: queryDate=2020-01-02T03:04:05.123Z Client's current timestamp in UTC when the query is done |
payoutIds | string Example: payoutIds=00000000-0000-0000-0000-00000000000, 00000000-0000-0000-0000-00000000001 UUID string. List of payoutIds to query for |
references | Array of strings unique |
states | Array of strings unique Items Enum: "REQUESTED" "CREATE_FAILED" "CREATE_TIMEOUT" "CREATED" "COSIGNER_AUTHORIZATIONS_PENDING" "COSIGNER_AUTHORIZED" "CANCELLED" "AUTHORIZED" "SIGNING" "SENDING" "SENT" "COMPLETED" |
page | integer >= 0 Default: 0 Zero-based page index (0..N) |
size | integer >= 1 Default: 20 The size of the page to be returned |
sort | Array of strings Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
key required | string key of the client |
signature required | string Client signature for this request |
[- {
- "error": "string",
- "code": "CONFLICT_EXPIRED_XRATE",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
Create a Payout with first authorization
authorize | boolean Default: false Authorize payout |
key required | string key of the client |
signature required | string Client signature for this request |
username required | string |
otpCode | string Required if authorize parameter is true |
accountId required | string UUID string. ID of existing and enabled account |
reference required | string |
customerId | string |
callbackUrl required | string |
required | object (Money) |
destinationAddress required | string Supported address formats are P2PKH, P2SH and Bech32 (P2WPKH and P2WSH) for Bitcoin and address formats for Ethereum or Litecoin blockchains. This field is required only if the destinationAccountId field is not used |
destinationAccountId required | string UUID string. ID of existing destination account. This field is required only if the destinationAddress field is not used |
network required | string Target network for this payout, allowed values are: BITCOIN, ETHEREUM, LITECOIN |
verifyBalance | boolean True if the payout request must validate the available balance before processing |
feePolicy | string Enum: "SLOW" "NORMAL" "FAST" "CUSTOM" |
customFeeRate | integer Only for Bitcoin accounts. Desired custom fee rate, set in sat/vb. Requires feePolicy to be set as CUSTOM |
subtractFee | boolean Only for Bitcoin accounts. If true, the final amount sent will have the fee subtracted. |
useCoinConsolidation | boolean Only for Bitcoin accounts. If true, coin consolidation can be applied to this order. |
orderCodeName | string Debit order code name from the existing ones. |
generalLedgerName | string |
generalLedgerProject | string |
generalLedgerDistribution | string |
nonce required | integer <int64> |
{- "username": "string",
- "otpCode": "string",
- "accountId": "00000000-0000-0000-0000-00000000000",
- "reference": "string",
- "customerId": "string",
- "callbackUrl": "string",
- "requestedAmount": {
- "currency": "XBT",
- "amount": 0
}, - "destinationAddress": "0x23fac36e5cc087f08822cb927a61ad2ffff6c27b",
- "destinationAccountId": "00000000-0000-0000-0000-00000000000",
- "network": "BITCOIN",
- "verifyBalance": true,
- "feePolicy": "SLOW",
- "customFeeRate": 5,
- "subtractFee": true,
- "useCoinConsolidation": true,
- "orderCodeName": "string",
- "generalLedgerName": "string",
- "generalLedgerProject": "string",
- "generalLedgerDistribution": "string",
- "nonce": 0
}
[- {
- "error": "string",
- "code": "CONFLICT_EXPIRED_XRATE",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
Voids a Payout. Only valid for FORTRIS_BTC account's custody
payoutId required | string the id of the payout |
nonce required | integer <int64> the nonce |
key required | string key of the client |
signature required | string Client signature for this request |
[- {
- "error": "string",
- "code": "CONFLICT_EXPIRED_XRATE",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
Search Deposits details in pages
queryDate required | string <yyyy-MM-dd'T'HH:mm:ss.SSSZ> Example: queryDate=2020-01-02T03:04:05.123Z Client's current timestamp in UTC when the query is done |
depositIds | string Example: depositIds=00000000-0000-0000-0000-00000000000, 00000000-0000-0000-0000-00000000001 UUID string. List of depositIds to query for |
references | Array of strings unique |
states | Array of strings unique Items Enum: "REQUESTED" "CREATE_FAILED" "CREATE_TIMEOUT" "CREATED" "RECEIVING_FUNDS" "COMPLETED" "EXPIRED" "VOID" |
page | integer >= 0 Default: 0 Zero-based page index (0..N) |
size | integer >= 1 Default: 20 The size of the page to be returned |
sort | Array of strings Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
key required | string key of the client |
signature required | string Client signature for this request |
[- {
- "error": "string",
- "code": "CONFLICT_EXPIRED_XRATE",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
Create a Deposit
key required | string key of the client |
signature required | string Client signature for this request |
accountId required | string UUID string. Existing and enable Account id |
nonce required | integer <int64> |
reference required | string |
customerId | string |
callbackUrl | string |
expiryDate | string <date-time> Instant until the fixed exchange rate is valid, only used when requestedAmount is in FIAT currency. Format: ISO-8601 yyyy-MM-dd'T'HH:mm:ss.SSSZ |
network required | string Enum: "BITCOIN" "ETHEREUM" "LITECOIN" |
required | object (Money) |
{- "accountId": "00000000-0000-0000-0000-00000000000",
- "nonce": 0,
- "reference": "string",
- "customerId": "string",
- "callbackUrl": "string",
- "expiryDate": "2024-06-13T07:47:22.937Z",
- "network": "BITCOIN",
- "requestedAmount": {
- "currency": "XBT",
- "amount": 0
}
}
[- {
- "error": "string",
- "code": "CONFLICT_EXPIRED_XRATE",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
Voids a Deposit. Only valid for FORTRIS_BTC account's custody
depositId required | string the id of the deposit |
nonce required | integer <int64> the nonce |
key required | string key of the client |
signature required | string Client signature for this request |
[- {
- "error": "string",
- "code": "CONFLICT_EXPIRED_XRATE",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
Voids a payout
key required | string key of the client |
signature required | string Client signature for this request |
payoutId required | string UUID string. Id of the payout to void |
nonce required | integer <int64> |
{- "payoutId": "00000000-0000-0000-0000-00000000000",
- "nonce": 0
}
Get Payouts details in batch
key required | string key of the client |
signature required | string Client signature for this request |
queryDate required | string <date-time> Client's current timestamp when the query is done |
page | integer <int32> |
size | integer <int32> |
object | |
payoutIds | Array of strings unique UUID strings. |
references | Array of strings unique |
states | Array of strings unique Items Enum: "REQUESTED" "CREATE_FAILED" "CREATE_TIMEOUT" "CREATED" "COSIGNER_AUTHORIZATIONS_PENDING" "COSIGNER_AUTHORIZED" "CANCELLED" "AUTHORIZED" "SIGNING" "SENDING" "SENT" "COMPLETED" |
{- "queryDate": "2020-01-02T03:04:05.123Z",
- "page": 0,
- "size": 0,
- "sort": {
- "property1": "ASC",
- "property2": "ASC"
}, - "payoutIds": [
- "00000000-0000-0000-0000-00000000000"
], - "references": [
- "string"
], - "states": [
- "REQUESTED"
]
}
{- "filters": {
- "queryDate": "2020-01-02T03:04:05.123Z",
- "page": 0,
- "size": 0,
- "sort": {
- "property1": "ASC",
- "property2": "ASC"
}, - "payoutIds": [
- "00000000-0000-0000-0000-00000000000"
], - "references": [
- "string"
], - "states": [
- "REQUESTED"
]
}, - "results": {
- "totalPages": 0,
- "totalElements": 0,
- "first": true,
- "size": 0,
- "content": [
- {
- "payoutId": "00000000-0000-0000-0000-00000000000",
- "clientId": "5e505642-9024-474d-9434-e5a44f505cc5",
- "accountId": "00000000-0000-0000-0000-00000000000",
- "callbackUrl": "string",
- "reference": "string",
- "requestedAmount": {
- "currency": "XBT",
- "amount": 0
}, - "createdDate": "2019-08-24T14:15:22Z",
- "debitOrderAlphanumericId": "string",
- "destinationAddress": "string",
- "destinationAccountId": "00000000-0000-0000-0000-00000000000",
- "payoutState": "REQUESTED",
- "sentFunds": {
- "txHash": "string",
- "amount": {
- "currency": "XBT",
- "amount": 0
}, - "fee": {
- "currency": "XBT",
- "amount": 0
}, - "createdDate": "2019-08-24T14:15:22Z",
- "confirmedDate": "2019-08-24T14:15:22Z",
- "state": "UNCONFIRMED",
- "rate": {
- "rate": 0,
- "fromCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "toCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "measuredDate": "2020-01-22T17:10:54.269Z"
}, - "confirmations": 0,
- "transactionId": "string"
}, - "authorization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "PENDING",
- "cosignerAuthorizations": [
- {
- "state": "PENDING",
- "userGroupName": "string",
- "username": "string",
- "expire": "2019-08-24T14:15:22Z"
}
]
}, - "feePolicy": "SLOW",
- "customFeeRate": 0,
- "subtractFee": true,
- "useCoinConsolidation": true,
- "orderCodeName": "string",
- "generalLedgerName": "string",
- "generalLedgerProject": "string",
- "generalLedgerDistribution": "string",
- "batchingAllowed": true
}
], - "number": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "numberOfElements": 0,
- "last": true,
- "empty": true
}
}
Create a Payout v2
key required | string key of the client |
signature required | string Client signature for this request |
username required | string |
accountId required | string ID of existing and enabled account |
nonce required | integer <int64> |
reference required | string |
customerId | string |
callbackUrl required | string |
required | object (Money) |
destinationAddress required | string Supported address formats are P2PKH, P2SH and Bech32 (P2WPKH and P2WSH). This field is required only if the destinationAccountId field is not used |
destinationAccountId required | string UUID string. ID of existing destination account. This field is required only if the destinationAddress field is not used |
feePolicy | string Enum: "SLOW" "NORMAL" "FAST" "CUSTOM" |
customFeeRate | integer desired custom fee rate, set in sat/vb. Requires feePolicy to be set as CUSTOM |
otpCode required | string |
verifyBalance | boolean true if the payout request must validate the available balance before processing |
subtractFee | boolean if true, the final amount sent will have the fee subtracted. |
useCoinConsolidation | boolean if true, coin consolidation can be applied to this order. |
orderCodeName | string debit order code name from the existing ones. |
generalLedgerName | string |
generalLedgerProject | string |
generalLedgerDistribution | string |
batchingAllowed | boolean |
{- "username": "string",
- "accountId": "00000000-0000-0000-0000-00000000000",
- "nonce": 0,
- "reference": "string",
- "customerId": "string",
- "callbackUrl": "string",
- "requestedAmount": {
- "currency": "XBT",
- "amount": 0
}, - "destinationAddress": "13AWnGY7iptyMfKR2WzeebPiqwjALVDMZC",
- "destinationAccountId": "00000000-0000-0000-0000-00000000000",
- "feePolicy": "SLOW",
- "customFeeRate": 5,
- "otpCode": "string",
- "verifyBalance": true,
- "subtractFee": true,
- "useCoinConsolidation": true,
- "orderCodeName": "string",
- "generalLedgerName": "string",
- "generalLedgerProject": "string",
- "generalLedgerDistribution": "string",
- "batchingAllowed": true
}
{- "payoutId": "00000000-0000-0000-0000-00000000000"
}
Create a Payout and provide first authorization v2
key required | string key of the client |
signature required | string Client signature for this request |
username required | string |
accountId required | string ID of existing and enabled account |
nonce required | integer <int64> |
reference required | string |
customerId | string |
callbackUrl required | string |
required | object (Money) |
destinationAddress required | string Supported address formats are P2PKH, P2SH and Bech32 (P2WPKH and P2WSH). This field is required only if the destinationAccountId field is not used |
destinationAccountId required | string UUID string. ID of existing destination account. This field is required only if the destinationAddress field is not used |
feePolicy | string Enum: "SLOW" "NORMAL" "FAST" "CUSTOM" |
customFeeRate | integer desired custom fee rate, set in sat/vb. Requires feePolicy to be set as CUSTOM |
otpCode required | string |
verifyBalance | boolean true if the payout request must validate the available balance before processing |
subtractFee | boolean if true, the final amount sent will have the fee subtracted. |
useCoinConsolidation | boolean if true, coin consolidation can be applied to this order. |
orderCodeName | string debit order code name from the existing ones. |
generalLedgerName | string |
generalLedgerProject | string |
generalLedgerDistribution | string |
batchingAllowed | boolean |
{- "username": "string",
- "accountId": "00000000-0000-0000-0000-00000000000",
- "nonce": 0,
- "reference": "string",
- "customerId": "string",
- "callbackUrl": "string",
- "requestedAmount": {
- "currency": "XBT",
- "amount": 0
}, - "destinationAddress": "13AWnGY7iptyMfKR2WzeebPiqwjALVDMZC",
- "destinationAccountId": "00000000-0000-0000-0000-00000000000",
- "feePolicy": "SLOW",
- "customFeeRate": 5,
- "otpCode": "string",
- "verifyBalance": true,
- "subtractFee": true,
- "useCoinConsolidation": true,
- "orderCodeName": "string",
- "generalLedgerName": "string",
- "generalLedgerProject": "string",
- "generalLedgerDistribution": "string",
- "batchingAllowed": true
}
{- "payoutId": "00000000-0000-0000-0000-00000000000"
}
Create a Payout
key required | string key of the client |
signature required | string Client signature for this request |
username required | string |
accountId required | string ID of existing and enabled account |
nonce required | integer <int64> |
reference required | string |
customerId | string |
callbackUrl required | string |
required | object (Money) |
destinationAddress required | string Supported address formats are P2PKH, P2SH and Bech32 (P2WPKH and P2WSH). This field is required only if the destinationAccountId field is not used |
destinationAccountId required | string UUID string. ID of existing destination account. This field is required only if the destinationAddress field is not used |
feePolicy | string Enum: "SLOW" "NORMAL" "FAST" "CUSTOM" |
customFeeRate | integer desired custom fee rate, set in sat/vb. Requires feePolicy to be set as CUSTOM |
otpCode required | string |
verifyBalance | boolean true if the payout request must validate the available balance before processing |
subtractFee | boolean if true, the final amount sent will have the fee subtracted. |
useCoinConsolidation | boolean if true, coin consolidation can be applied to this order. |
orderCodeName | string debit order code name from the existing ones. |
generalLedgerName | string |
generalLedgerProject | string |
generalLedgerDistribution | string |
batchingAllowed | boolean |
{- "username": "string",
- "accountId": "00000000-0000-0000-0000-00000000000",
- "nonce": 0,
- "reference": "string",
- "customerId": "string",
- "callbackUrl": "string",
- "requestedAmount": {
- "currency": "XBT",
- "amount": 0
}, - "destinationAddress": "13AWnGY7iptyMfKR2WzeebPiqwjALVDMZC",
- "destinationAccountId": "00000000-0000-0000-0000-00000000000",
- "feePolicy": "SLOW",
- "customFeeRate": 5,
- "otpCode": "string",
- "verifyBalance": true,
- "subtractFee": true,
- "useCoinConsolidation": true,
- "orderCodeName": "string",
- "generalLedgerName": "string",
- "generalLedgerProject": "string",
- "generalLedgerDistribution": "string",
- "batchingAllowed": true
}
{- "payoutId": "00000000-0000-0000-0000-00000000000"
}
Create a Payout and provide first authorization
key required | string key of the client |
signature required | string Client signature for this request |
username required | string |
accountId required | string ID of existing and enabled account |
nonce required | integer <int64> |
reference required | string |
customerId | string |
callbackUrl required | string |
required | object (Money) |
destinationAddress required | string Supported address formats are P2PKH, P2SH and Bech32 (P2WPKH and P2WSH). This field is required only if the destinationAccountId field is not used |
destinationAccountId required | string UUID string. ID of existing destination account. This field is required only if the destinationAddress field is not used |
feePolicy | string Enum: "SLOW" "NORMAL" "FAST" "CUSTOM" |
customFeeRate | integer desired custom fee rate, set in sat/vb. Requires feePolicy to be set as CUSTOM |
otpCode required | string |
verifyBalance | boolean true if the payout request must validate the available balance before processing |
subtractFee | boolean if true, the final amount sent will have the fee subtracted. |
useCoinConsolidation | boolean if true, coin consolidation can be applied to this order. |
orderCodeName | string debit order code name from the existing ones. |
generalLedgerName | string |
generalLedgerProject | string |
generalLedgerDistribution | string |
batchingAllowed | boolean |
{- "username": "string",
- "accountId": "00000000-0000-0000-0000-00000000000",
- "nonce": 0,
- "reference": "string",
- "customerId": "string",
- "callbackUrl": "string",
- "requestedAmount": {
- "currency": "XBT",
- "amount": 0
}, - "destinationAddress": "13AWnGY7iptyMfKR2WzeebPiqwjALVDMZC",
- "destinationAccountId": "00000000-0000-0000-0000-00000000000",
- "feePolicy": "SLOW",
- "customFeeRate": 5,
- "otpCode": "string",
- "verifyBalance": true,
- "subtractFee": true,
- "useCoinConsolidation": true,
- "orderCodeName": "string",
- "generalLedgerName": "string",
- "generalLedgerProject": "string",
- "generalLedgerDistribution": "string",
- "batchingAllowed": true
}
{- "payoutId": "00000000-0000-0000-0000-00000000000"
}
Void a Deposit
key required | string key of the client |
signature required | string Client signature for this request |
depositId required | string UUID string. Id of the deposit to void |
nonce required | integer <int64> |
{- "depositId": "00000000-0000-0000-0000-00000000000",
- "nonce": 0
}
[- {
- "error": "string",
- "code": "CONFLICT_EXPIRED_XRATE",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
Search Deposits details in pages
key required | string key of the client |
signature required | string Client signature for this request |
queryDate required | string <date-time> Client's current timestamp when the query is done |
page | integer <int32> |
size | integer <int32> |
object | |
depositIds | Array of strings unique UUID strings |
references | Array of strings unique |
states | Array of strings unique Items Enum: "REQUESTED" "CREATE_FAILED" "CREATE_TIMEOUT" "CREATED" "RECEIVING_FUNDS" "COMPLETED" "EXPIRED" "VOID" |
{- "queryDate": "2020-01-02T03:04:05.123Z",
- "page": 0,
- "size": 0,
- "sort": {
- "property1": "ASC",
- "property2": "ASC"
}, - "depositIds": [
- "00000000-0000-0000-0000-00000000000"
], - "references": [
- "string"
], - "states": [
- "REQUESTED"
]
}
{- "filters": {
- "queryDate": "2020-01-02T03:04:05.123Z",
- "page": 0,
- "size": 0,
- "sort": {
- "property1": "ASC",
- "property2": "ASC"
}, - "depositIds": [
- "00000000-0000-0000-0000-00000000000"
], - "references": [
- "string"
], - "states": [
- "REQUESTED"
]
}, - "results": {
- "totalPages": 0,
- "totalElements": 0,
- "first": true,
- "size": 0,
- "content": [
- {
- "depositId": "00000000-0000-0000-0000-00000000000",
- "accountId": "00000000-0000-0000-0000-00000000000",
- "callbackUrl": "string",
- "reference": "string",
- "customerId": "string",
- "requestedAmountInFiat": {
- "currency": "XBT",
- "amount": 0
}, - "requestedAmountInCryptoAtFixedRate": {
- "currency": "XBT",
- "amount": 0
}, - "receiverAddress": "string",
- "verificationSignature": "string",
- "depositState": "REQUESTED",
- "createdDate": "2019-08-24T14:15:22Z",
- "expiryDate": "2019-08-24T14:15:22Z",
- "creditOrderId": "string",
- "creditOrderAlphanumericId": "string",
- "fixedExchangeRate": {
- "rate": 0,
- "fromCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "toCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "measuredDate": "2020-01-22T17:10:54.269Z"
}, - "receivedFunds": [
- {
- "txHash": "string",
- "amount": {
- "currency": "XBT",
- "amount": 0
}, - "createdDate": "2019-08-24T14:15:22Z",
- "confirmedDate": "2019-08-24T14:15:22Z",
- "state": "UNCONFIRMED",
- "rate": {
- "rate": 0,
- "fromCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "toCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "measuredDate": "2020-01-22T17:10:54.269Z"
}, - "transactionId": "string",
- "confirmations": 0
}
], - "duplicatedFromDepositId": "00000000-0000-0000-0000-00000000000"
}
], - "number": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "numberOfElements": 0,
- "last": true,
- "empty": true
}
}
Create a Deposit
key required | string key of the client |
signature required | string Client signature for this request |
accountId required | string UUID string. Existing and enable Account id |
nonce required | integer <int64> |
reference required | string |
customerId | string |
callbackUrl required | string |
expiryDate | string <date-time> End date for the range to include the transactions. Very important to follow ISO-8601 DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSZ. If present then requestedAmount will be mandatory |
object (Money) |
{- "accountId": "00000000-0000-0000-0000-00000000000",
- "nonce": 0,
- "reference": "string",
- "customerId": "string",
- "callbackUrl": "string",
- "expiryDate": "2020-01-02T03:04:05.123Z",
- "requestedAmount": {
- "currency": "XBT",
- "amount": 0
}
}
{- "depositId": "00000000-0000-0000-0000-00000000000"
}
Create a Deposit synchronously
key required | string key of the client |
signature required | string Client signature for this request |
accountId required | string UUID string. Existing and enable Account id |
nonce required | integer <int64> |
reference required | string |
customerId | string |
callbackUrl required | string |
expiryDate | string <date-time> End date for the range to include the transactions. Very important to follow ISO-8601 DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSZ. If present then requestedAmount will be mandatory |
object (Money) |
{- "accountId": "00000000-0000-0000-0000-00000000000",
- "nonce": 0,
- "reference": "string",
- "customerId": "string",
- "callbackUrl": "string",
- "expiryDate": "2020-01-02T03:04:05.123Z",
- "requestedAmount": {
- "currency": "XBT",
- "amount": 0
}
}
{- "depositId": "00000000-0000-0000-0000-00000000000",
- "accountId": "00000000-0000-0000-0000-00000000000",
- "callbackUrl": "string",
- "reference": "string",
- "customerId": "string",
- "requestedAmountInFiat": {
- "currency": "XBT",
- "amount": 0
}, - "requestedAmountInCryptoAtFixedRate": {
- "currency": "XBT",
- "amount": 0
}, - "receiverAddress": "string",
- "verificationSignature": "string",
- "depositState": "REQUESTED",
- "createdDate": "2019-08-24T14:15:22Z",
- "expiryDate": "2019-08-24T14:15:22Z",
- "creditOrderId": "string",
- "creditOrderAlphanumericId": "string",
- "fixedExchangeRate": {
- "rate": 0,
- "fromCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "toCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "measuredDate": "2020-01-22T17:10:54.269Z"
}, - "receivedFunds": [
- {
- "txHash": "string",
- "amount": {
- "currency": "XBT",
- "amount": 0
}, - "createdDate": "2019-08-24T14:15:22Z",
- "confirmedDate": "2019-08-24T14:15:22Z",
- "state": "UNCONFIRMED",
- "rate": {
- "rate": 0,
- "fromCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "toCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "measuredDate": "2020-01-22T17:10:54.269Z"
}, - "transactionId": "string",
- "confirmations": 0
}
], - "duplicatedFromDepositId": "00000000-0000-0000-0000-00000000000"
}
Given a list of accountIds returns the balance of each account in crypto and fiat currency. Fiat currency may not be present if at the time of the request the exchange rate is not available.
key required | string key of the client |
signature required | string Client signature for this request |
accountIds required | Array of strings unique UUID string. List of accountIds to query for |
queryDate required | string <date-time> Client's current timestamp when the query is done |
{- "accountIds": [
- "00000000-0000-0000-0000-00000000000",
- "00000000-0000-0000-0000-00000000001"
], - "queryDate": "2020-01-02T03:04:05.123Z"
}
{- "accountBalanceFiltersDto": {
- "accountIds": [
- "00000000-0000-0000-0000-00000000000",
- "00000000-0000-0000-0000-00000000001"
], - "queryDate": "2020-01-02T03:04:05.123Z"
}, - "balances": [
- {
- "accountId": "00000000-0000-0000-0000-00000000000",
- "fundsCanBeSpent": true,
- "btcBalance": {
- "total": {
- "currency": "XBT",
- "amount": 0
}, - "available": {
- "currency": "XBT",
- "amount": 0
}, - "confirmed": {
- "currency": "XBT",
- "amount": 0
}, - "unconfirmedReceived": {
- "currency": "XBT",
- "amount": 0
}, - "locked": {
- "currency": "XBT",
- "amount": 0
}, - "sentUnconfirmed": {
- "currency": "XBT",
- "amount": 0
}, - "selfUnconfirmedReceived": {
- "currency": "XBT",
- "amount": 0
}
}, - "fiatBalance": {
- "total": {
- "currency": "XBT",
- "amount": 0
}, - "available": {
- "currency": "XBT",
- "amount": 0
}, - "confirmed": {
- "currency": "XBT",
- "amount": 0
}, - "unconfirmedReceived": {
- "currency": "XBT",
- "amount": 0
}, - "locked": {
- "currency": "XBT",
- "amount": 0
}, - "sentUnconfirmed": {
- "currency": "XBT",
- "amount": 0
}, - "selfUnconfirmedReceived": {
- "currency": "XBT",
- "amount": 0
}
}, - "exchangeRate": {
- "rate": 0,
- "fromCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "toCurrency": {
- "currencyCode": "string",
- "defaultFractionDigits": 0,
- "numericCode": 0,
- "numericCodeAsString": "string",
- "displayName": "string",
- "symbol": "string"
}, - "measuredDate": "2020-01-22T17:10:54.269Z"
}
}
]
}
Given a list of accountIds returns the balance of each account in crypto and fiat currency. Non-existing accounts will be ignored and skipped in the response. Fiat currency may not be present if at the time of the request the exchange rate is not available.
accountIds required | string Example: accountIds=00000000-0000-0000-0000-00000000000, 00000000-0000-0000-0000-00000000001 UUID string. List of accountIds to query for |
queryDate required | string <yyyy-MM-dd'T'HH:mm:ss.SSSZ> Example: queryDate=2020-01-02T03:04:05.123Z Client's current timestamp in UTC when the query is done |
key required | string key of the client |
signature required | string Client signature for this request |
[- {
- "error": "string",
- "code": "CONFLICT_EXPIRED_XRATE",
- "timestamp": "2019-08-24T14:15:22Z"
}
]