#callmarl-list-payout
1 messages ยท Page 1 of 1 (latest)
Hi ๐ that request does look structured correctly to retrieve pending payouts, taking a closer look.
Yes it's strange, because the returned value is paid. In this test the destination doesn't have any pending payout.
My suspicion is that we're more lenient with the pending status in test mode since payouts immediately succeed there and don't sit in a pending state at all.
Do you see the same behavior if you filter for failed?
I will check
It work filtering on failed no data is returned
{
"data": [],
"has_more": false,
"object": "list",
"url": "/v1/payouts"
}
Sorry, was trying to find some payouts in one of my test accounts so I could try to replicate, but when I filter for pending I'm not getting any results. How quickly after triggering the payout did you make the first list request?
Few seconds later around 0 to 2 minutes
Let me check the log
Sorry, but I've got to step into a meeting, my teammate @quasi mulch can continue helping with this. ๐
First time (3:16:12 PM) trying to retrieve pending at (3:32:08 PM)
An other test with other account at (3:52:41 PM) trying to retrieve pending at (3:53:26 PM)
Ok see you and thanks a lot.
Thank you for your patience. I am looking at other threads and hope to get to this one in a couple minutes.
Ok no problem I have other things to code.
@remote totem this looks like a bug to me too. Unfortunately the whole pending -> succeeded transition in Test mode is not great since it's all near instant and I think it's making the API confused.
My advice though is to ignore the pending status entirely, there shouldn't be a need for you to list payouts with that specific status, they are sequential/ordered and I'd just list Payouts really. I'll still flag internally but it's not something we'd fix quickly
Ok I will manage differently thanks a lot for your help.