---
title: "POST /v3/lightning_invoice_bolt11"
method: POST
path: "/v3/lightning_invoice_bolt11"
---

# POST /v3/lightning_invoice_bolt11

`POST /v3/lightning_invoice_bolt11`

## Request body

- object
  - `amount` integer, required — Amount in BTC. The precision is 8 decimal places
  - `d_tag_memo` string — This will be included in the d-tag. If both d_tag_memo and h_tag_memo are provided, only h_tag will be used
  - `h_tag_memo` string — SHA-256 of the d_tag_memo. If both d_tag_memo and h_tag_memo are provided, only h_tag_memo will be used
  - `expiry_interval` integer — The expiry of the invoice in seconds. Default value is 3600 (1 hour)
  - `metadata` string, json — Set of key-value pairs to attach to the lightning_invoice_bolt11 object

## Response `200`

- object
  - `status` string — success or failure
  - `message` string — Message related to the action
  - `data` string, json — The lightning invoice bolt11 object

---

[API](https://skmtc.net/tazapay/apis/sandbox.md) · [All operations](https://skmtc.net/tazapay/apis/sandbox/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tazapay/sandbox/versions/bf5f4b8f6f5d/schema)
