PayButton / paybutton-server

Manage eCash payments received through your online business.
MIT License
7 stars 2 forks source link

Add 'inputs' as an 'available variable' to be sent in the Payment Trigger Post Data #869

Open Klakurka opened 2 months ago

Klakurka commented 2 months ago

Make it an array, but sorted by "amount contributed" DESC. We can include the address and the amount for each.

Example:

[{"address": "ecash:qrmm7ed0px8tydrlhgvu3putwpwzlfyr0uzfc0slxp", "amount": 500000}, {"address": "ecash:qzqh7rwaq9zm4zcv40lh9c9u50gy07gces5kxku0vd", "amount": 1000}]

One use case here is that sites could potentially send tokens back to the address where the money came from.