Austen Allred Retweeted Romain Huet
Austen Allred added,
Romain HuetVerified account @romainhuet
The code to create a @stripe payment now fits in a Tweet! 
#280characters
const stripe = require('stripe')('sk_test_BQokikJOvBiI2HlWgH4olfQ2');
const charge = await stripe.charges.create({
amount: 2000,
currency: 'usd',
source: 'tok_visa',
description: 'Payment'
});

0 replies
1 retweet
4 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.