Skip to content

Instantly share code, notes, and snippets.

@jjeffers
Created September 2, 2015 15:35
Show Gist options
  • Save jjeffers/45ae429b1d542262037a to your computer and use it in GitHub Desktop.
Save jjeffers/45ae429b1d542262037a to your computer and use it in GitHub Desktop.
charge = Stripe::Charge.create(
amount: amount_in_cents,
currency: "usd",
source: token,
description: description,
metadata: charge_metadata,
destination: destination_account
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment