cURL
curl --request GET \ --url https://service-sandbox.tazapay.com/v3/lightning_invoice_bolt11/{id} \ --header 'Authorization: Basic <encoded-value>'
{ "status": "success", "message": "", "data": { "id": "l11_abc123xyz", "object": "lightning_invoice_bolt11", "amount": 123456, "d_tag_memo": "Payment for order #7890", "h_tag": null, "collect": "col_98765", "expiry_interval": 3600, "metadata": { "order_id": "7890", "customer_id": "cust_456" }, "status": "active", "payment_status": "unpaid", "created_at": "2025-09-28T08:15:30Z", "updated_at": "2025-09-28T08:20:45Z" } }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
ID of an existing lightning_invoice_bolt11
Status of the request
Additional message describing the status
The lightning_invoice_bolt11 object
Was this page helpful?