v1

latestOpenAPI 3.1.02026-07-241653251.3 MB
Deposits

Create a test payment for a BOLT11 deposit invoice

Simulate a payment of BOLT11 invoice deposit generated by /deposits/bolt11. (CERT only)

post/deposits/bolt11/test_payment

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

encoded_invoicestring required

The encoded invoice generated by /deposits/bolt11 endpoint

Example request

{
  "encoded_invoice": "lnbcrt2u1pndp4y5pp5hgh2..."
}

Response

Successfully simulated test payment for BOLT11 invoice.