Thank you Shreya, this is super helpful. A follow up related question, is there a way differentiate or filter for Incoming and Outgoing pending transaction?
• incoming: pending transfers to the Balance account (VPC)
• outgoing: pending transfers to bank funding source.
query with status=pending. (see attached screenshot)
sample results ===> status is processed:
Transfer ID: 04690dbf-d6bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 05690dbf-d6bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 0edea275-d5bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 0fdea275-d5bb-ed11-814e-e06c8c43255b, status: processed
…
What we noticed:
filter status ‘processed’, ‘failed’ or ‘cancelled’ seems to be okay.
filter status by ‘pending’ ==> seems like returning ‘processed’ as well.
Is this expected behavior? or there is some adjustments to make or query will only filter pending or unsettled transactions only?
Hi @engineeringguildloop – thanks for sharing the IDs and the code you’re using! Everything looks alright from your end. I checked on our end and discovered an issue that was causing the transfer statuses to not be in sync. The issue should be fixed now. Would you mind giving it another try and see if you see the expected result of only pending transfers?
Hi @shreya - just retried. Query with ?status=pending still returns processed transactions. The console print is as follow. Is there any tweaks needed on our end?
Transfer ID: 04690dbf-d6bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 05690dbf-d6bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 0edea275-d5bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 0fdea275-d5bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: cf568618-bdbb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 7fd7b811-bdbb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: e0d96f90-b3bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: e1d96f90-b3bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: a961bab0-26bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: aa61bab0-26bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 85fd5fb7-04bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 86fd5fb7-04bb-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 3d8e233b-ddba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 3e8e233b-ddba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: d26e57f4-dcba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: d36e57f4-dcba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 98793b6f-dcba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 99793b6f-dcba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 98ec3bcc-dbba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 99ec3bcc-dbba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: cb3cdcaa-d5ba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: baaa5227-d0ba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 85a32818-c9ba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 86a32818-c9ba-ed11-814e-e06c8c43255b, status: processed
Transfer ID: 7ba95968-b9ba-ed11-814e-e06c8c43255b, status: processed
Thanks for the update! I’ve shared the above IDs with our dev team for further investigation. What you have for filtering the transactions list is accurate. I wouldn’t tweak anything.
I will keep you updated on what I hear back from the team!
Hi @engineeringguildloop – just posting to assure you that we’re still looking into the issue. Would you be able to confirm if newer processed transactions are also ending up in the pending list or are they limited to a certain date range?
Hi @engineeringguildloop – the transfers should now be reinstated and you should see the expected result of only pending transfers when using the filter! Let us know when you get a chance to check!
I’m afraid, we are still working on finding a concrete resolution for this issue. We are able to correct the statuses of already created transfers, however we haven’t been able to prevent processed transfers from going out of sync. I did go ahead and update the above transfers so you can see the correct items who up in the pending list.
Until we have a concrete solution and prevent similar issues, I think what we will do in the interim is to query all /transfers without using query filters, then programmatically remove all records that has been processed. We should be fine with the interim.
That sounds like a good path forward for the interim. You could still use the status=pending filter to exclude the transfers that might have failed or been cancelled, then programmatically remove the processed records that might have erroneously seeped in.
Just made the change, initial testing shows the interim works and suffices our use case to accurately inform customers on Pending transfers. Thanks again @shreya and team!