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
| Header | Type | Description |
|---|---|---|
| Authorization | string | Bearer token with your secret key |
Request Body
| Parameter | Type | Description |
|---|---|---|
| amount | string | The amount to be transferred |
| currency | string | The 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