Commit graph

19 commits

Author SHA1 Message Date
silverpill
5ff2d19837 Add expires_at field to Invoice object
Also increase timeout to 3 hours

https://codeberg.org/silverpill/mitra/issues/23
2022-11-25 15:04:46 +00:00
silverpill
65661698c7 Pass instance as ref to activity builders 2022-10-22 11:33:23 +00:00
silverpill
dd6317561e Require subscription price to be positive number 2022-09-19 18:39:51 +00:00
silverpill
a1ab21a702 Store requested payment amount for each invoice 2022-09-19 00:50:31 +00:00
silverpill
02408ae57a Allow user to change subscription settings 2022-09-15 20:50:31 +00:00
silverpill
5b071f050b Rename /api/v1/subscriptions/enable to /api/v1/subscriptions/options 2022-09-08 10:05:34 +00:00
silverpill
596c13c0bb Remove deprecated Subscription API methods 2022-09-08 09:58:57 +00:00
silverpill
714b872a5d Prevent creation of invoices where sender is the same as the recipient 2022-09-07 11:57:25 +00:00
silverpill
86fe717a77 Add API method for checking invoice status 2022-09-07 10:48:40 +00:00
silverpill
b0e79e26a4 Change invoice API to accept sender ID instead of acct 2022-09-06 19:08:50 +00:00
silverpill
6accf8ac2e Add API method for finding subscription by participants 2022-09-06 19:08:50 +00:00
silverpill
f218936caa Create API method /api/v1/subscriptions/options 2022-09-06 17:54:51 +00:00
silverpill
cd09fe0801 Add API method for generating invoices 2022-08-31 20:42:58 +00:00
silverpill
423eec0a2c Add MoneroSubscription payment option 2022-08-31 20:42:57 +00:00
silverpill
260e62d51b Allow blockchain configuration to be defined using a list
Multi-chain configurations are still not allowed.
2022-08-31 20:42:55 +00:00
silverpill
c5c3911de6 Require chain ID field in payment options of ethereum type 2022-08-29 22:28:34 +00:00
silverpill
ea4d15da48 Remove default_currency() method from config object
Preparing for multi-currency deployments.
2022-08-28 18:53:32 +00:00
silverpill
b3fb1c612c Rewrite /api/v1/subscriptions/enable handler to support more subscription types 2022-08-26 15:57:35 +00:00
silverpill
daaa0855a6 Use /api/v1/subscriptions prefix for subscription API methods 2022-08-25 19:16:46 +00:00