#disha

1 messages · Page 1 of 1 (latest)

left coralBOT
visual river
lavish lichen
#

but I still need to clone the customer after cloning payment method no?

#

how do I clone customer and payment method both?

visual river
#

You would just create the Customer object with the API directly

lavish lichen
#

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?

visual river
#

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

Considerations for Stripe Connect platforms adding support for new payment methods using the Payment Methods API.

lavish lichen
#

ok, thanks

visual river
#

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