NIP-47: Add error for payment failed

This commit is contained in:
Semisol 2023-04-27 17:24:20 +03:00 committed by GitHub
parent de095e4758
commit 5a8c463641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
47.md
View File

@ -111,6 +111,9 @@ Response:
}
```
Errors:
- `PAYMENT_FAILED`: The payment failed. This may be due to a timeout, exhausting all routes, insufficient capacity or similar.
## Example pay invoice flow
0. The user scans the QR code generated by the **wallet service** with their **client** application, they follow a `nostr+walletconnect:` deeplink or configure the connection details manually.