---
title: "Create a test payment for a BOLT11 deposit invoice"
method: POST
path: "/deposits/bolt11/test_payment"
tags: ["Deposits"]
---

# Create a test payment for a BOLT11 deposit invoice

`POST /deposits/bolt11/test_payment`

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

## Headers

- `X-SCX-SIGNED` string, required
- `X-SCX-TIMESTAMP` string, required

## Request body

- PostBOLT11TestPaymentBody
  - `encoded_invoice` string, required — The encoded invoice generated by /deposits/bolt11 endpoint

## Response `200`

Successfully simulated test payment for BOLT11 invoice.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/zerohash/apis/zerohash-api.md) · [All operations](https://skmtc.net/zerohash/apis/zerohash-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zerohash/zerohash-api/revisions/8b647d934363/schema)
