Note: Replace YOUR_ACCESS_TOKEN with a valid access token when making requests.
Learn more about Authorization
/api/walletsThis endpoint retrieves a list of wallets available to the authenticated user. The response contains details about each wallet, including its unique identifier, balance information, wallet limits, status, wallet number, and associated currency details.
GEThttps://api.money-go.com/api/walletsAuthorization: Bearer YOUR_ACCESS_TOKEN
Note: Replace YOUR_ACCESS_TOKEN with a valid access token when making requests.
Learn more about Authorization
curl -X GET "https://api.money-go.com/api/wallets" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"<?php$url = "https://api.money-go.com/api/wallets";$options = [ 'http' => [ 'header' => "Authorization: Bearer YOUR_ACCESS_TOKEN\r\n", 'method' => 'GET' ]];$context = stream_context_create($options);$result = file_get_contents($url, false, $context);if ($result === FALSE) { die('Error occurred while fetching wallets');}$response = json_decode($result, true);print_r($response);import fetch from 'node-fetch';
async function getWallets(): Promise<void> { const url = "https://api.money-go.com/api/wallets"; try { const response = await fetch(url, { method: "GET", headers: { "Authorization": "Bearer YOUR_ACCESS_TOKEN" } }); if (!response.ok) { throw new Error(`HTTP error! Status: ${response.status}`); } const data = await response.json(); console.log("Wallets:", data); } catch (error) { console.error("Error fetching wallets:", error); }}
getWallets();{ "status": true, "data": [ { "id": 8031, "amount": 1698, "amountLimit": 100, "status": 0, "number": "R378031", "currency": { "id": 3, "code": "RUB", "name": " ", "rate": 91.441111924, "icon": "rubble.svg", "precession": 2, "prefix": "R", "min_amount": 150, "max_amount": 900000 }, "active_amount": 1698, "can_use_for_deposit_api_out": false, "can_use_for_withdraw_api_out": false } ]}| Field | Type | Description |
|---|---|---|
| status | boolean | Indicates whether the request was successful. |
| data | array | List of wallet objects. |
| Field | Type | Description |
|---|---|---|
| id | number | Unique identifier for the wallet. |
| amount | number | The current balance amount in the wallet. |
| amountLimit | number | The maximum allowed amount (limit) for the wallet. |
| status | number | Status code of the wallet (e.g., active, inactive). |
| number | string | The wallet number. |
| active_amount | number | The active (usable) balance in the wallet. |
| can_use_for_deposit_api_out | boolean | Indicates if the wallet can be used for API deposits. |
| can_use_for_withdraw_api_out | boolean | Indicates if the wallet can be used for API withdrawals. |
| Field | Type | Description |
|---|---|---|
| id | number | Unique identifier of the currency. |
| code | string | The currency code (e.g., “RUB”). |
| name | string | The name of the currency (if empty, not provided). |
| rate | number | The exchange rate for the currency. |
| icon | string | Filename or URL of the currency icon. |
| precession | number | Number of decimal places for the currency. |
| prefix | string | The currency prefix (e.g., “R”). |
| min_amount | number | Minimum allowed amount for transactions in this currency. |
| max_amount | number | Maximum allowed amount for transactions in this currency. |