Dwolla transaction ids relationship

不想你离开。 提交于 2019-12-06 15:55:42

问题


I just had a transaction that completed. The transaction Id was reported through the webhook as a an integer XXXX132. When I look at the Dwolla site of the recipient, on the receiving side the id is XXXX131 and the .25c fee has the id XXXX130.

Can I assert that for any transaction the ids are numeric and the relationships are:

Fee id: N Receivers's id: N + 1 Sender's id: N + 2

If not, how do I determine all the ids since the web hook only reports one of them.


回答1:


You are correct. We create transactions in the following order: Dwolla fee if necessary, facilitator fee if necessary, receiver, sender. Be careful assuming SenderId - 2 is the Dwolla fee because for transactions <= 10 it will be some random transaction, not the fee for your transaction.

This is subject to change at any time so I wouldn't make crucial decisions based on this information.



来源:https://stackoverflow.com/questions/14163351/dwolla-transaction-ids-relationship

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!