Transactions
Memo | date | amount |
---|
Admin key: {{ adminkey }}
Invoice/Read key: {{ inkey }}
Generate an invoice:
Header
Body
Returns
*payment will not register in the wallet until the "check invoice" endpoint is used
Check invoice:
Check an invoice:
Header
Returns
*if using LNTXBOT return will hang until paid
Invoice/Read key: {{ inkey }}
Generate an invoice:
POST /v1/invoices
Header
{"Grpc-Metadata-macaroon": "{{ inkey }}"}
Body
{"value": "200","memo": "beer"}
Returns
{"pay_req": string,"pay_id": string}
*payment will not register in the wallet until the "check invoice" endpoint is used
Check invoice:
Check an invoice:
GET /v1/invoice/*payment_hash*
Header
{"Grpc-Metadata-macaroon": "{{ inkey }}"}
Returns
{"PAID": "TRUE"}/{"PAID": "FALSE"}
*if using LNTXBOT return will hang until paid
This whole wallet will be deleted, the funds will be UNRECOVERABLE