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
Request
- Base URLhttps://api.cert.zerohash.com
- URLhttps://api.cert.zerohash.com/deposits/bolt11/test_payment
- AuthAPI key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE
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
{
"encoded_invoice": "lnbcrt2u1pndp4y5pp5hgh2..."
}Response
Successfully simulated test payment for BOLT11 invoice.
Changes
No recorded changes to this operation across all 2 revisions of this API.