aakash2310

Untitled

Jul 1st, 2023
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. REQUEST POST "https://api.stripe.com/v1/payment_methods"
  2. CONTENT "type=card&card[number]=4182384024851677&card[exp_month]=11&card[exp_year]=2024"
  3. CONTENTTYPE "application/x-www-form-urlencoded"
  4. HEADER "Authorization: Bearer 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"
  5.  
  6. PARSE "<SOURCE>" LR "\"id\": \"" "\"" -> VAR "pid"
  7.  
  8. REQUEST POST "https://api.stripe.com/v1/payment_intents"
  9. CONTENT "amount=100&currency=usd&payment_method_types[]=card&description=REL8 Donation&payment_method=<pid>&confirm=true&off_session=true"
  10. CONTENTTYPE "application/x-www-form-urlencoded"
  11. HEADER "Authorization: Bearer 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"
  12.  
  13. PARSE "<SOURCE>" LR "" "" -> VAR ""
Advertisement
Add Comment
Please, Sign In to add comment