Guest User

Untitled

a guest
Dec 12th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. >>> import stripe
  2. stripe.api_key = "vtUQeOtUnYr7PGCLQ96Ul4zqpDUO4sOE"
  3. stripe.Charge.create(
  4. amount=400,
  5. currency="usd",
  6. card={
  7. "number": '4242424242424242',
  8. "exp_month": '12',
  9. "exp_year": '2012',
  10. "cvc": '123'
  11. },
  12. description="Charge for test@example.com"
  13. )
Add Comment
Please, Sign In to add comment