Created
August 28, 2019 01:59
-
-
Save leonkyr/9ce2d043b1fd10856e0224344ae41c09 to your computer and use it in GitHub Desktop.
stripe-connect-charge-on-behalf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stripe.charges.create({ | |
| amount: 2098, | |
| currency: "aud", | |
| source: "tok_mastercard_debit_transferSuccess", | |
| description: "Charge for Tradie 2 - Fix", | |
| receipt_email: "[email protected]", | |
| on_behalf_of: accountId, | |
| }).then(function (charge) { | |
| // asynchronously called | |
| console.log(JSON.stringify(charge, null, 2)); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment