#Aliciant

1 messages · Page 1 of 1 (latest)

jovial sphinxBOT
visual spade
#

Have you double checked that the customer exists on the same account that you are trying to make this request from?

loud tusk
#

The customer exists on the connected account

#

should i be using the customer id from the platform account?

#

the customer exists on both accounts, but different ids

visual spade
#

You should use the ID from the account that you are making the call with. Are you trying to make this call as the platform or connected account?

loud tusk
#

I want to clone a payment from the platform account to the connected account. If I understood the docs correctly, I need to create the payment method on the platform account and then clone it to the connected account.

#

So I am making the call as the platform account, and transferring that payment method to the connected account.

#

But please correct me if I have understood that wrong

visual spade
loud tusk
#

Right, that's what I did. And for some reason, I keep getting the error that the customer doesn't exist

visual spade
#

Can you send me the request ID from a time that you got this error? (req_123)

loud tusk
#

req_KuYEXBaXKB11mD

visual spade
#

My apologies, I was exactly wrong. This should be the platform's customer ID. That call will create a payment method that isn't attached to any customer on the connected account. You can make an API call to attach the payment method to the connected account's customer after the first call succeeds. https://stripe.com/docs/api/payment_methods/attach

loud tusk
#

oooh. I see - so I need to create the payment method on the connected account, and THEN attach the payment method to the customer account on the connected account.