breez / fiatlink

36 stars 5 forks source link

Add support for recurring payments #29

Open raweber42 opened 2 days ago

raweber42 commented 2 days ago

Currently, it doesn't seem that recurring payments to the same order are supported. For us at lipa, this is a essential part of creating an order, as our users like to setup recurring payments. The way our implementation works, we cannot provide a quote upfront. The exchange happens only once the money arrives in our company bank account.

We should be able to place an order such that the user can use the same order to make several payments in order to DCA (Dollar cost averaging).

Is anything like this planned to be added to this spec? We are open to contributing.

aljazceru commented 1 day ago

@raweber42 LSPS1 doesn't require quotes, it only supports them

if you look at https://github.com/breez/fiatlink/blob/main/FLS01/README.md#quote there is ìs_estimate field in the reponse:

So your requirement is that the order id is persistent - at least the way user sees it? Is that for direct debit or automated credit card payments scenario?