Get Single Account
Retrieve details of a specific virtual account.
GET /v1/virtual-account/:accountId
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
accountId |
integer | Yes | The account ID |
Example Request
curl -X GET "https://api.esca.finance/v1/virtual-account/12345" \
-H "X-Api-Key: your_api_key_here"
Example Response
{
"status": true,
"data": {
"id": 12345,
"accountName": "ESCA/John Doe",
"accountNumber": "8012345678",
"balance": 50000.00,
"bankName": "Wema Bank",
"bankCode": "035",
"currency": "NGN"
}
}