Appearance
Get Single Wallet
About 108 wordsLess than 1 minute
GET {api_url}/wallets/getOne
Used to fetch the specific details and balance of a single wallet using the user ID and currency
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| external_user_id | string | Mandatory | The user ID in CRM |
| currency | string | Mandatory | The specific currency to query (e.g., "USD") |
Expected HTTP status code
- 200
Response Fields
| Name | Type | Description |
|---|---|---|
| id | string | Unique Wallet ID in your system |
| external_user_id | string | The user ID in CRM |
| amount | number | Current balance of the wallet |
| currency | string | Currency code |
| decimals | integer | Decimal precision |
Response Example
{
"id": "wallet_123",
"external_user_id": "user_456",
"amount": 1000.50,
"currency": "USD",
"decimals": 2
}