Check plaintext vs hash-only invoice descriptions — 5 sats
Inspect whether a BOLT11 invoice carries a plaintext description tag (d) or a description hash tag (h). Useful for compliance, metadata handling, and display decisions.
5 sats via L402.
curl -X POST https://maximumsats.com/api/bolt11-description \
-H "Content-Type: application/json" \
-d '{"invoice": "lnbc..."}'
{
"ok": true,
"currency": "bc",
"has_description": false,
"description": null,
"has_description_hash": true,
"description_hash": "8f8f...abcd",
"description_mode": "hash_only",
"payment_hash": "..."
}