#zachjjjj
1 messages · Page 1 of 1 (latest)
Every SDK has a method to create it. ie. in Ruby
ephemeralKey = Stripe::EphemeralKey.create({
customer: 'cus_xxx',
})
I coded this in Node.js. I am trying to get the ephemeralKeys for a customer under a connect account. I passed in the customer id parameter, but I am still getting the error that I mentioned.
const ephemeralKey = await stripe.ephemeralKeys.create(
{ customer: customerID },
{ apiVersion: '2022-11-15',
stripeAccount: stripeAccount
});
Do you see the request on your connected account requests log?
It should have the outlines of error and the request id req_xxx
The log id is
req_szkj25vMhwSgvz
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I think something is going on with your Nodejs code. It doesn't send in any value
Are you 100% sure above is the correct call generated?
You might be right. Let me just hardcode the request to double check