#prabhaw-soti-ebpearls_api

1 messages ¡ Page 1 of 1 (latest)

celest stirrupBOT
#

👋 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/1233353745124036700

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

granite tangle
#

case 'payment_intent.succeeded':
paymentIntent = paymentData.id;
await this.handlePaymentIntendSuccessEvent(paymentIntent, paymentData.latest_charge);
break;

    case "payout.paid":
      setTimeout(async () => {
        await this.handlePaymentSuccedeedEvent(paymentIntent);
      }, 10000);     
      break;

    case 'payout.failed':
      paymentIntent = paymentData.id;
      await this.handlePaymentFailedEvent(paymentIntent);
      break;
#

this is what i want

#

intend id from payout object

upbeat brambleBOT
prisma current
#

hi there!

#

so you want to know the payments included in a payout object?

granite tangle
#

yes is there is any way to retrive intend id from payout.paid | failed webhook

#

and also how to test payout.paid\failed webhook

prisma current
granite tangle
#

can i expand intend in const balanceTransactions = await stripe.balanceTransactions.list({
payout: 'po_1Gl3ZLLHughnNhxyDrOia0vI',
type: 'charge',
expand: ['data.source'],
});

#

i just want to test webhook from cli or ngrok

#

for payout.failled

prisma current
#

i just want to test webhook from cli or ngrok
this event is not supported by the CLI

granite tangle
#

so how can i test it

#

how many days it will take for payout for test and live account

prisma current
neat vigil
#

@granite tangle please never go into any other thread, this is your final warning, next time I would have to ban you