How to identify when a dwolla transaction has cleared? -


right i'm using transaction status webhook update app when payment changes status. other day, web server down when webhook triggered, status never updated in system, nor have way tell when payment marked "processed".

from docs, when webhook fails, try request 2 times, not helpful if site down more few seconds.

i'd status on own if possible, there doesn't seem info representing when transaction marked processed.

i'm guessing "date" date transaction initiated , "clearing date" estimate of when processed (and not updated reflect actual date when transaction processed).

if have payment's transaction id, can using transactions/by id method.

which give info payment:

{     "success": true,     "message": "success",     "response": {         "amount": 1,         "date": "8/31/2011 10:19:09 am",         "destinationid": "812-111-1111",         "destinationname": "bob",         "id": 12345,         "sourceid": "812-111-2222",         "sourcename": "alice",         "type": "money_sent",         "usertype": "dwolla",         "status": "processed",         "clearingdate": "",         "notes": "thank lunch!",         "fees": [             {                 "id": 1646163,                 "amount": 0.1,                 "type": "facilitator fee"             }         ]     } } 

the response.status field indicates transaction's current status, you're looking for.

alternatively, can use transaction/listing method list recent (and older) transactions under account, same data them shown above. can filter results , specify ranges playing request parameters narrow search down , produce list of transactions occurred while server down.

you're right clearing date being estimate of when payment clear - it's not guarantee.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -