{
amount : 100,
currency_convert : false,
application_fee : 0,
symbol : '£'
}
The transaction value in the same format stripe expects it (eg £1 = 100)
Determine if a currency conversion will take place during the transaction (eg, an issued card who's funds are USD paying to GBP)
Your stripe connect application fee
Currency symbol (£,$, etc...) for human formatting in the response.
const StripeFees = require('./StripeFeeCalculator');
let Amount = 100 // £100
StripeFees.Calculate({
amount : Amount * 100,
application_fee : 0.6,
currency_convert : false,
symbol : '£',
}) // { eu_fee: '£2.20', non_eu_fee: '£3.70' }