diff --git a/83.md b/83.md index f8ce804..8048451 100644 --- a/83.md +++ b/83.md @@ -27,21 +27,23 @@ There are two simple clients sending json over [NIP04](https://github.com/nostr- `service client` sends `create_invoice` event: ```json -{ "create_invoice": { - "amount": int, - "memo": "", - "description_hash": "" -} +{ + "create_invoice":{ + "amount":"int", + "memo":"", + "description_hash":"" + } } ``` `funding source client` checks the pubkey has permission and sends `generated_invoice` event: ```json -{ "generated_invoice": { - "payment_hash": "", - "payment_request": "" - } +{ + "generated_invoice":{ + "payment_hash":"", + "payment_request":"" + } } ``` @@ -50,10 +52,11 @@ There are two simple clients sending json over [NIP04](https://github.com/nostr- `service client` sends `pay_invoice` event: ```json -{ "pay_invoice": { - "invoice": "", - "note": "" -} +{ + "pay_invoice":{ + "invoice":"", + "note":"" + } } ``` @@ -62,18 +65,19 @@ There are two simple clients sending json over [NIP04](https://github.com/nostr- `service client` sends `check_payment` event: ```json -{ "check_payment": { - "payment_hash": "" - } +{ + "check_payment":{ + "payment_hash":"" + } } - ``` `funding source client` checks the pubkey has permission, checks the payment status and sends `payment_status` event: ```json -{ "payment_status": { - "paid": "" - } +{ + "payment_status":{ + "paid":"" + } } ```