L402 Explorer

This website aims to help explore L402 APIs. It will serve to learn about the L402 protocol, and help developers test the workings of L402 APIs.

Features

  • Make an HTTP request to a custom URL.
    • Stretch: select the HTTP method to use, GET by default.
  • If 402 Request for Payment received, display contents of Payment Request ie. Macaroon and Invoice.
    • Stretch: Display invoice both as text and as QR code to facilitate payment.
  • Provide field to input payment preimage once invoice has been paid.
  • Construct L402 token and repeat request.
  • Display body of response once succesful request is performed.