Skip to content

Instantly share code, notes, and snippets.

@leonkyr
Created August 28, 2019 03:19
Show Gist options
  • Save leonkyr/e2e1a6abee58deaf9b17f07178fc0bfb to your computer and use it in GitHub Desktop.
Save leonkyr/e2e1a6abee58deaf9b17f07178fc0bfb to your computer and use it in GitHub Desktop.
stripe-connect-payout
stripe.payouts.create({
amount: 1000,
currency: "aud",
description: "YOUR PAYOUT",
destination: 'ba_1FBu9jGaKsCGStvEMMtcehsg',
}, {
stripe_account: accountId,
}).then(function (payout) {
console.log(JSON.stringify(payout, null, 2));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment