#kaustuva-le
1 messages · Page 1 of 1 (latest)
hello @hot token! that's not possible - when cloning the customer/payment method, a new customer and payment method is created in the connected account.
so you won't be able to use the customer id on the platform to retrieve the customer id on the connected account
Okay. How can I access the customer id of the cloned customer(in connected account) using the customer id (in platform account) at a later point of time? I am only retaining the customer id of the customer object in my platform account in my system
you'll probably have to store and link both platform and connected account id customer ids in your own server
then when you make the request, look up the corresponding connected account id
Is it however possible to save the paymentMethod in the platform account and create the paymentIntent in the connected account by following the process of cloning as mentioned in the docs?
so if you're doing direct charges i.e. where the PaymentIntent is created on the connected account, the payment method must exist on the connected account as well
but if you intend to do destination charges i.e. where the PaymentIntent is created on the platform, the payment method will need to exist on the platform