TBD54566975 / tbdex

56 stars 25 forks source link

fee PaymentMethod parameter seems underspecified #266

Open selfissued opened 6 months ago

selfissued commented 6 months ago

The fee value in the PaymentMethod type is a DecimalString. That seems to presume that the fee is constant independent of the payment amount, which I believe is sometimes not accurate. Percentage-based transaction fees are also common.

Again, what do other financial protocols do in this regard, such as SWIFT? Are the fees expressed in the protocol, and if so, how?

mistermoe commented 6 months ago

thanks for flagging @selfissued. including a link to more context as a reminder to myself when i update the spec text: https://github.com/TBD54566975/tbdex/pull/198#issuecomment-1846455173