The below code is an example of how you can create a charge.
using ZebedeeAPI;var handler = new ZebedeeHandler("<YOUR_ZBD_API_KEY>");var charge = await handler.CreateCharge( expiresIn: "10000", amount: "100000", description: "A Charge Created with ZBD!" );Console.WriteLine(charge.data.invoice.request);
You’re looking for the data.invoice.request property in the JSON response. It starts with lnbc1 and is the payment request anyone in the Bitcoin Lightning Network can use to pay you.
Charges and payment requests are usually shown to users as QR codes that can be scanned by mobile apps (e.g. ZBD). Read Callbacks to understand how to receive updates about your payment asynchronously.