stripe-pricing
This is an object representation of Stripe’s international pricing. Each supported country can be accessed by its ISO 3166-1 alpha-2 country code
Install
$ npm install stripe-pricing
Usage
var pricing = var coerced = pricing'AU' percentage: '1.75%' fee: '30¢' description: 'Domestic cards' percentage: '2.9%' fee: '30¢' description: 'International + AmEx' // This may be helpful if you plan to do maths with the values.coerced'AU' percentage: 00175 fee: 30 description: 'Domestic cards' percentage: 0029 fee: 30 description: 'International + AmEx'