Checks the status of an invoice based on a specific id in the query parameter.
If the invoice is paid then a discharge macaroon will be attached to the session.
The discharge macaroon can have a custom caveat set on it based on configs passed into
Boltwall on initialization of the middleware.
Generate a new invoice based on a given request.
This will also create a new root macaroon to associate with the session.
The root macaroon and associated 3rd party caveat must be satisfied
before access to the protected route will be granted
Route: GET /invoice
Checks the status of an invoice based on a specific id in the query parameter. If the invoice is paid then a discharge macaroon will be attached to the session. The discharge macaroon can have a custom caveat set on it based on configs passed into Boltwall on initialization of the middleware.