Skip to main content
POST
Calculate fee

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amount
number
required
Required range: x >= 0
asset
string
required
from_channel
string
required
to_channel
string
required
media
string
required
reference_id
string
required
tariff_id
string<uuid>
customer_id
string<uuid>
commit
boolean
default:false

Response

200 - application/json

Fee calculation result

tariff_id
string<uuid>
tariff_name
string
fee_range_id
string<uuid>
fixed_fee
number
percent_fee
number
total_fee
number
method
enum<string>
Available options:
fixed,
percentage,
greater,
lesser,
sum
is_fallback
boolean