#kakos_code

1 messages ยท Page 1 of 1 (latest)

willow spadeBOT
#

๐Ÿ‘‹ 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/1351635217156149328

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

lyric axle
#

pi_3R3P4GC4wSV3tjam1HSkeGQL

burnt scarab
#

Hello
It is possible you're using the wrong API key or the PaymnetIntent might belong to a connected account

lyric axle
#

if it belongs to the connected account I can not trigger the refund? (the scenario is the connected account creates the refund)

burnt scarab
#

You can but in this case, I don't believe this is related to connect?
The PaymentIntent you've shared belongs to acct_1Qg10uC4wSV3tjam

#

You would need to use API key that belongs to that account

lyric axle
#

hmm I see.... I didnt know that my bad

#

where can I find those keys?

lyric axle
#

so each connected account will have their own api key?

burnt scarab
lyric axle
#

ohh I see my bad!!!

#

I will try that sounds more clean

#

thank you so much!!!!!

burnt scarab
#

NP! ๐Ÿ™‚

lyric axle
#

hmm I alreayd do that

#

acct_1QoSmJ2Hniu7CH8U with this Id and I still get not found though

#
    const refund = await this.stripeAPI.refunds.create(
      {
        payment_intent: paymentIntentId,
        amount: amount * 100,
        refund_application_fee: false,
      },
      {
        stripeAccount: accountId,
      }
    );
#

oh its other account

#

opsieee

burnt scarab
#

Yup