#dmitriy-blyndaruk_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ 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/1324779043265974414
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
If you're talking about a payout event from your connect account, then it should have an account id on the event: https://docs.stripe.com/api/events/object#event_object-account
yes, I have testing response for that
it's when my platform creates payout for connected account
so when I capture webhook event I got this
but acct_1QZca9RovmtGhyGs seems to be not connected account but platform's account
{
id: 'evt_1QcsytRovmtGhyGsfHZngI1L',
object: 'event',
account: 'acct_1QZca9RovmtGhyGs',
api_version: '2024-06-20',
created: 1735841931,
data: {
object: {
id: 'po_1QcsysRovmtGhyGsS7c7WUlQ',
object: 'payout',
amount: 100,
application_fee: null,
application_fee_amount: null,
arrival_date: 1735776000,
automatic: false,
balance_transaction: 'txn_1QcsysRovmtGhyGsI8EAk1gK',
created: 1735841930,
currency: 'usd',
description: null,
destination: 'ba_1QcsysRovmtGhyGsNWZEMUwC',
failure_balance_transaction: null,
failure_code: null,
failure_message: null,
livemode: false,
metadata: {},
method: 'standard',
original_payout: null,
payout_method: null,
reconciliation_status: 'not_applicable',
reversed_by: null,
source_type: 'card',
statement_descriptor: 'Rokeflo',
status: 'paid',
trace_id: [Object],
type: 'bank_account'
}
},
livemode: false,
pending_webhooks: 2,
request: {
id: 'req_SibRy4daYia9Mq',
idempotency_key: 'cbc98163-2770-432c-8e91-7bc7c8245a90'
},
type: 'payout.paid'
}
it's when my platform creates payout for connected account
Do you mean payout or transfer?
The above is a payout on your platform account not connect account
Never mind it is on the connect account my bad
payout
transfer is created on payment intent capture trigger. (transfer_data)
Hello! I'm taking over and catching up...
so account: 'acct_1QZca9RovmtGhyGs', here should be connected account id?
account: 'acct_1QZca9RovmtGhyGs', that's the connect account id in the event
and this event is totally dedicated and I can't pass any metadata previously created in pi or something?
yep, thank you!
The payout.paid Event is sent when we expect the Payout to be available in the destination account. You can add metadata to the Payout before that Event fires, and it will show up in the Event because the Event contains the Payout object: https://docs.stripe.com/api/payouts/update