Get Transfer Fee
Calculate the fee for a transfer before initiating it.
GET /v1/virtual-account/transfer-fee
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
currency |
string | Yes | Currency: NGN or GHS |
amount |
number | Yes | Transfer amount |
Example Request
curl -X GET "https://api.esca.finance/v1/virtual-account/transfer-fee?currency=NGN&amount=10000" \
-H "X-Api-Key: your_api_key_here"
Example Response
{
"status": true,
"data": {
"fee": 10.75,
"feeDetail": "NGN10.75"
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
fee |
number | The calculated transfer fee |
feeDetail |
string | Human-readable fee breakdown |