Switch to used budget instead of remaining

This commit is contained in:
Jeremy Klein 2024-09-22 21:32:42 -07:00
parent 1c96bc45cf
commit 9dd2256a2a

2
47.md
View File

@ -393,7 +393,7 @@ Response:
{ {
"result_type": "get_budget", "result_type": "get_budget",
"result": { "result": {
"remaining_budget_msats": 10000, "used_budget_msats": 10000,
"total_budget_msats": 100000, "total_budget_msats": 100000,
"renews_at": 1693876973, // timestamp in seconds since epoch, optional. If not provided, the budget does not renew. "renews_at": 1693876973, // timestamp in seconds since epoch, optional. If not provided, the budget does not renew.
"renewal_period": "monthly", // daily|weekly|monthly|yearly|never "renewal_period": "monthly", // daily|weekly|monthly|yearly|never