#mhanzla80-ephemeralKeys
1 messages · Page 1 of 1 (latest)
👋 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?
did it work?
let me know if you need any more help
yes sure