Create Charge
Generate a payment request for a Lightning Address.
Description
If instead of sending Bitcoin payments directly to a given Lightning Address, you would rather create a Payment Request QR code for that Lightning Address, you can use this API.
Usage
Depending on your system’s configuration or your product’s UX, you may need the ability to generate Charges for specific users. For ZBD users that’s easy using the ZBD Gamertag endpoints. For any user that is using a different provider, you can use this endpoint.
The way to think of this is:
First
Given user@domain.com
Lightning Address and an amount
property, this endpoint generates a Charge.
Second
If this new Charge is paid, the payment is received by user@domain.com
.
Configuration
Header Parameters
ZBD Project API Key
Content Type
Body
The Lightning Address of the intended recipient
The amount for the Charge -> in millisatoshis
Note or comment of this Charge
Was this page helpful?