Skip to main content
POST
/
v1
/
fees
/
calculate
Calculate fee for a ramp request
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
  }
}

Authorizations

Authorization
string
header
required

OAuth2 authentication via Venly Identity Platform

Body

application/json

Request to calculate the fee for a ramp operation based on amount and type

amount
number
required

The amount to calculate fee for

Example:

1000

type
enum<string>
required

Type of ramp operation

Available options:
ON_RAMP,
OFF_RAMP

Response

Fee successfully calculated

success
boolean
default:true
result
object

Calculated fee breakdown