Contribute to the specification at https://github.com/lnproxy/spec
$ curl \
--header "Content-Type: application/json" \
--request POST \
--data '{
"invoice":"<bolt11 invoice>",
"description":"<new description>", // optional
"description_hash":"<new description hash>", // optional
"routing_msat":"<routing budget in msats>", // optional
}' \
https://lnproxy.org/spec
{
"proxy_invoice": "<bolt11 proxy invoice>"
}
$ torify curl \
--header "Content-Type: application/json" \
--request POST \
--data '{"invoice":"<bolt11 invoice>"}' \
http://rdq6tvulanl7aqtupmoboyk2z3suzkdwurejwyjyjf4itr3zhxrm2lad.onion/spec
{
"proxy_invoice": "<bolt11 proxy invoice>"
}