Fees
Estimate scheme fee [EXPERIMENTAL]
This endpoint is still under development; it currently has a limited library of scheme fees, and will not provide fee estimates for all supported card networks.
This API endpoint will perform a scheme fee estimation, returning a list of predicted scheme fees when passing some parameters similar to a charge.
<!-- These scheme fees can be either a `fixed` or `basisPoints` scheme fee, and contain a calculated `amount` based on the input amount and the scheme fee amount. There is no currency conversion applied; the amounts of these individual scheme fees will always be denominated in the currency of the scheme fee itself. -->post/fees/scheme/estimate
Request
- Base URLhttps://eu-west-1.api.silverflow.com/v1
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"amount": {
"currency": "EUR"
},
"merchantAcceptorKey": "mac-1JRadf2ffdfrdPMf2XrS2",
"chargeType": {
"cardEntry": "e-commerce"
}
}Response
Scheme fee estimation response
Example response
{
"cardNetwork": "mastercard",
"conversionRates": [
{
"source": "EUR",
"target": "EUR"
}
],
"fees": [
{
"sourceAmount": {
"currency": "EUR"
},
"convertedSourceAmount": {
"currency": "EUR"
},
"feeRate": {
"currency": "EUR"
},
"billingAmount": {
"currency": "EUR"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.