#Gyan

1 messages · Page 1 of 1 (latest)

rapid tangleBOT
wary heron
#

hello! can you share the request id for the recent create customer API call you made?

unborn lagoon
#

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

wary heron
#

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

unborn lagoon
#

can i create subscription on that customer?

wary heron
#

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

unborn lagoon
#

okay, got it

#

can you send me a curl example to create a customer in connected account?

wary heron
#
curl https://api.stripe.com/v1/customers \
  -u sk_test_....: \
  -H 'Stripe-Account: acct...'
unborn lagoon
#

do i need to pass email id?

wary heron
unborn lagoon
#

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?

wary heron
#

since this customer exists on the connected account, yes any charge or subscription for this customer will go to the connected account's balance