Skip to main content

create_invoice

Function create_invoice 

Source
async fn create_invoice(
    client: &Client,
    amount: Amount,
    description: String,
    expiry_time: Option<u64>,
    gateway_id: Option<PublicKey>,
    force_internal: bool,
) -> Result<Value>
Expand description

Create a legacy Lightning invoice through the selected gateway.