mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 20:28:23 +00:00
This commit refactors the payment system to use a temporary balance approach. It introduces a new module for payment methods, allowing for future expansion beyond just Cashu tokens. The existing `credit_balance` function is replaced with `credit_temporary_balance`, and the `topup` endpoint is updated to support multiple payment methods. Co-authored-by: db2002dominic <db2002dominic@gmail.com>