Extract payment_secret and tag-s presence from BOLT11 — 5 sats
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.
5 sats via L402.
curl -X POST https://maximumsats.com/api/bolt11-payment-secret \
-H "Content-Type: application/json" \
-d '{"invoice": "lnbc..."}'
{
"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"
}