Dwolla-v2-node Sandbox transfer search returns nothing

Using the sandbox: Creating two customers and a transfer between them and then attempting to fetch the transaction by matching status or correlationId returns nothing.

GET customers/56bfed2a-8676-49ab-a42e-fe56416e77fe/transfers returns the body:
{ _links: { self: { href: 'https://api-sandbox.dwolla.com/customers/56bfed2a-8676-49ab-a42e-fe56416e77fe/transfers', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' }, first: { href: 'https://api-sandbox.dwolla.com/customers/56bfed2a-8676-49ab-a42e-fe56416e77fe/transfers?&limit=25&offset=0', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' }, last: { href: 'https://api-sandbox.dwolla.com/customers/56bfed2a-8676-49ab-a42e-fe56416e77fe/transfers?&limit=25&offset=0', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' } }, _embedded: { transfers: [ { _links: { cancel: { href: 'https://api-sandbox.dwolla.com/transfers/41460b1a-582c-e811-8105-0a595ef38714', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' }, source: { href: 'https://api-sandbox.dwolla.com/funding-sources/9cf29d53-b454-41c9-97f3-eacd4509009d', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'funding-source' }, self: { href: 'https://api-sandbox.dwolla.com/transfers/41460b1a-582c-e811-8105-0a595ef38714', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' }, 'funded-transfer': { href: 'https://api-sandbox.dwolla.com/transfers/42460b1a-582c-e811-8105-0a595ef38714', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' }, destination: { href: 'https://api-sandbox.dwolla.com/customers/56bfed2a-8676-49ab-a42e-fe56416e77fe', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'customer' } }, id: '41460b1a-582c-e811-8105-0a595ef38714', status: 'pending', amount: { value: '1.00', currency: 'USD' }, created: '2018-03-20T16:02:35.023Z', clearing: { source: 'standard' }, correlationId: '6625a0c8-7f7b-4999-b8bf-49f5731e9266', individualAchId: 'IDVMM5BN' }, { _links: { cancel: { href: 'https://api-sandbox.dwolla.com/transfers/42460b1a-582c-e811-8105-0a595ef38714', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' }, source: { href: 'https://api-sandbox.dwolla.com/customers/56bfed2a-8676-49ab-a42e-fe56416e77fe', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'customer' }, 'funding-transfer': { href: 'https://api-sandbox.dwolla.com/transfers/41460b1a-582c-e811-8105-0a595ef38714', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' }, 'destination-funding-source': { href: 'https://api-sandbox.dwolla.com/funding-sources/b35fe6e5-9fa2-4094-abee-b3c7d4fdbf6c', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'funding-source' }, self: { href: 'https://api-sandbox.dwolla.com/transfers/42460b1a-582c-e811-8105-0a595ef38714', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' }, 'source-funding-source': { href: 'https://api-sandbox.dwolla.com/funding-sources/9cf29d53-b454-41c9-97f3-eacd4509009d', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'funding-source' }, destination: { href: 'https://api-sandbox.dwolla.com/customers/57c70853-df44-497d-ae5e-aa6660a95738', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'customer' } }, id: '42460b1a-582c-e811-8105-0a595ef38714', status: 'pending', amount: { value: '1.00', currency: 'USD' }, created: '2018-03-20T16:02:34.993Z', clearing: { source: 'standard' }, correlationId: '6625a0c8-7f7b-4999-b8bf-49f5731e9266' } ] }, total: 2 }

GET customers/56bfed2a-8676-49ab-a42e-fe56416e77fe/transfers?status=pending returns the body:
{ _links: { self: { href: 'https://api-sandbox.dwolla.com/customers/56bfed2a-8676-49ab-a42e-fe56416e77fe/transfers?status=pending', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' }, first: { href: 'https://api-sandbox.dwolla.com/customers/56bfed2a-8676-49ab-a42e-fe56416e77fe/transfers?status=pending&limit=25&offset=0', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' }, last: { href: 'https://api-sandbox.dwolla.com/customers/56bfed2a-8676-49ab-a42e-fe56416e77fe/transfers?status=pending&limit=25&offset=0', type: 'application/vnd.dwolla.v1.hal+json', 'resource-type': 'transfer' } }, _embedded: { transfers: [] }, total: 0 }

I would expect that it would return the transfer in pending status that I was able to fetch broadly in the first query. Same results using correlationId.

I’m still experiencing this issue. Please help.

@mpavlinsky, Are you immediately making a GET to /customers/{id}/transfers after the transaction is created? If you retry the requests do those transactions show up in the response?

It appears to work correctly when waiting 30 seconds between posting the transfer and trying to fetch it by correlationId. Thanks!

Is the delay just in the sandbox or is that behavior similar in production?

Hey @mpavlinsky, there’s likely a delay for when the status is reflected and can be retrieved on a newly created transfer. I’ve passed this on to our engineering team to investigate further as it should be immediately available.