Dwolla交易ID关系 [英] Dwolla transaction ids relationship
问题描述
我刚刚完成了一笔交易.通过Webhook将事务ID报告为整数XXXX132.当我查看收件人的Dwolla站点时,在接收方,id为XXXX131,.25c费用为ID XXXX130.
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.
我可以断言,对于任何交易,id都是数字的,并且它们之间的关系是:
Can I assert that for any transaction the ids are numeric and the relationships are:
费用编号:N 接收者编号:N +1 寄件者编号:N + 2
Fee id: N Receivers's id: N + 1 Sender's id: N + 2
如果没有,我该如何确定所有ID,因为Web挂钩仅报告其中之一.
If not, how do I determine all the ids since the web hook only reports one of them.
推荐答案
您是正确的.我们按以下顺序创建交易:必要时收取Dwolla费用,必要时收取协助费,接收方,发送方.小心地假设SenderId-2是Dwolla的费用,因为对于< = 10的交易,它将是一些随机交易,而不是您的交易费用.
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.
这篇关于Dwolla交易ID关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!