-
-
Save anonymous/942e0e114aceeaf62de8 to your computer and use it in GitHub Desktop.
This file contains 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
charge = Stripe::Charge.create({ | |
:amount => 1000, # amount incents | |
:currency => "usd", | |
:card => token, | |
:description => "payinguser@example.com", | |
:application_fee => 123 # amount incents | |
}, | |
ACCESS_TOKEN # user's access token from the Stripe Connect flow | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment