#zachjjjj

1 messages · Page 1 of 1 (latest)

blissful crescentBOT
dark solar
#

Every SDK has a method to create it. ie. in Ruby

  ephemeralKey = Stripe::EphemeralKey.create({
    customer: 'cus_xxx',
  })
ornate current
#

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
});

dark solar
#

Do you see the request on your connected account requests log?

#

It should have the outlines of error and the request id req_xxx

ornate current
#

The log id is
req_szkj25vMhwSgvz

dark solar
#

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?

ornate current
#

You might be right. Let me just hardcode the request to double check