#mhanzla80-ephemeralKeys

1 messages · Page 1 of 1 (latest)

raw jewel
#

👋 happy to help

#

I think the only issue there is that you're passing two objects for the options, your code should look like this instead

 const ephemeralKey = await stripe.ephemeralKeys.create(
        { customer: customerId },
        { 
            apiVersion: '2020-08-27',
            stripeAccount: connectedId, // account's access token from the Connect flow
        }
    );
#

did that help?

haughty agate
#

i am testing it.

#

Thanks for your response brother

raw jewel
#

did it work?

haughty agate
#

yes it worked

#

thanks @raw jewel

raw jewel
#

let me know if you need any more help

haughty agate
#

yes sure