#potoos - payout failed
1 messages · Page 1 of 1 (latest)
Hello! Just starting a thread for you -- I'll review and respond as soon as I can 🙂
hey can you share the failing payout or event id?
{ "id": "evt_1KyC2KQibKRyZux11iyXSueW", "object": "event", "account": "acct_1JFIsUQibKRyZux1", "api_version": "2020-08-27", "created": 1652262052, "data": { "object": { "id": "po_1KyC2JQibKRyZux1weUjUeJU", "object": "payout", "amount": 213200, "arrival_date": 1652227200, "automatic": false, "balance_transaction": "txn_1KyC2JQibKRyZux1Zo032TnE", "created": 1652262051, "currency": "usd", "description": "", "destination": "ba_1JH80yQibKRyZux1GhfrgsXX", "failure_balance_transaction": "txn_1KyC2KQibKRyZux1M0Jf8Pth", "failure_code": "insufficient_funds", "failure_message": "Your account has insufficient funds to cover the transfer.", "livemode": false, "metadata": { "payoutId": "381", "merchantId": "134", "vendorId": "316" }, "method": "standard", "original_payout": null, "reversed_by": null, "source_type": "card", "statement_descriptor": "Balance Payments Inc", "status": "failed", "type": "bank_account" } }, "livemode": false, "pending_webhooks": 1, "request": { "id": "req_VDDn918hOI5bDM", "idempotency_key": "stripe-node-retry-b9334f27-fcfa-48d8-b1a0-b8746244459c" }, "type": "payout.paid" }
But yes, this is possible in live mode, which is why we provide testing mechanisms for you to build flows to handle this
But how does this make sense? the payout was payout.paid and the status failed?
Yea, because its async
You used the test bank account that's expected to fail with this error:
https://site-admin.stripe.com/docs/connect/testing#payouts
110000000 000222222227 Payout fails with an insufficient_funds code.
where does it mention to expect a payout.paid event?
Where can I find this?