Create Charge
Lightning Charges
Create Charge
Start receiving instant Bitcoin payments through the ZBD API.
POST
Create Charge
Documentation Index
Fetch the complete documentation index at: https://zbd-restructure-docs-earn-focus.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Description
Creates a new Charge in the Bitcoin Lightning Network, payable by any Lightning-capable wallet.Usage
This API is used forreceiving funds into your ZBD Project. The primary idea is to create one of these Charges anytime someone wishes to perform a payment TO you.
On a successful 200 HTTP response from the ZBD API, you should render the contents of data.invoice.uri in a QR code. This QR code can be scanned by any Bitcoin Lightning wallet.
Configuration
Header Parameters
ZBD Project API Key
Content Type
Body
The amount for the Charge -> in millisatoshis
Note or comment for this Charge (visible to payer)
Time until Charge expiration -> in seconds
The endpoint ZBD will POST Charge updates to
Open metadata string property