Get fees for token amount
Changed onComputes the expected fees for a given token amount and payout fiat currency.
Request
- Base URLhttps://api.muralpay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Organization ID to act on behalf of
Request body
Example request
{
"tokenFeeRequests": [
{
"amount": {
"tokenSymbol": "USDC"
}
}
]
}Response
Payout fees for token amount
Example response
[
{
"estimatedFiatAmount": {
"fiatCurrencyCode": "USD"
},
"feeTotal": {
"tokenSymbol": "USDC"
},
"minTransactionValue": {
"tokenSymbol": "USDC"
},
"tokenAmount": {
"tokenSymbol": "USDC"
},
"transactionFee": {
"tokenSymbol": "USDC"
}
}
]Changes
- warning
added the new
SignedAgreementRequiredExceptionenum value to theresponse property for the response status - warning
added the new
mxn-debit-cardenum value to the/////response property for the response status - warning
added the new
mxn-debit-cardenum value to the/////response property for the response status - warning
added the new
usd-el-salvadorenum value to the/////response property for the response status - warning
added the new
usd-el-salvadorenum value to the/////response property for the response status - info
added the new optional
headerrequest parameteron-behalf-of - info
added the new
mxn-debit-cardenum value to the request property// - info
added the new
usd-el-salvadorenum value to the request property// - info
added the non-success response with the status
- info
added the required property
/////to the response with the status
- warning