Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> import stripe
- stripe.api_key = "vtUQeOtUnYr7PGCLQ96Ul4zqpDUO4sOE"
- stripe.Charge.create(
- amount=400,
- currency="usd",
- card={
- "number": '4242424242424242',
- "exp_month": '12',
- "exp_year": '2012',
- "cvc": '123'
- },
- description="Charge for test@example.com"
- )
Add Comment
Please, Sign In to add comment