Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- charge = Stripe::Charge.create({
- amount: 1000, # The total amount of the charge
- currency: "usd",
- source: "src_1BF7yx2jy8PDLWD6TFmguGn0", # A token representing the customer's payment details
- destination: {
- amount: 900, # The amount the connected user gets
- account: "acct_1BF8VRBAxruRdpTq", # The ID of the connected user
- }
- })
Add Comment
Please, Sign In to add comment