Balance list
This call allows you to get a list of crypto currencies balances. Further filtering for dedicated wallet specific balances is possible via the "Query" parameters section.
Authorizations:
query Parameters
| asset | uuid To be used alongside "wallet" parameter. This parameter takes an asset’s ID and isolates the results shown only to that asset |
| wallet | string This parameter takes a "dedicated wallet’s" address to return back the available balance only within that particular wallet. If utilized alongside "asset" will limit the results further to show only that particular asset’s balance within the dedicated wallet |
Responses
Response samples
- 200
{- "total": 0,
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string",
- "contract": "string",
- "decimals": 18,
- "network": "string"
}, - "available": "11466.994555",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "network": "string"
}
]
}Balance details
This call allows you to get the balance of a crypto currency.
Authorizations:
path Parameters
| id required | string This parameter, added as part of the URL, allows you to single out the desired balance you want information on. |
query Parameters
| network required | string This parameter, added as part of the query, allows you to indicate the desired network in which the balance is available. |
Responses
Response samples
- 200
- 400
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "total": "string",
- "available": "string",
- "deposit": "string",
- "withdraw": "string",
- "exchange": "string",
- "locked": "string",
- "blocked": "string",
- "withdrawFee": "string",
- "exchangeFee": "string",
- "networkFee": "string",
- "network": 123,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}Balance log list
This call allows you to get a list of logs of crypto currencies balances.
Authorizations:
Responses
Response samples
- 200
{- "total": 0,
- "data": [
- {
- "id": "377328cf-21a3-4bcf-b1c6-98137e2c37a2",
- "wallet": {
- "id": "ead69f53-6a79-4196-9b5f-22c1b0e41f06",
- "address": "0xA95454Ec7D8ad3DC9B8526F95ee0e4f418fD3d13",
- "createdAt": "2023-03-27T09:57:50+00:00"
}, - "transaction": {
- "tx": "0xf426c86a57c9e924f56faf26f45db2b5b2a4183811c8c9fb4cc0358f4ffdc666",
- "networkFee": "0.000210000000000000",
- "destinationAddress": "0xA95454Ec7D8ad3DC9B8526F95ee0e4f418fD3d13",
- "createdAt": "2023-03-27T12:41:38+00:00",
- "updatedAt": "2023-03-27T12:41:48+00:00",
- "id": "d4457b40-69fd-42f1-b4d9-ad12b618d522",
- "fee": "0.000726339658963996",
- "lease": {
- "id": "bbbe4b93-5fa4-452a-8a8c-2d1ccfb48105",
- "asset": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3"
}, - "address": "0xA95454Ec7D8ad3DC9B8526F95ee0e4f418fD3d13",
- "expires": "2023-03-27T13:11:37+00:00",
- "network": 120,
- "createdAt": "2023-03-27T12:41:37+00:00",
- "updatedAt": "2023-03-27T12:41:38+00:00"
}
}, - "asset": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3"
}, - "amount": "0.072633965896399621",
- "balanceBefore": "0.063385321808833923",
- "balanceAfter": "0.135292948046269548",
- "type": "DEPOSIT",
- "network": 120,
- "createdAt": "2023-03-27T12:41:48+00:00"
}
]
}Balance log details
This call allows you to get the logs of a crypto currencies balance.
Authorizations:
path Parameters
| id required | string <uuid> This parameter, added as part of the URL, allows you to single out the desired log's balance you want information on. |
query Parameters
| network required | string This parameter, added as part of the query, allows you to indicate the desired network where the log's balance is available. |
Responses
Response samples
- 200
{- "data": {
- "id": "377328cf-21a3-4bcf-b1c6-98137e2c37a2",
- "wallet": {
- "id": "ead69f53-6a79-4196-9b5f-22c1b0e41f06",
- "address": "0xA95454Ec7D8ad3DC9B8526F95ee0e4f418fD3d13",
- "createdAt": "2023-03-27T09:57:50+00:00"
}, - "transaction": {
- "tx": "0xf426c86a57c9e924f56faf26f45db2b5b2a4183811c8c9fb4cc0358f4ffdc666",
- "networkFee": "0.000210000000000000",
- "destinationAddress": "0xA95454Ec7D8ad3DC9B8526F95ee0e4f418fD3d13",
- "createdAt": "2023-03-27T12:41:38+00:00",
- "updatedAt": "2023-03-27T12:41:48+00:00",
- "id": "d4457b40-69fd-42f1-b4d9-ad12b618d522",
- "fee": "0.000726339658963996",
- "lease": {
- "id": "bbbe4b93-5fa4-452a-8a8c-2d1ccfb48105",
- "asset": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3"
}, - "address": "0xA95454Ec7D8ad3DC9B8526F95ee0e4f418fD3d13",
- "expires": "2023-03-27T13:11:37+00:00",
- "network": 120,
- "createdAt": "2023-03-27T12:41:37+00:00",
- "updatedAt": "2023-03-27T12:41:38+00:00"
}
}, - "asset": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3"
}, - "amount": "0.072633965896399621",
- "balanceBefore": "0.063385321808833923",
- "balanceAfter": "0.135292948046269548",
- "type": "DEPOSIT",
- "network": 120,
- "createdAt": "2023-03-27T12:41:48+00:00"
}
}Get callbacks url list
This call allows you to get the list of all callback urls (the configured urls where callbacks are received).
Authorizations:
Responses
Response samples
- 200
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "url": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}Create callback url
This call allows you to create a callback url (configure an url where callbacks are received).
Authorizations:
Request Body schema: application/x-www-form-urlencoded
| url | string This parameter allows you to indicate the url path to receive the callbacks. |
| active | boolean Default: true This parameter allows you to indicate if the callback url is active to receive callbacks or not. (it is active by default). |
Responses
Response samples
- 201
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "url": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}Update specific callback url
This call allows you to edit and change a callback url (configure a url to receive callbacks).
Authorizations:
path Parameters
| id required | string <uuid> This parameter allows you to indicate the unique code that identifies the callback url. |
Request Body schema: application/x-www-form-urlencoded
| url | string This parameter allows you to indicate the url path to receive the callbacks. |
| active | boolean Default: true This parameter allows you to indicate if the callback url is active to receive callbacks or not. (it is active by default). |
Responses
Response samples
- 200
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "url": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}Delete specific callback url
This call allows you to delete a callback url (a configured url where callbacks are received).
Note: callbacks are soft deleted to preserve log integrity
Authorizations:
path Parameters
| id required | string <uuid> This parameter allows you to indicate the unique code that identifies the callback url. |
Responses
List callbacks
This call allows you to get the list of all callbacks.
Authorizations:
query Parameters
| offset | integer >= 0 Default: 0 This parameter allows you to indicate in what position to start from the list. |
| limit | integer [ 0 .. 50 ] Default: 20 This parameter allows you to determine the amount of results per page. |
| status | string Enum: "QUEUED" "FAILED" "SUCCESS" This parameter allows you to filter the list by items status (queued, failed or success). |
Responses
Response samples
- 200
{- "count": 3,
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "scope": "DEPOSIT",
- "event": "CREATED",
- "payload": "{\"scope\":\"DEPOSIT\",\"event\":\"STATUS_UPDATED\",\"project\":\"1d6e80e6-6016-4736-90c4-9e047e00423a\",\"data\":{\"id\":\"b69f68a3-9e97-42b6-a728-1977f6841909\",\"asset\":{\"id\":\"c21f664c-d2a1-4b41-9564-25e3dcde497c\",\"name\":\"Litecoin Test\",\"symbol\":\"LTC_TEST\",\"displayName\":\"Litecoin Test\",\"displaySymbol\":\"LTC_TEST\",\"exchangeSymbol\":\"LTC\",\"type\":\"CRYPTO\",\"subType\":\"BASE_ASSET\",\"token\":false,\"contract\":null,\"nativeAsset\":\"LTC_TEST\",\"decimals\":8,\"network\":\"LTC_TEST\"},\"amount\":\"0.003424501459681069\",\"targetAmount\":null,\"wallet\":\"tltc1qar05t4myq978esl36mv7ca3c6czmzq57azymkz\",\"status\":\"PAID\",\"network\":\"LTC_TEST\",\"expireAt\":\"2023-06-20T08:58:50+00:00\",\"createdAt\":\"2023-06-20T08:28:50+00:00\",\"updatedAt\":[],\"operationLog\":{\"operationId\":\"b69f68a3-9e97-42b6-a728-1977f6841909\",\"refId\":\"4CEA649163424E46\",\"asset\":\"USDC_TEST3\",\"amount\":\"0.26424735458973054\",\"status\":\"SUCCESS\",\"subStatus\":null,\"createdAt\":\"20-06-2023 08:28:50\",\"clientEmail\":null,\"assetFrom\":\"LTC_TEST\",\"amountFrom\":\"0.003424501459681069\",\"children\":[]},\"toAsset\":{\"id\":\"585c16ca-d438-4ef6-bcd2-a6d5ff685af4\",\"name\":\"USD Coin Test (Goerli)\",\"symbol\":\"USDC_TEST3\",\"displayName\":\"USD Coin Test (Goerli)\",\"displaySymbol\":\"USDC_TEST3\",\"exchangeSymbol\":\"USDC\",\"type\":\"CRYPTO\",\"subType\":\"ERC20\",\"token\":true,\"contract\":\"0x07865c6E87B9F70255377e024ace6630C1Eaa37F\",\"nativeAsset\":\"ETH_TEST3\",\"decimals\":6,\"network\":\"ETH_TEST3\"}}}",
- "status": "QUEUED",
- "retries": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "url": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "url": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}, - {
- "id": "da94a6cc-ce61-46a5-a202-a1513ea53059",
- "project": "eb64e8ab-1b77-46f1-8832-656390775df5",
- "scope": "PAYOUT",
- "event": "STATUS_UPDATED",
- "payload": "{\"scope\":\"PAYOUT\",\"event\":\"STATUS_UPDATED\",\"project\":\"e4093193-fded-446a-81f7-5622e8f18d27\",\"data\":{\"amount\":\"1.000000000000000000\",\"id\":\"60347da7-5f1e-4df5-96fa-709d2a3f46b2\",\"createdAt\":\"2023-06-22T14:13:20+00:00\",\"updatedAt\":\"2023-06-22T14:13:26+00:00\"}}",
- "status": "QUEUED",
- "retries": 2,
- "createdAt": "2023-06-22T14:13:27+00:00",
- "url": {
- "id": "d67cfc97-a2a4-4ab0-95f8-8d51ea5782f0",
- "project": "e346d697-7df3-4d6e-802a-6ef0e75320d6",
- "active": true,
- "createdAt": "2023-06-12T20:00:41+00:00",
- "updatedAt": "2023-06-16T16:33:09+00:00"
}
}, - {
- "id": "e18e991b-a61d-4b22-bf17-e38efb98bb7e",
- "project": "449329be-1e53-4f9d-bc78-5c905dcfb5ba",
- "scope": "EXCHANGE",
- "event": "STATUS_UPDATED",
- "payload": "{\"scope\":\"EXCHANGE\",\"event\":\"STATUS_UPDATED\",\"project\":\"b27c56f5-faec-4dfc-b052-aba10e49ec22\",\"data\":{\"id\":\"b56316ee-0ffc-444a-a42b-0090cae8620e\",\"initiator\":\"MANUAL\",\"fromAsset\":{\"id\":\"0b47a85e-a66a-461c-bb1a-e818def2ff82\",\"name\":\"Ethereum Test (Goerli)\",\"symbol\":\"ETH_TEST3\",\"displayName\":\"Ethereum Test\",\"displaySymbol\":\"ETH_TEST\",\"exchangeSymbol\":\"ETH\",\"type\":\"CRYPTO\",\"subType\":\"BASE_ASSET\",\"token\":false,\"contract\":null,\"nativeAsset\":\"ETH_TEST3\",\"decimals\":18,\"network\":\"ETH_TEST3\"},\"toAsset\":{\"id\":\"585c16ca-d438-4ef6-bcd2-a6d5ff685af4\",\"name\":\"USD Coin Test (Goerli)\",\"symbol\":\"USDC_TEST3\",\"displayName\":\"USD Coin Test\",\"displaySymbol\":\"USDC_TEST\",\"exchangeSymbol\":\"USDC\",\"type\":\"CRYPTO\",\"subType\":\"ERC20\",\"token\":true,\"contract\":\"0x07865c6E87B9F70255377e024ace6630C1Eaa37F\",\"nativeAsset\":\"ETH_TEST3\",\"decimals\":6,\"network\":\"ETH_TEST3\"},\"fromAmount\":\"0.001000000000000000\",\"toAmount\":\"1.853773621693822884\",\"status\":\"SUCCESS\",\"createdAt\":\"2023-06-22T14:16:09+00:00\",\"updatedAt\":null}}",
- "status": "SUCCESS",
- "retries": 0,
- "createdAt": "2023-06-22T14:16:13+00:00",
- "url": {
- "id": "d67cfc97-a2a4-4ab0-95f8-8d51ea5782f0",
- "project": "75d4eb3f-b491-4763-acc3-054a5895e27b",
- "active": true,
- "createdAt": "2023-06-12T20:00:41+00:00",
- "updatedAt": "2023-06-16T16:33:09+00:00"
}
}
]
}Schedule to resend callbacks by id
This call allows you to try to resend a specific callback (by id).
Authorizations:
path Parameters
| id required | string This parameter displays the unique code that identifies the callback to resend. |
Responses
Response samples
- 200
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "scope": "DEPOSIT",
- "event": "CREATED",
- "status": "QUEUED",
- "retries": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "callback": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "url": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}List callback logs
This call allows you to list all callbacks.
Authorizations:
query Parameters
| offset | integer >= 0 Default: 0 This parameter allows you to indicate in what position to start from the list. |
| limit | integer [ 0 .. 50 ] Default: 20 This parameter allows you to determine the amount of results per page. |
Responses
Response samples
- 200
{- "count": 0,
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "responseCode": "string",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "createdAt": "2019-08-24T14:15:22Z",
- "callback": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "scope": "DEPOSIT",
- "event": "CREATED",
- "payload": "{\"scope\":\"DEPOSIT\",\"event\":\"STATUS_UPDATED\",\"project\":\"1d6e80e6-6016-4736-90c4-9e047e00423a\",\"data\":{\"id\":\"b69f68a3-9e97-42b6-a728-1977f6841909\",\"asset\":{\"id\":\"c21f664c-d2a1-4b41-9564-25e3dcde497c\",\"name\":\"Litecoin Test\",\"symbol\":\"LTC_TEST\",\"displayName\":\"Litecoin Test\",\"displaySymbol\":\"LTC_TEST\",\"exchangeSymbol\":\"LTC\",\"type\":\"CRYPTO\",\"subType\":\"BASE_ASSET\",\"token\":false,\"contract\":null,\"nativeAsset\":\"LTC_TEST\",\"decimals\":8,\"network\":\"LTC_TEST\"},\"amount\":\"0.003424501459681069\",\"targetAmount\":null,\"wallet\":\"tltc1qar05t4myq978esl36mv7ca3c6czmzq57azymkz\",\"status\":\"PAID\",\"network\":\"LTC_TEST\",\"expireAt\":\"2023-06-20T08:58:50+00:00\",\"createdAt\":\"2023-06-20T08:28:50+00:00\",\"updatedAt\":[],\"operationLog\":{\"operationId\":\"b69f68a3-9e97-42b6-a728-1977f6841909\",\"refId\":\"4CEA649163424E46\",\"asset\":\"USDC_TEST3\",\"amount\":\"0.26424735458973054\",\"status\":\"SUCCESS\",\"subStatus\":null,\"createdAt\":\"20-06-2023 08:28:50\",\"clientEmail\":null,\"assetFrom\":\"LTC_TEST\",\"amountFrom\":\"0.003424501459681069\",\"children\":[]},\"toAsset\":{\"id\":\"585c16ca-d438-4ef6-bcd2-a6d5ff685af4\",\"name\":\"USD Coin Test (Goerli)\",\"symbol\":\"USDC_TEST3\",\"displayName\":\"USD Coin Test (Goerli)\",\"displaySymbol\":\"USDC_TEST3\",\"exchangeSymbol\":\"USDC\",\"type\":\"CRYPTO\",\"subType\":\"ERC20\",\"token\":true,\"contract\":\"0x07865c6E87B9F70255377e024ace6630C1Eaa37F\",\"nativeAsset\":\"ETH_TEST3\",\"decimals\":6,\"network\":\"ETH_TEST3\"}}}",
- "status": "QUEUED",
- "retries": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "url": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
- "url": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}
]
}Deposit create
This call allows you to create a deposit with the desired amount and the desired cryptocurrency (asset).
Authorizations:
Request Body schema: application/x-www-form-urlencoded
| amount required | string^\d{1,18}(\.\d{1,18})?$ This parameter allows you to insert the desired amount to deposit. |
| asset | string <uuid> This parameter allows you to indicate the crypto currency in which the amount is deposited. The asset is provided by the unique code that identifies it (if you don't have the asset's code, contact our support). |
| externalId | string This parameter allows you to insert an Internal ID (from your own system) to better keep track of these operations. |
| qr | boolean Default: false This parameter (set as FALSE by default), if checked as TRUE, indicates that you want the base64 encoded qr code for this wallet to be included as part of the response so you can decode the base64 string and display it as data:image/png;base64). |
Responses
Request samples
- Payload
amount=10.12&asset=5a841cf2-3786-47ad-8831-36ccea9ed096
Response samples
- 200
- 500
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "amount": "10.10",
- "targetAmount": "string",
- "wallet": "string",
- "status": "PENDING",
- "network": "string",
- "expireAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "toAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}
}
}Deposit details
This call allows you to get the information on a specific deposit.
Authorizations:
path Parameters
| id required | string <uuid> This parameter allows you to insert the unique code and identifies the deposit you want to get the information. |
Responses
Response samples
- 200
- 404
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "amount": "10.10",
- "targetAmount": "string",
- "wallet": "string",
- "status": "PENDING",
- "network": "string",
- "expireAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "toAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}
}
}Update Deposit
This call allows you to add an external id to a deposit. Keep in mind that this is a one time operation and is only possible if it was null during deposit creation. After adding an externalID you can't change it again.
Authorizations:
path Parameters
| id required | string <uuid> This parameter allows you to insert the unique code and identifies the deposit you want to get the information. |
Request Body schema: application/json
| externalId | string This parameter allows you to insert an Internal ID (from your own system) to better keep track of these operations. |
Responses
Request samples
- Payload
{- "externalId": "string"
}Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "amount": "10.10",
- "targetAmount": "string",
- "wallet": "string",
- "status": "PENDING",
- "network": "string",
- "expireAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "toAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}
}Deposit details by Tx Hash
This call allows you to get the information on a specific deposit based off of it’s Tx Hash.
Authorizations:
path Parameters
| hash required | string This parameter allows you to insert the unique Tx Hash and identifies the deposit you want to get the information. |
Responses
Response samples
- 200
- 404
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "amount": "10.10",
- "targetAmount": "string",
- "wallet": "string",
- "status": "PENDING",
- "network": "string",
- "expireAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "toAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}
}
}Create an order with a deposit
This call allows you to create an order with a deposit.
Authorizations:
Request Body schema: application/x-www-form-urlencoded
| amount required | string^\d{1,18}(\.\d{1,18})?$ This parameter allows you to insert the desired amount to deposit. |
| asset required | string <uuid> This parameter allows you to indicate the crypto currency in which the amount is deposited. The asset is provided by the unique code that identifies it (if you don't have the asset's code, contact our support). |
| externalId | string This parameter allows you to insert an Internal ID (from your own system) to better keep track of these operations. |
| clientEmail required | string This parameter allows you to insert an Internal ID (from your own system) to better keep track of these operations. |
Responses
Response samples
- 200
- 500
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "amount": "10.10",
- "targetAmount": "string",
- "wallet": "string",
- "status": "PENDING",
- "network": "string",
- "expireAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "toAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}
}
}Create a deposit for the given order
This call allows you to create one more deposit address for the given order. Useful in case you have order in status UNDERPAID.
Authorizations:
path Parameters
| id required | string <uuid> This parameter allows you to insert the unique code and identifies the order. |
Request Body schema: application/json
| asset | string <uuid> This parameter displays the unique code that identifies the asset. |
Responses
Request samples
- Payload
{- "asset": "5a841cf2-3786-47ad-8831-36ccea9ed096"
}Response samples
- 200
- 500
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "amount": "10.10",
- "targetAmount": "string",
- "wallet": "string",
- "status": "PENDING",
- "network": "string",
- "expireAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "toAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}
}
}Exchange create
This call allows you to create an exchange operation between a specific crypto currency (with a determined amount) to another crypto currency.
Authorizations:
Request Body schema: application/x-www-form-urlencoded
| fromAsset required | string <uuid> This parameter allows you to determine the crypto currency from what the determined amount will be converted from. |
| toAsset required | string <uuid> This parameter allows you to determine the crypto currency to what the amount of the from crypto currency will be converted to. |
| amount required | string This parameter allows you to determine the amount of the crypto currency that will be converted into another crypto currency. |
| externalId | string This parameter allows you to insert an Internal ID (from your own system) to better keep track of these operations. |
| accountId | string <uuid> This parameter allows you to insert an Account ID if this operation is related to the Account. |
| freezeRateId | string <uuid> This parameter allows you to insert a freeze id provided by the /estimate endpoint. If a frozen exchange rate with such id exists, this exchange rate will be used instead of the current exchange rate. |
Responses
Response samples
- 201
- 400
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "initiator": "AUTO",
- "fromAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "toAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "fromAmount": "string",
- "toAmount": "string",
- "status": "FAILED",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
{- "count": 0,
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "initiator": "AUTO",
- "fromAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "toAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "fromAmount": "string",
- "toAmount": "string",
- "status": "FAILED",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}Exchange estimate
This call allows you to estimate the cost of an exchange with an amount of a crypto currency into another cryptocurrency and freeze the rate for 2 minutes.
Authorizations:
query Parameters
| fromAsset required | uuid This parameter allows you to determine the crypto currency from what the determined amount will be converted from. |
| toAsset required | uuid This parameter allows you to determine the crypto currency to what the amount of the from crypto currency will be converted to. |
| amount required | uuid This parameter allows you to determine the amount of the crypto currency that will be converted into another crypto currency. |
| freezeRate | boolean This parameter allows you to freeze the exchange rate you receive and use it in exchanges for the next 2 minutes. |
| freezeRateId | string This parameter allows you to check if a frozen exchange rate you estimated previously is still applicable. |
Responses
Response samples
- 200
- 400
{- "data": {
- "type": "exchange",
- "feeAmount": "0.010000000000000000",
- "feePercent": "1",
- "grossAmount": "1",
- "netAmount": "0.990000000000000000",
- "exchangeAmount": "0.06592806",
- "rate": "0.066594",
- "inverseRate": "15.016367840946631829"
}
}Exchange pairs list
This call allows you to get a list of all pairs of crypto currencies available for conversion.
Authorizations:
query Parameters
| offset | integer >= 0 Default: 0 This parameter allows you to indicate in what position to start from the list. |
| limit | integer [ 0 .. 50 ] Default: 20 This parameter allows you to determine the amount of results per page. |
Request Body schema: application/x-www-form-urlencoded
| fromAsset | string <uuid> This parameter displays the crypto currency to be converted from. |
| toAsset | string <uuid> This parameter displays the crypto currency to be converted to. |
| autoExchangeEnabled | boolean This parameter indicates if the from crypto currency and to crypto currency can be converted automatically. |
| enabled | boolean This parameter indicates if the from crypto currency and to crypto currency pair is available to be converted. |
Responses
Response samples
- 200
- 400
{- "data": [
- {
- "assetFrom": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}
}
]
}Exchange rate
This call allows you to get the rate of conversion between a pair of crypto currencies.
Authorizations:
query Parameters
| amount required | string This parameter allows you to determine the amount of the crypto currency that will be converted into another crypto currency. |
| fromAsset required | string <uuid> This parameter allows you to determine the crypto currency from what the determined amount will be converted from. |
| toAsset required | string <uuid> This parameter allows you to determine the crypto currency to what the amount of the from crypto currency will be converted to. |
| externalId | string This parameter allows you to insert an Internal ID (from your own system) to better keep track of these operations. |
| accountId | string <uuid> This parameter allows you to insert an Account ID if this operation is related to the Account. |
| freezeRateId | string <uuid> This parameter allows you to insert a freeze id provided by the /estimate endpoint. If a frozen exchange rate with such id exists, this exchange rate will be used instead of the current exchange rate. |
Responses
Response samples
- 200
- 400
{- "data": {
- "pair": "XRP/USDT",
- "rate": "5.228599426051655357"
}
}Exchange rates
This call allows you to get the rates for available assets. You can add several assets, inside an array, to get the rate for all at once.
Authorizations:
query Parameters
| assets | Array of strings <uuid> [ items <uuid > ] This parameter allows you to indicate the several assets for which you want to get the rates. |
Responses
Response samples
- 200
- 400
{- "data": {
- "BNB": {
- "source": "FineryMarkets",
- "date": "2024-11-20 09:23:08",
- "value": "615.32",
- "liquidity": "0.00"
}, - "ETH": {
- "source": "FineryMarkets",
- "date": "2024-11-20 09:23:08",
- "value": "3133.33",
- "liquidity": "0.00"
}, - "TON": {
- "source": "FineryMarkets",
- "date": "2024-11-20 09:23:08",
- "value": "5.4556",
- "liquidity": "0.00"
}, - "TRY": {
- "source": "FineryMarkets",
- "date": "2024-11-20 09:23:08",
- "value": "0.03",
- "liquidity": "0.00"
}, - "USDT": {
- "source": "FineryMarkets",
- "date": "2024-11-20 09:23:08",
- "value": "1.002",
- "liquidity": "0.00"
}
}
}Operation log
This call allows you to get the logs of operations.
Authorizations:
query Parameters
| offset | integer >= 0 Default: 0 This parameter allows you to indicate in what position to start from the list. |
| limit | integer [ 0 .. 50 ] Default: 20 This parameter allows you to determine the amount of results per page. |
cookie Parameters
string |
Request Body schema:
Operation list filter and order
| from | string <date> This parameter allows you to indicate the start date of the report time range. |
| to | string <date> This parameter allows you to indicate the end date of the report time range. |
| status | string Enum: "CREATED" "PENDING" "PROCESSING" "PAID" "UNDERPAID" "OVERPAID" "EXPIRED" "FAILED" "SUCCESS" "REFUNDED" "PARTIALLY_REFUNDED" "EXCHANGING" "EXCHANGE_FAILED" This paramater allows to indicate the operation status to be displayed (hiding all other statuses). |
| asset | string <uuid> This paramater allows to indicate the crypto currency used on the operation (hiding all other assets). |
| assetFrom | string <uuid> This parameter allows to indicate the crypto currency being exchanged or spent in the transaction. |
| type | string Enum: "DEPOSIT" "ORDER" "WITHDRAWAL" "EXCHANGE" "PAYOUT" This paramater allows to indicate the type of operation (hiding all other operation types). |
| order | string Enum: "ASC" "DESC" This paramater allows to indicate the way the list is displayed (ascending or desceding). |
| orderField | string Enum: "operationId" "asset" "createdAt" "clientEmail" "amount" "status" "type" This paramater allows to indicate the order to display the fields. |
| search | string This paramater allows to indicate the partial code of the redId to be displayed (hiding all entries whose refID does not match the partial code). |
| accounts | Array of strings <uuid> [ items <uuid > ] This paramater allows to filter by account ID. |
| orFilter[asset][] | Array of strings <uuid> [ items <uuid > ] This parameter allows to filer the results by multiple |
| orFilter[assetFrom][] | Array of strings <uuid> [ items <uuid > ] This parameter allows to filer the results by multiple |
Responses
Request samples
- Payload
from=2019-08-24&to=2019-08-24&status=CREATED&asset=5a841cf2-3786-47ad-8831-36ccea9ed096&type=DEPOSIT&order=ASC&orderField=operationId&search=string
Response samples
- 200
{- "total": 0,
- "data": [
- {
- "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
- "refId": "string",
- "asset": "string",
- "amount": "string",
- "status": "string",
- "subStatus": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "string",
- "clientEmail": "string",
- "assetFrom": "string",
- "amountFrom": "string",
- "children": [
- { }
], - "tx": "string",
- "context": { },
- "accountId": "string"
}
]
}Operation Details
This call returns the current state of an Operation, based on the given Reference ID.
Authorizations:
path Parameters
| id required | string |
Responses
Response samples
- 200
- 404
{- "data": [
- {
- "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
- "refId": "string",
- "asset": "string",
- "amount": "string",
- "status": "string",
- "subStatus": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "string",
- "clientEmail": "string",
- "assetFrom": "string",
- "amountFrom": "string",
- "children": [
- { }
], - "tx": "string",
- "context": { },
- "accountId": "string"
}
]
}Asset list
This call allows you to get the list of available assets based on the list of assets configured on your account.
Authorizations:
query Parameters
| active | boolean This parameter allows you to filter the list by active, inactive or all crypto currencies. |
| type | string Enum: "CRYPTO" "FIAT" Determines which type of assets should be displayed in the response, if no value is given, the default is all asset types. |
Responses
Response samples
- 200
{- "data": [
- {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "network": "ETH_TEST3",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3",
- "contract": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
- "decimals": 6,
- "active": true
}
]
}Asset details
This call allows you to get information on a specific asset.
Authorizations:
path Parameters
| id required | string <uuid> This parameter, added as part of the URL, allows you to single out the desired crypto currency you want information on. |
Responses
Response samples
- 200
- 404
{- "data": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "network": "ETH_TEST3",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3",
- "contract": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
- "decimals": 6,
- "active": true
}
}Asset enable
This call allows you to enable a disabled crypto currency on your account.
Authorizations:
path Parameters
| id required | string <uuid> This parameter, added as part of the URL, allows you to single out the desired crypto currency you want information on. |
Responses
Response samples
- 201
- 400
{- "data": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "network": "ETH_TEST3",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3",
- "contract": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
- "decimals": 6,
- "active": true
}
}Asset disable
This call allows you to disable an active crypto currency on your account.
Authorizations:
path Parameters
| id required | string <uuid> This parameter, added as part of the URL, allows you to single out the desired crypto currency you want information on. |
Responses
Response samples
- 200
- 400
{- "data": {
- "asset": "5a841cf2-3786-47ad-8831-36ccea9ed096"
}
}Auto exchange list
This call allows you to get the list of auto exchange pairs
Authorizations:
Responses
Response samples
- 200
{- "data": [
- {
- "fromAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "toAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
]
}Enable auto exchange
This call allows you to enable a disabled crypto currencies pair auto exchange on your account.
Authorizations:
Request Body schema: application/x-www-form-urlencoded
| fromAsset required | string <uuid> |
| toAsset required | string <uuid> |
Responses
Response samples
- 200
- 400
{- "data": {
- "fromAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "toAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
}Disable auto exchange
This call allows you to disable an active crypto currencies pair auto exchange on your account.
Authorizations:
Responses
Response samples
- 200
- 400
{- "data": {
- "fromAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "toAsset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
}Reporting create
This call allows you to generate reports. The generated report link is sent to the current user's email address.
Authorizations:
Request Body schema: application/x-www-form-urlencoded
| from | string <date> This parameter allows you to indicate the start date of the report time range. |
| to | string <date> This parameter allows you to indicate the end date of the report time range. |
| status | string Enum: "CREATED" "PENDING" "PROCESSING" "PAID" "UNDERPAID" "OVERPAID" "EXPIRED" "FAILED" "SUCCESS" "REFUNDED" "PARTIALLY_REFUNDED" "EXCHANGING" This parameter allows you to indicate the status to filter the report (CREATED, PENDING, PROCESSING, PAID, UNDERPAID, OVERPAID, EXPIRED, FAILED, SUCCESS, REFUNDED, PARTIALLY_REFUNDED, or EXCHANGING). Leaving the filed empty generates a report with all statuses. |
| asset | string <uuid> This parameter allows you to indicate the crypto currency to filter the report. Leaving the field empty generates a report with all assets. |
| order | string This parameter allows you to indicate the order to filter the report. |
| type | string Enum: "DEPOSIT" "ORDER" "WITHDRAWAL" "EXCHANGE" "PAYOUT" This parameter allows you to indicate thetype to filter the report (DEPOSIT, WITHDDRAWAL, EXCHANGE, or PAYOUT). Leaving the field empty generates a report with all assets. |
| orderField | string This parameter allows you to indicate the order field to filter the report. |
| reportFormat | string Enum: "Xlsx" "Xls" "Csv" This parameter allows you to indicate the format to generate the report (XLXS, XLS, or CSV). |
Responses
Response samples
- 400
{- "code": -100,
- "msg": "Request data is invalid"
}Create an Order
Authorizations:
Request Body schema: application/x-www-form-urlencoded
| name required | string This parameter displays the name given to the payment link. |
| description required | string This parameters displays the description given to the payment link's target. |
| amount required | string This parameter displays the amount associated to the order. If left empty, any amount deposited will change the Order to “PAID” |
| asset required | string <uuid> The unique code that identifies the desired asset you want to be the cryptocurrency associated with the Order. Full list of assets will be given to you by Coinsflow integration manager. |
| clientEmail | string <string> This parameter displays the email address of the client involved in the transaction. It is optional. |
| externalId | string <string> Allows you to insert an Internal ID (from your own system) to better keep track of these operations. |
| expirationDate | string <date> This parameter sets the date and time until then the client is allowed to follow the payment link (payment link lifetime).
The format is as follows: |
| isSinglePayment | boolean Default: false This parameter limits the Order to only one Deposit. amount will not affect final status, it will always reach PAID. |
Responses
Response samples
- 200
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": "string",
- "asset": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "network": "ETH_TEST3",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3",
- "contract": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
- "decimals": 6,
- "active": true
}, - "description": "string",
- "paidAmount": "string",
- "clientEmail": "string",
- "externalId": "string",
- "status": "CREATED",
- "operationLog": {
- "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
- "refId": "string",
- "asset": "string",
- "amount": "string",
- "status": "string",
- "subStatus": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "string",
- "clientEmail": "string",
- "assetFrom": "string",
- "amountFrom": "string",
- "children": [
- { }
], - "tx": "string",
- "context": { },
- "accountId": "string"
}
}
}List of orders
This call allows you to get the list of orders.
Authorizations:
query Parameters
| search | string Search by refId |
| orderField | string Enum: "amount" "paidAmount" "asset" "createdAt" "clientEmail" "status" "createdAt" This parameter allows you to indicate the order field to filter the list. Default createdAt. |
| offset | integer >= 0 Default: 0 This parameter allows you to indicate in what position to start from the list. |
| limit | integer [ 0 .. 50 ] Default: 20 This parameter allows you to determine the amount of results per page. |
| from | string <date> This parameter allows you to indicate the start date of the list. |
| to | string <date> This parameter allows you to indicate the end date of the list. |
| order | string Enum: "ASC" "DESC" This parameter allows you to indicate the order. |
Responses
Response samples
- 200
{- "total": 0,
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": "string",
- "asset": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "network": "ETH_TEST3",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3",
- "contract": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
- "decimals": 6,
- "active": true
}, - "description": "string",
- "paidAmount": "string",
- "clientEmail": "string",
- "externalId": "string",
- "status": "CREATED",
- "operationLog": {
- "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
- "refId": "string",
- "asset": "string",
- "amount": "string",
- "status": "string",
- "subStatus": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "string",
- "clientEmail": "string",
- "assetFrom": "string",
- "amountFrom": "string",
- "children": [
- { }
], - "tx": "string",
- "context": { },
- "accountId": "string"
}
}
]
}Order details
This call allows you to get the information on a specific order.
Authorizations:
path Parameters
| id required | string <uuid> This parameter allows you to insert the unique code and identifies the order. |
Responses
Response samples
- 200
- 404
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": "string",
- "asset": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "network": "ETH_TEST3",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3",
- "contract": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
- "decimals": 6,
- "active": true
}, - "description": "string",
- "paidAmount": "string",
- "clientEmail": "string",
- "externalId": "string",
- "status": "CREATED",
- "operationLog": {
- "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
- "refId": "string",
- "asset": "string",
- "amount": "string",
- "status": "string",
- "subStatus": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "string",
- "clientEmail": "string",
- "assetFrom": "string",
- "amountFrom": "string",
- "children": [
- { }
], - "tx": "string",
- "context": { },
- "accountId": "string"
}
}
}Mark Order as paid
This call allows you to mark an UNDERPAID | OVERPAID | PARTIALLY_REFUNDED order as paid.
Authorizations:
path Parameters
| id required | string <uuid> This parameter allows you to insert the unique code and identifies the order. |
Responses
Response samples
- 200
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": "string",
- "asset": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "network": "ETH_TEST3",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3",
- "contract": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
- "decimals": 6,
- "active": true
}, - "description": "string",
- "paidAmount": "string",
- "clientEmail": "string",
- "externalId": "string",
- "status": "CREATED",
- "operationLog": {
- "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
- "refId": "string",
- "asset": "string",
- "amount": "string",
- "status": "string",
- "subStatus": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "string",
- "clientEmail": "string",
- "assetFrom": "string",
- "amountFrom": "string",
- "children": [
- { }
], - "tx": "string",
- "context": { },
- "accountId": "string"
}
}Refund the Order
This call allows you to refund an overpaid Order, the refund will be partial, only for the amount above the requested for the Order.
Authorizations:
path Parameters
| id required | string <uuid> This parameter allows you to insert the unique code and identifies the order. |
Responses
Response samples
- 200
- 500
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "PENDING",
- "amount": "string",
- "amountToRefund": "string",
- "operationLog": {
- "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
- "refId": "string",
- "asset": "string",
- "amount": "string",
- "status": "string",
- "subStatus": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "string",
- "clientEmail": "string",
- "assetFrom": "string",
- "amountFrom": "string",
- "children": [
- { }
], - "tx": "string",
- "context": { },
- "accountId": "string"
}, - "asset": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "network": "ETH_TEST3",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3",
- "contract": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
- "decimals": 6,
- "active": true
}
}
}Payment link list
This call allows you to get a list of payment links created.
Authorizations:
query Parameters
| offset | integer >= 0 Default: 0 This parameter allows you to indicate in what position to start from the list. |
| limit | integer [ 0 .. 50 ] Default: 20 This parameter allows you to determine the amount of results per page. |
Responses
Response samples
- 200
{- "total": 0,
- "data": [
- {
- "id": "c5f077df-9294-4ec7-b0b0-ff814a5960ad",
- "name": "test name",
- "description": "some description",
- "amount": "10.12",
- "currency": "USD",
- "assets": [ ],
- "createdAt": "2000-01-01T00:00:00+00:00"
}
]
}Payment link create
This call allows you to create a payment link.
Authorizations:
Request Body schema: application/x-www-form-urlencoded
| name | string This parameter displays the name given to the payment link. |
| description | string This parameters displays the description given to the payment link's target. |
| amount | string This parameter displays the amount associated to the payment link. This field can be left empty as it is not mandatory. |
| asset | string <uuid> This parameters displays the crypto currency associated to the payment link. |
| clientEmail | string This parameter displays the client email which will receive notifications concerning the operation. |
| externalId | string This parameter displays the external ID that can be used to identify the payment link in your own systems. |
| expirationDate | string <date-time> This parameter displays the desired date until which the link is available. |
Responses
Response samples
- 400
{- "code": -100,
- "msg": "Request data is invalid"
}Payout create
This call allows you to create a payout with the desired cryptocurrency (asset), and, optionally, to auto exchnage an asset you have on your balance for the one you want to pay out.
Authorizations:
Request Body schema: application/x-www-form-urlencoded
| amount | string This parameter displays the amount of the selected asset to send to another wallet. |
| destination | string this parameter displays the address of the wallet to receive the inserted amount. |
| asset | string <uuid> This parameter displays the selected crypto currency in which the amount will be sent. |
| treatAsGrossAmount | boolean Default: false This parameter indicates if the network fee is deducted from the requested amount (set as True) or from your account (set as False, by default). This allows you to define who is charged with the network fee (the payout receiver or you). |
| externalId | string This parameter allows you to insert an Internal ID (from your own system) to better keep track of these operations. |
| fromAddress | string This optional parameter allows you to specify an address of an account wallet from which you want to make a payout. |
| walletTag | string This optional parameter allows you to insert the unique numerical code, required by some blockchains, to pair with the deposit address, as an additional security measure. |
| exchange | boolean Set this parameter to |
| requestedAsset | string <uuid> This parameter indicates the asset the funds should be converted to before payout is processed. Mandatory if |
| treatAsRequestedAmount | boolean This parameter determines, whether the |
Responses
Response samples
- 201
- 400
- 500
{- "data": {
- "amount": "string",
- "networkFee": "string",
- "status": "APPROVAL",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string",
- "displayName": "string",
- "displaySymbol": "string",
- "type": "string",
- "exchangeSymbol": "string",
- "subType": "string",
- "token": "string",
- "contract": "string",
- "nativeAsset": "string",
- "decimals": "string",
- "network": "string"
}, - "id": "string",
- "transaction": {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "lease": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset": {
- "id": "585c16ca-d438-4ef6-bcd2-a6d5ff685af4",
- "network": "ETH_TEST3",
- "name": "USD Coin Test (Goerli)",
- "symbol": "USDC_TEST3",
- "contract": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
- "decimals": 6,
- "active": true
}, - "address": "string",
- "amount": "string",
- "expired": true,
- "used": true,
- "expires": "2019-08-24T14:15:22Z",
- "network": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}, - "fee": "string",
- "feePriority": "string",
- "destination": "string",
- "note": "string",
- "walletTag": "string",
- "network": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "exchangeRequested": true,
- "requestedAsset": "b8bae8b5-90c3-4b9c-b9a2-e06a6d7d960f",
- "requestedAmount": "string",
- "treatAsGrossAmount": true,
- "externalId": "string"
}
}Response samples
- 200
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "destination": "string",
- "amount": "string",
- "fee": "string",
- "feePriority": "string",
- "networkFee": "string",
- "network": "string",
- "status": "string",
- "note": null,
- "walletTag": "string",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string",
- "displayName": "string",
- "displaySymbol": "string",
- "type": "string",
- "exchangeSymbol": "string",
- "subType": "string",
- "token": "string",
- "contract": "string",
- "nativeAsset": "string",
- "decimals": "string",
- "network": "string"
}, - "externalId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "sourceAddress": "string",
- "txHash": "string"
}
]
}Payout estimate
This call allows you to get an estimate on the fees applicable to a specific address to a specific location.
Authorizations:
query Parameters
| asset required | string <uuid> This parameter allows you to indicate the crypto currency in which the payout is to be made. The asset is provided by the unique code that identifies it (if you don't have the asset's code, contact our support). |
| destination required | string This parameter allows you to indicate the address to where the payout is to be made. |
| amount | string This parameter specifies amount to be payed out. |
| exchange | boolean This parameter determines if the payout requires an asset exchange before being processed. |
| requestedAsset | string This parameter specifies the target asset that the |
Responses
Response samples
- 200
- 400
- 500
{- "data": {
- "totalFee": "string",
- "totalAmount": "string",
- "withdrawFee": "string",
- "networkFee": "string",
- "netAmount": "string",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string",
- "displayName": "string",
- "displaySymbol": "string",
- "type": "string",
- "exchangeSymbol": "string",
- "subType": "string",
- "token": "string",
- "contract": "string",
- "nativeAsset": "string",
- "decimals": "string",
- "network": "string"
}
}
}Payout details
This call provides information on the indicated payout.
Authorizations:
path Parameters
| id required | string <uuid> This parameter, added as part of the URL, allows you to single out the desired payout you want information on. |
Responses
Response samples
- 200
- 400
- 500
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "destination": "string",
- "amount": "string",
- "fee": "string",
- "feePriority": "string",
- "networkFee": "string",
- "network": "string",
- "status": "string",
- "note": null,
- "walletTag": "string",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string",
- "displayName": "string",
- "displaySymbol": "string",
- "type": "string",
- "exchangeSymbol": "string",
- "subType": "string",
- "token": "string",
- "contract": "string",
- "nativeAsset": "string",
- "decimals": "string",
- "network": "string"
}, - "externalId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "sourceAddress": "string",
- "txHash": "string"
}
}Mass payout create
This call allows you to create several payouts at the same time with the desired cryptocurrency (asset).
Important: This endpoint only accepts application/x-www-form-urlencoded content type.
The data parameter must contain CSV data with actual line breaks (not \n escape sequences).
Authorizations:
Request Body schema: application/x-www-form-urlencoded
| title required | string This parameter identifies the mass payout on the platform. |
| data | string CSV data for creating multiple payouts. Must contain actual line breaks between rows (not Format: destination,amount,asset,treatAsGrossAmount Note: When using API tools, use Shift+Enter to create actual line breaks in the form data field. |
Responses
Request samples
- Payload
title=string&data=destination%2Camount%2Casset%2CtreatAsGrossAmount%0A0x92009d7A79d3813DD3309e663d3a77844EF675D4%2C0.001%2C0b47a85e-a66a-461c-bb1a-e818def2ff82%2CFALSE
Response samples
- 200
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "itemsCount": "string",
- "status": "string",
- "totalAmountUsd": "string"
}
}Payout batch list
This call allows you to get a list of batches (it can be customized by title and\or period).
Authorizations:
query Parameters
| offset | integer >= 0 Default: 0 This parameter allows you to indicate in what position to start from the list. |
| limit | integer [ 0 .. 50 ] Default: 20 This parameter allows you to determine the amount of results per page. |
| from | string <date> This parameter indicates the start date and time for the list to be filtered. |
| to | string <date> This parameter indicates the end date and time for the list to be filtered. |
| search | string This parameter indicates the keyword to search on the title field. |
| orderField | string Default: "createdAt" Enum: "id" "itemsCount" "status" "createdAt" "title" This parameter indicates the field used to order the entries on the list. |
| order | string Default: "DESC" Enum: "ASC" "DESC" This parameter indicates the orientation (ascending or descending) of the entries on the list (based on the selected orderField.) |
Responses
Response samples
- 200
{- "total": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "itemsCount": "string",
- "status": "string",
- "totalAmountUsd": "string"
}
]
}Payout batch item list
This call allows you to get a list of entries of the inserted batch.
Authorizations:
path Parameters
| batchId required | string <uuid> |
query Parameters
| offset | integer >= 0 Default: 0 This parameter allows you to indicate in what position to start from the list. |
| limit | integer [ 0 .. 50 ] Default: 20 This parameter allows you to determine the amount of results per page. |
| from | string <date> This parameter indicates the start date and time for the list to be filtered. |
| to | string <date> This parameter indicates the end date and time for the list to be filtered. |
| search | string This parameter indicates the keyword to search on the destination address field. |
| orderField | string Default: "createdAt" Enum: "createdAt" "id" "amount" "asset" "destination" "status" "treatAsGrossAmount" This parameter indicates the field used to order the entries on the list. |
| order | string Default: "DESC" Enum: "ASC" "DESC" This parameter indicates the orientation (ascending or descending) of the entries on the list (based on the selected orderField.) |
Responses
Response samples
- 200
{- "total": 0,
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "APPROVAL",
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string",
- "displayName": "string",
- "displaySymbol": "string",
- "type": "string",
- "exchangeSymbol": "string",
- "subType": "string",
- "token": "string",
- "contract": "string",
- "nativeAsset": "string",
- "decimals": "string",
- "network": "string"
}, - "destination": "string",
- "amount": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "treatAsGrossAmount": true,
- "operationLog": {
- "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
- "refId": "string",
- "asset": "string",
- "amount": "string",
- "status": "string",
- "subStatus": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "string",
- "clientEmail": "string",
- "assetFrom": "string",
- "amountFrom": "string",
- "children": [
- { }
], - "tx": "string",
- "context": { },
- "accountId": "string"
}, - "batch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "itemsCount": "string",
- "status": "string",
- "totalAmountUsd": "string"
}
}
], - "batch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "itemsCount": "string",
- "status": "string",
- "totalAmountUsd": "string"
}
}Add Mass Payout Item
Adds a new entry within a MassPayout Batch that is pending approval
Authorizations:
path Parameters
| batchId required | string <uuid> |
Request Body schema: application/json
| amount | string This parameter displays the amount of the crypto currency that will be used on the payout operation. |
| destination | string This parameter displays the address for the payout operation. |
| treatAsGrossAmount | string This parameter indicates if the network fee is deducted from the requested amount (set as True) or from your account (set as False, by default). This allows you to define who is charged with the network fee (the payout receiver or you). |
| externalId | string This parameter allows you to insert an Internal ID (from your own system) to better keep track of these operations. |
| asset | string This parameter displays the crypto currency associated with the balance. |
Responses
Request samples
- Payload
{- "amount": "string",
- "destination": "string",
- "treatAsGrossAmount": "string",
- "externalId": "string",
- "asset": "string"
}Edit Mass Payout Item
Changes the parameters of an Item within a MassPayout Batch that is pending approval. Parameters with “Inhereted” next to them must remain the same as the original Item within the Batch.
Authorizations:
path Parameters
| batchId required | string <uuid> |
| payoutBatchItemId required | string |
Request Body schema: application/json
| amount | string This parameter displays the amount of the crypto currency that will be used on the payout operation. |
| asset | string (Inherited) This parameter displays the crypto currency associated with the balance. |
| destination | string This parameter displays the address for the payout operation. |
| treasAsGrossAmount | string This parameter indicates if the network fee is deducted from the requested amount (set as True) or from your account (set as False, by default). This allows you to define who is charged with the network fee (the payout receiver or you). |
| rowNumber | string (Inherited) This parameter displays the exact row within the Mass Payout for this Item |
| externalId | string This parameter allows you to insert an Internal ID (from your own system) to better keep track of these operations. |
Responses
Request samples
- Payload
{- "amount": "string",
- "asset": "string",
- "destination": "string",
- "treasAsGrossAmount": "string",
- "rowNumber": "string",
- "externalId": "string"
}Top Up details
This call provides information on the indicated topup.
Authorizations:
path Parameters
| id required | string <uuid> This parameter, added as part of the URL, allows you to single out the desired topup you want information on. |
Responses
Response samples
- 200
- 400
- 500
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": "string",
- "fee": "string",
- "status": "string",
- "note": null,
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string",
- "displayName": "string",
- "displaySymbol": "string",
- "type": "string",
- "exchangeSymbol": "string",
- "subType": "string",
- "token": "string",
- "contract": "string",
- "nativeAsset": "string",
- "decimals": "string",
- "network": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
}Settlement details
This call provides information on the indicated settlement.
Authorizations:
path Parameters
| id required | string <uuid> This parameter, added as part of the URL, allows you to single out the desired settlement you want information on. |
Responses
Response samples
- 200
- 400
- 500
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": "string",
- "fee": "string",
- "networkFee": "string",
- "status": "string",
- "note": null,
- "asset": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "symbol": "string",
- "displayName": "string",
- "displaySymbol": "string",
- "type": "string",
- "exchangeSymbol": "string",
- "subType": "string",
- "token": "string",
- "contract": "string",
- "nativeAsset": "string",
- "decimals": "string",
- "network": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
}