Skip to content

Instantly share code, notes, and snippets.

Created October 1, 2014 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/942e0e114aceeaf62de8 to your computer and use it in GitHub Desktop.
Save anonymous/942e0e114aceeaf62de8 to your computer and use it in GitHub Desktop.
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