Guest User

Untitled

a guest
Oct 23rd, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. charge = Stripe::Charge.create({
  2. amount: 1000, # The total amount of the charge
  3. currency: "usd",
  4. source: "src_1BF7yx2jy8PDLWD6TFmguGn0", # A token representing the customer's payment details
  5. destination: {
  6. amount: 900, # The amount the connected user gets
  7. account: "acct_1BF8VRBAxruRdpTq", # The ID of the connected user
  8. }
  9. })
Add Comment
Please, Sign In to add comment