#cole-caccamise_api

1 messages ¡ Page 1 of 1 (latest)

true sluiceBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1390368991037362322

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

lunar ore
#

Hey there

#

Taking a look

craggy spade
#

thank you

lunar ore
#

Are you passing in the same Stripe Account header when creating your ephemeralkeynonce?

#

Ah sorry you shared that request

#

And you aren't so that's the issue

#

You need to create that nonce on the Connected Account as well

craggy spade
#

i thought it might be something like that.. but the nonce is created like this with stripe js:

// Use Stripe.js to create a nonce
const cardId = 'ic_1ITi6XKYfU8ZP6raDAXem8ql';
const nonceResult = await stripe.createEphemeralKeyNonce({
  issuingCard: cardId,
});
const nonce = nonceResult.nonce;

the docs for this call don't show an account id option. i didn't see an API endpoint to create the nonce directly

lunar ore
#

You pass in the Connected Account ID when initializing Stripe.JS (depending on which method you are using)

craggy spade
#

ahhh didn't catch that thank you