v1
latestOpenAPI 3.1.02026-07-241653251.3 MBDeposits
Create a BOLT11 invoice for deposit
Creates a Lightning Network invoice (BOLT11) to deposit funds to the informed participant account.
post/deposits/bolt11
Headers
X-SCX-SIGNEDstring required
HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.
X-SCX-TIMESTAMPstring required
Example:1678901234
Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.
Request body
Example request
{
"amount": "1.00000001",
"participant_code": "CUST01",
"account_label": "general",
"test_mode": true,
"test_type": "deposit",
"test_memo": "invoice_test_12345"
}Response
Successfully created BOLT11 Lightning Network invoice. Returns the created resource with generated IDs and timestamps.
Example response
{
"encoded_invoice": "lnbcrt2u1pndp4y5pp5hgh2...",
"expiration": "2026-05-04T12:45:00Z"
}