#tsahnar-payout-events

1 messages · Page 1 of 1 (latest)

next maple
#

Hi 👋 my understanding is that if only the status of a payout is changed when it moves to a paid state, then the payout.paid event will be triggered. But that any other fields change then payout.updated will also be triggered.

tough urchin
#

So you say that if only the status change its not sending the payout updated event?

#

In the cases we saw it happen it means that other fields had changed?

#

Does not make sense

prime lark
#

The payout.paid event is the event related specifically to transition to paid status and it's expected that it is the only one sent at this time

tough urchin
#

From the docs its says: "Occurs whenever a payout is updated."

#

Status change means that the payout is updated.. and we do get it for it sometime

#

Why did you recieve both at some cases and some cased not? can provide you with payout ids

#

For this one we received both: po_1KbXVORjgIY4LOR8wEJ68wEH

prime lark
#

Can you share the event ids?

tough urchin
#

For this one no: po_1KXLCTRjszdmmXbPKZLleNNo

#

yes sec

#

This is the payout.paid event for the one that we didnt recieve the updated evt_1KXxAIRjszdmmXbP3oTDNUsK

#

This is for the payout.updated that was changed to paid evt_1KbathRjgIY4LOR8ZEu4Lo7R

prime lark
#

Thanks, looking

tough urchin
#

Thank you

prime lark
tough urchin
#

The event is for the in transit change

#

not the paid

#

"status": "in_transit",
"type": "bank_account"
},
"previous_attributes": {
"status": "pending"
}

#

We expected to recieve updated event also for the paid change

#

Like the other example I sent you

prime lark
#

Ah whoops I misread that

#

OK yes let me file some feedback related to this. Do you want to write in to support and mention my name so I can follow up when I've learned more?

#

If not, thats fine, but my advice would be to listen for payout.paid

#

But happy to follow up via email if you'd like

tough urchin
#

Yes I would like an email followup

#

because its not very clear from the docs - we were dependent on that and we saw in our tests that it is supposed to be sent

#

suddenly it was not - and it caused us some internal issues

#

we would like to understand if its issue on your side

prime lark
#

Sure, no problem. As I said i suggest listening for payout.paid but please email support with a summary of this with those two examples and i'd be happy to follow up.