Created
September 13, 2021 14:13
-
-
Save juan-fdz-hawa/7af1037f92a89d70c0414d26c41f33df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"payment_intent_data": { | |
"capture_method": "manual", | |
"setup_future_usage": "off_session", | |
"metadata": {}, | |
"payment_method_types": ["card"], | |
"billing_address_collection": "required", | |
"customer": #.., | |
"line_items": [{ | |
"name": #..., | |
"description": # ..., | |
"amount": # .., | |
"currency": # ..., | |
"quantity": # ..., | |
}], | |
"success_url": success_thread_url, | |
"cancel_url": cancel_thread_url, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment