mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Added encryption description for encrypted job feedback events
This commit is contained in:
parent
6de35f9e6a
commit
53510fcd24
17
90.md
17
90.md
|
@ -167,6 +167,23 @@ Service providers can give feedback about a job back to the customer.
|
|||
|
||||
* NOTE: If the input params requires input to be encrypted, then `content` field will have encrypted payload with `p` tag as key.
|
||||
|
||||
* ## Encrypted Params
|
||||
|
||||
The DVM might reply with an ecrypted Job Feedback. If `content` would have been provided originally, it is replaced by a `content` tag instead.
|
||||
|
||||
```json
|
||||
[
|
||||
["content", "Please pay 5000 sats"],
|
||||
["status", "payment-required"],
|
||||
["amount", "5000", "lnbc501U1.."],
|
||||
["e", "23423413124234"]
|
||||
]
|
||||
|
||||
```
|
||||
|
||||
In the same way as Job Requests, this param data will be encrypted and added to the `content` field and `p` tag should be present
|
||||
|
||||
|
||||
### Job feedback status
|
||||
|
||||
| status | description |
|
||||
|
|
Loading…
Reference in New Issue
Block a user