Problem type URIs used in application/problem+json error
responses per RFC 9457.
| Type | Status | Description |
|---|---|---|
payment-required |
402 |
Resource requires payment |
payment-insufficient |
402 |
Amount too low |
payment-expired |
402 |
Challenge or authorization expired |
verification-failed |
402 |
Proof invalid |
method-unsupported |
400 |
Method not accepted |
malformed-credential |
402 |
Invalid credential format |
invalid-challenge |
402 |
Challenge ID unknown or already used |
bad-request |
400 |
Malformed request or invalid parameters |
invalid-payload |
402 |
Credential payload does not match schema |
internal-payment-error |
500 |
Unexpected payment processing error |
payment-action-required |
402 |
Payment requires additional action |
| Type | Status | Description |
|---|---|---|
settlement-failed |
402 |
The credential was valid but settlement did not complete. |
| Type | Status | Description |
|---|---|---|
session/invalid-signature |
402 |
The voucher or close-request signature could not be verified. |
session/signer-mismatch |
402 |
The signer is not authorized for this payment channel. |
session/amount-exceeds-deposit |
402 |
The voucher amount exceeds the channel deposit. |
session/delta-too-small |
402 |
The amount increase is below the server's minimum voucher delta. |
session/channel-not-found |
410 |
No payment channel with this ID exists. |
session/channel-finalized |
410 |
The payment channel has been closed and can no longer accept vouchers. |
session/challenge-not-found |
402 |
The challenge ID is unknown or has expired. |
session/insufficient-balance |
402 |
There is insufficient authorized balance in the channel for this request. |
session/insufficient-value |
402 |
The session lacks the value the requested service needs. |
session/transaction-reverted |
409 |
An on-chain open, top-up, settle, or close transaction reverted. |
session/invalid-proof |
402 |
A session-key signature did not verify, the session key is already bound, or an open replays a deposit hash with a different session key. |
session/not-found |
402 |
The session reference does not match any session stored by this server. |
session/closed |
402 |
The session is closing or closed; the body carries the close result. |
session/stale-update |
402 |
The voucher's cumulative amount is below the highest accepted voucher. |
| Type | Status | Description |
|---|---|---|
lightning/malformed-credential |
402 |
The credential could not be decoded, or a required field is absent or of the wrong type. |
lightning/unknown-challenge |
402 |
The challenge ID is not one this server issued, or it has already been consumed. |
lightning/invalid-preimage |
402 |
The SHA-256 hash of the preimage does not equal the payment hash stored for the challenge. |
lightning/expired-invoice |
402 |
The BOLT11 invoice for this challenge, or the challenge itself, has passed its expiry time. |
lightning/session-not-found |
402 |
No session with this ID exists. |
lightning/session-closed |
402 |
The session is closed and accepts no further actions. |
lightning/insufficient-balance |
402 |
The session balance is insufficient for the requested operation. |
lightning/challenge-expired |
402 |
The challenge has passed its expiry time; the client must obtain a fresh one. |
lightning/invalid-return-invoice |
402 |
The return invoice is not a valid BOLT11 invoice, or it encodes a non-zero amount. |