Create a customer with just name and email
{"object":"Customer","method":"create","args":{"description":"[email protected]","email":"[email protected]"}}
Create a PaymentIntent for that customer
{"object":"PaymentIntent","method":"create","args":{"amount":999,"currency":"USD","setup_future_usage":"off_session","confirmation_method":"manual","save_payment_method":true,"description":"Recurring Test","statement_descriptor":"Recurring Test","confirm":true,"payment_method":"pm_1G69JAAybSf0xwaPKhtxXXU8","customer":"cus_GdQ9r0tOBcXRih","metadata":{"email":"[email protected]"},"capture_method":"manual"}}
Update the customer now
{"object":"Customer","method":"update","args":"cus_GdQMw9QOxaRKzO","all_args":["Customer","update","cus_GdQMw9QOxaRKzO",{"invoice_settings":{"default_payment_method":"pm_1G69VqAybSf0xwaPdwTdlEOC"}}]}
Finally, Return the intent stripe object to client side.
SCA: 4000002760003184