#disha
1 messages · Page 1 of 1 (latest)
That's because you're using the wrong APIs. Your integration is using Payment Methods, so you should follow this guide for cloning: https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods
but I still need to clone the customer after cloning payment method no?
how do I clone customer and payment method both?
You would just create the Customer object with the API directly
I mean I still want to have customers created under platform account
In that case if I want to generate Invoice from connect account, I need to clone it, right?
shouldn't I follow this cloning guide?
No, that's outdated. To 'clone' the Customer, simply create it with the same parameters but on the connected account. Then you can follow this guide (https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods) to clone the exiting PM from the platform customer to the new 'cloned' customer on the connected account
ok, thanks
The API error you shared is because /v1/tokens looks for a src_xxx object on the Customer, but because you're using pm_xxx it fails