Wallet methods
Wallet object
Name | Type | Description |
---|---|---|
| string | The unique system identifier of a wallet. This value was generated automatically when creating a wallet and can’t be changed. |
| string | The tag or name assigned to a wallet for easier locating it in the system. This value is set when creating a wallet and can be changed anytime. |
| number | The current status of a wallet. Possible values:
|
| number | The wallet type. Possible values:
This value was selected when creating a wallet and can’t be changed. |
| string | The date and time of wallet creation. |
| string | The balance available for financial operations. |
| string | The sum of all deposit- and payout-related transactions that haven’t yet received the required number of confirmation blocks. This value is positive for incoming and negative for outgoing transactions. This balance can’t currently be used for financial operations. |
| string | The amount of incoming transfers blocked by AML. This balance can’t currently be used for financial operations. |
| string | For Enterprise wallets only. The minimum amount of the incoming transfer, in the wallet currency. Payments below the specified amount are automatically rejected. This can be useful if the transaction blockchain fee exceeds the transaction amount. In this case, you can see a new transfer with the Cancelled status on the Wallet management > Transfers page of the Web UI; the callback isn’t sent. Such transfers can be confirmed and accepted manually, on the Events page of the Web UI. |
| object | For Enterprise wallets only. The wallet address. |
| object | The wallet currency. The object contains the string |
| object | For wallets denominated in tokens only. The of a wallet denominated in tokens. For other wallets, returns The object contains the string |
Wallet object example
Get wallet
Request
GET
[base]/wallet/
{id}
Name | Type | Required | Description |
---|---|---|---|
| string | No | The unique system identifier of a wallet. |
Filtering by object parameters can be applied according to the JSON API Specification.
Request example
Response
In case of success, the response body contains a wallet object or an array of objects (if the id
wasn’t specified).
The wallets list is paginated and the default page size is 10. You can adjust pagination according to the JSON API Specification.
Response codes
HTTP code | Application code | Description | Suggested action |
---|---|---|---|
| — | The request succeeded. | — |
| 2007: No active account found with the given credentials | Incorrect credentials. | Send correct credentials. |
| 3001: You can not view wallet | You don’t have permissions to view the wallet. | — |
| 404: Not found | The wallet with the given | Send a correct |
| — | Internal server error. | Try again later. |
| — | Bad gateway. | Try again later. |
| — | Service unavailable. | Try again later. |
| — | Gateway timeout. | Try again later. |
| — | Other server errors. | Try again later. |
Last updated