#arvind_singh_21006

1 messages · Page 1 of 1 (latest)

strong lindenBOT
languid herald
#

👋 happy to help

left bay
#

okay then tell me

left bay
#

okay what about payout as a admin i want withdraw my commission and i simply used payout method but then i checked status of payout response then they showing like Pending status after what when i retrive payout using payout id then status showing paid

#

?

#

why

languid herald
#

I'm not sure I follow

#

would you mind sharing an example with some IDs?

left bay
#

okay wait

#

this method i'm using to payout owner bank accont
const payout = await stripe.payouts.create({
amount: Math.round(1 * 100),
currency: 'aud',
});
response body
{
"id": "po_1NaYSGHnkNc8JPqNHaubkmEr",
"object": "payout",
"amount": 40000,
"arrival_date": 1690934400,
"automatic": false,
"balance_transaction": "txn_1NaYSGHnkNc8JPqN7lu3vcKa",
"created": 1690957364,
"currency": "aud",
"description": null,
"destination": "ba_1NY6dgHnkNc8JPqNvVNban8r",
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"livemode": false,
"metadata": {
},
"method": "standard",
"original_payout": null,
"reconciliation_status": "not_applicable",
"reversed_by": null,
"source_type": "card",
"statement_descriptor": null,
"status": "pending",
"type": "bank_account"
}
okay

#

but when i retrive payout detail using payout retrieive method using this id
po_1NaYSGHnkNc8JPqNHaubkmEr

#

then showing Paid

#

how can i handel this situation when status change then they reflect on status front-side\

#

?

#

are you getting it ?

#

Hi ?

languid herald
#

sorry give me a minute will be there shortly with you

left bay
#

okay sure!

languid herald
#

I'm not sure I totally follow this

quaint crystal
#

Hey! Taking over for my colleague. Let me catch up.

left bay
#

okay

#

sorry i'm not getting it

#

please clearify

quaint crystal
#

Ok, let's back to your first question:

Hi i need help i want to send money from stripe plateform to connect account using webhook?
What you want to achieve exactly? webhooks are for getting notification and not for doing actions.

strong lindenBOT
left bay
#

both getting notification and also doing acion