Skip to Content
TransfersGet Transfer Fee

Transfer Fee

The Transfer Fee endpoint allows you to calculate the fees associated with a bank transfer. This is useful for providing transparency and managing costs effectively.

Endpoint

POST https://api.cashonrails.com/api/v1/payout_fee

Request Headers

HeaderTypeDescription
AuthorizationstringBearer token with your secret key

Request Body

ParameterTypeDescription
amountstringThe amount to be transferred
currencystringThe currency code (e.g., NGN, USD)

Sample Request

{ "amount": "5000", "currency": "NGN" }

Sample cURL Request

curl -X POST https://api.cashonrails.com/api/v1/payout_fee \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_SECRET_KEY" \ -d '{ "amount": "5000", "currency": "NGN" }'

Sample Response

{ "success": true, "status": "00", "message": "Fee Fetched Successfully", "data": 10 }
Last updated on