stripe-cli icon indicating copy to clipboard operation
stripe-cli copied to clipboard

Add support for trigger payout.paid

Open adi-stripe opened this issue 6 years ago • 10 comments

Problem

Build a flow to reconcile settled money in the bank with received payments.

Feature

Can we please add payout.paid for the trigger command? Would be very useful for users building Settlement & Reconciliation flows.

Examples

stripe trigger payout.paid

adi-stripe avatar Dec 06 '19 19:12 adi-stripe

Hey Adi! Do you know if this is an event we can trigger immediately through API requests?

tomer-stripe avatar Dec 09 '19 18:12 tomer-stripe

If the account is configured to use manual payouts, we could trigger the event like this:

  1. create a charge with pm_card_bypassPending to immediately add some funds to the available balance
  2. create a payout for the same amount

However, with manual payouts, payouts are decoupled from payments. My guess is that the majority of people who want to test the payout.paid event are using automatic payouts and want to be able to retrieve the list of payments included in the payout. Unfortunately I don't think we can trigger this via the API at this time.

ob-stripe avatar Dec 10 '19 19:12 ob-stripe

Would it be out-of-scope for this ticket to request that the other payout triggers (created, failed, etc.) get added as well?

maxrothman avatar Jan 10 '20 19:01 maxrothman

Not at all. We can include more payouts events.

On Fri, 10 Jan 2020 at 19:41, Max Rothman [email protected] wrote:

Would it be out-of-scope for this ticket to request that the other payout triggers (created, failed, etc.) get added as well?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stripe/stripe-cli/issues/330?email_source=notifications&email_token=AMB52XC27NHAW2CD53OTATDQ5DFOZA5CNFSM4JW7RTOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIU76VY#issuecomment-573177687, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMB52XBPTU4HUXHJ5DR27BDQ5DFOZANCNFSM4JW7RTOA .

-- Best regards, Adi

adi-stripe avatar Jan 13 '20 07:01 adi-stripe

Hey folks, any update on this?

mfeckie avatar Jan 21 '21 04:01 mfeckie

I also would like support for this.

jstawski avatar May 17 '21 00:05 jstawski

+1

shopthing-sean avatar Aug 09 '21 14:08 shopthing-sean

Hello folks,

It will take us a bit longer to add support for these events.

A workaround is to use the CLI to re-send an existing event.
This way you can test your webhooks and integration flows.

Docs here: https://stripe.com/docs/cli/events/resend

Let me know if this would work for you.

adi-stripe avatar Aug 09 '21 15:08 adi-stripe

Hey, is this available yet ?

omarkad2 avatar Oct 15 '21 13:10 omarkad2

Nope, not yet.

However, what you can do is to re-send an event. So if you already have a payout.paid, you could just resend it using the event id: https://stripe.com/docs/cli/events/resend

On Fri, Oct 15, 2021 at 2:50 PM Oussama Markad @.***> wrote:

Hey, is this available yet ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stripe/stripe-cli/issues/330#issuecomment-944318107, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMB52XGEWHQ5KIVPPKTHFXTUHAWSBANCNFSM4JW7RTOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

adi-stripe avatar Oct 15 '21 14:10 adi-stripe