diff --git a/README.md b/README.md index 8a51e261..5763d1b2 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Example: #### Client created secret If the client creates the secret the client only needs to share the public key of that secret for authorization. The user authorized that pubkey and no sensitivate data needs to be shared. -##### Query parameter options +##### Query parameter options for /new - `c`: the name of the client app - `pubkey`: the public key of the client's secret for the user to authorize - `return_to`: (optional) if a `return_to` URL is provided the user will be redirected to that URL after authorization. The `lud16`, `relay` and `pubkey` query parameters will be added to the URL. @@ -79,6 +79,7 @@ If the client creates the secret the client only needs to share the public key o - `max_amount` (optional) maximum amount in sats that can be sent per renewal period - `budget_renewal` (optional) reset the budget at the end of the given budget renewal. Can be `never` (default), `daily`, `weekly`, `monthly`, `yearly` - `editable` (optional) set to `false` to disable form editing by the user +- `request_methods` (optional) url encoded, space seperated list of request types that you need permission for: `pay_invoice` (default), `get_balance` (see NIP47) Example: