{% extends "base.html" %} {% from "macros.jinja" import window_vars with context %} {% block scripts %} {{ window_vars(user, wallet) }} {% assets filters='rjsmin', output='__bundle__/core/chart.js', 'vendor/chart.js@2.9.3/chart.min.js' %} {% endassets %} {% assets filters='rjsmin', output='__bundle__/core/wallet.js', 'vendor/bolt11/utils.js', 'vendor/bolt11/decoder.js', 'vendor/vue-qrcode@1.0.2/vue-qrcode.min.js', 'core/js/wallet.js' %} {% endassets %} {% endblock %} {% block page %}
POST /api/v1/invoices
{"Grpc-Metadata-macaroon": "{{ wallet.inkey }}"}
{"value": "200","memo": "beer"}
{"pay_req": string,"pay_id": string}
GET /api/v1/invoice/*payment_hash*
{"Grpc-Metadata-macaroon": "{{ wallet.inkey }}"}
{"PAID": "TRUE"}/{"PAID": "FALSE"}
This whole wallet will be deleted, the funds will be UNRECOVERABLE.
Memo: {{ send.invoice.description }}
Expire date: {{ send.invoice.expireDate }}
Hash: {{ send.invoice.hash }}