#Gavin Phung
1 messages Β· Page 1 of 1 (latest)
Can you share the request ID (req_xxx) of this error? Hereβs how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_3m75BPP98Mmol4
Can you share you're trying to do?
i create customer for Platform account
and clone this customer to connect account
when clone customer i got error api /v1/tokens
π©
To clone a source from platform to connected account, you may refer to the doc here: https://stripe.com/docs/sources/connect#cloning-card-sources
Basically, the steps will be:
- Clone the payment method to the connected account
- Attach the connected account's payment method in Step 1 to the connected account customer using
Stripe-Accountheader
Cloning is only supported on card source and payment method. Customer cloning is not supported.
I have a look at cus_MqpvQpHkAXNpHR [0] in the request you shared, it only has payment_method (pm_xxx) and not source (src_xxx). /v1/tokens only supports source cloning. If you wish to clone the payment_method, this should be the doc for your reference: https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods
[0] https://dashboard.stripe.com/customers/cus_MqpvQpHkAXNpHR
Cloning customer is not supported from platform to connected account
Can you share the successful request?
/v1/tokens is to clone token (the card) on the connected account, not cloning customer
If you have card source on the customer, /v1/tokens will clone it to the connected account
this is the flow i do when creating customer of connect account from customer of platform account
can u help me check it
i follow this doc
The title of this doc is misleading. The description is clearer that:
With Connect, you can clone your customers' payment information across multiple connected accounts for reuse.
This doc is for cloning the card source (src_xxx) from platform to connected account, not customer. Step 2 (/v1/tokens) is to create a card token in the connected account from the platform's customer's card source.
The reason why req_3m75BPP98Mmol4 is not working because cus_MqpvQpHkAXNpHR doesn't have a card source (src_xxx). It only has payment method (pm_xxx).
Your previous successful attempt of cloning card source was likely because there was card source present on the platform customer.
No problem! Happy to help π