BOLT11 Payment Secret Inspector

Extract payment_secret and tag-s presence from BOLT11 — 5 sats

About

Extract payment secret details from BOLT11 invoices, including whether explicit s tag data is present and whether the secret format is valid 32-byte hex.

Try It

5 sats via L402.

API Usage

curl -X POST https://maximumsats.com/api/bolt11-payment-secret \
  -H "Content-Type: application/json" \
  -d '{"invoice": "lnbc..."}'

Sample Response

{
  "ok": true,
  "currency": "bc",
  "payment_hash": "...",
  "has_payment_secret": true,
  "payment_secret": "4f0c...a91e",
  "payment_secret_length_bytes": 32,
  "payment_secret_format_valid": true,
  "secret_tag_source": "tag_s"
}
Also available via MCP at maximumsats.com/mcp