Funding sources
Calculate fee
Calculate a fee before sending a transaction.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.invinciblepay.com/v1/funding-sources/calculate-fee" \ -H "Content-Type: application/json" \ -d '{ "accountId": "string", "amount": 0.1, "category": "etransfer", "type": "inComing" }'{
"amount": "string",
"fee": {
"amountPercentage": "string",
"currency": "EUR",
"description": "string",
"minAmount": "string",
"name": "string"
}
}{
"error": "string",
"error_code": {}
}