cURL
curl --request POST \ --url https://api-fundflow-qa.venly.io/v1/fees/calculate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "amount": 1000, "type": "ON_RAMP" } '
{ "success": true, "result": { "amount": 10, "percentage": 1 } }
Calculates the fee amount and percentage for a given ramp request amount. Fees are company-specific and based on configured fee tiers.
The calculation considers:
OAuth2 authentication via Venly Identity Platform
Request to calculate the fee for a ramp operation based on amount and type
The amount to calculate fee for
1000
Type of ramp operation
ON_RAMP
OFF_RAMP
Fee successfully calculated
Calculated fee breakdown
Show child attributes