curl --request POST \
--url https://api.example.com/api/v1/lightning/receives/invoice \
--header 'Content-Type: application/json' \
--data '
{
"amount_sat": 1
}
'{
"invoice": "<string>"
}Generates a new BOLT11 invoice for the specified amount via the Ark server, creating a pending Lightning receive.
curl --request POST \
--url https://api.example.com/api/v1/lightning/receives/invoice \
--header 'Content-Type: application/json' \
--data '
{
"amount_sat": 1
}
'{
"invoice": "<string>"
}Was this page helpful?