Get Account By Phone
Endpoint: GET {{host}}/accounts/phone/{accountNumber}
Authentication: Bearer Token (required)
Description
Retrieves account details using the account number which is typically derived from a phone number and currency prefix (e.g., ZWG263773591219).
Request
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| accountNumber | string | Yes | The account number (e.g., ZWG263773591219) |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token for authentication |
Request Schema
{
"headers": {
"Authorization": "Bearer <token>"
}
}