#Gyan
1 messages · Page 1 of 1 (latest)
hello! can you share the request id for the recent create customer API call you made?
i am not able to find create call log
but here is the update call that i made
to update the existing customer to have a associated connected account
req_0nambF13ZIt2qE
for context, the StripeAccount header means you're making the request on the connected account. It's not an "association".
the corresponding created customer with the StripeAccount header would be only discoverable from the connected account i.e. you won't be able to find it on your platform account
can i create subscription on that customer?
sure, since the customer exists on the connected account, you also need to use the StripeAccount header to create the Subscription on the connected account
okay, got it
can you send me a curl example to create a customer in connected account?
curl https://api.stripe.com/v1/customers \
-u sk_test_....: \
-H 'Stripe-Account: acct...'
do i need to pass email id?
you can see what parameters are optional/required here : https://stripe.com/docs/api/customers/create
and will this customer represent the connected account? meaning any charge or subscription created for this customer will be charged directly to the connected bank account?
since this customer exists on the connected account, yes any charge or subscription for this customer will go to the connected account's balance