Fixing format

This commit is contained in:
Vitor Pamplona 2023-11-28 10:43:19 -05:00
parent 70a8cae74a
commit 8e8826e2a3

36
88.md
View File

@ -19,16 +19,22 @@ Clients SHOULD expect that the same request might be sent multiple times, if the
Supporting relays SHOULD make sure the description is the same for similar requests across subscriptions and minimize the number of times this request is sent to avoid annoying users with multiple interruptions.
## Example of use
## Examples of use
### Subscription Renewals
Paid relays often run into friction when renewing subscriptions or when upselling users to the next plan they have available. The API described here allows clients to ease the subscription payment process on an as-needed basis.
Paid relays often run into friction when renewing subscriptions. The API described here allows clients to ease the subscription payment process on an as-needed basis.
```js
[
"NOTIFY",
"Your subscription has expired. You can renew your access for the next 30 days by simply paying the invoice below. \n lnbc... \n By paying this invoice, you are accepting our terms and conditions. You can read the terms and see additional subscription options on http://relay.com/plans \n If you do not intend to use this relay anymore, please remove it from your relay list."
"""
Your subscription has expired. You can renew your access for the next 30 days by simply paying the invoice below. \n
lnbc... \n
By paying this invoice, you are accepting our terms and conditions. \n
You can read the terms and see additional subscription options on http://relay.com/plans \n
If you do not intend to use this relay anymore, please remove it from your relay list. \n
"""
]
```
@ -39,7 +45,14 @@ Relays can now progressively upgrade their user's subscriptions based on their u
```js
[
"NOTIFY",
"You are out of space. You add another GB of data storage to your account by simply paying the invoice below. \n lnbc... \n By paying this invoice, you are accepting our terms and conditions. You can read the terms and see additional subscription options on http://relay.com/plans \n Until you choose a new plan, we cannot accept new data from this client."
"""
You are out of space. \n
You add another GB of data storage to your account by simply paying the invoice below. \n
lnbc... \n
By paying this invoice, you are accepting our terms and conditions. \n
You can read the terms and see additional subscription options on http://relay.com/plans \n
Until you choose a new plan, we cannot accept new data from this client. \n
"""
]
```
@ -50,7 +63,14 @@ Relays can offer paid access to specific event kinds or add protections to the c
```js
[
"NOTIFY",
"Our public plan does not accept private messages and large files, but Gold members can store up to 10000 messages and 1GB of files. You can join our Gold plan by simply paying the invoice below. \n lnbc... \n By paying this invoice, you are accepting our terms and conditions. You can read the terms and see additional subscription options on http://relay.com/plans \n Until you choose a new plan, we cannot accept new data from this client."
"""
Our public plan does not accept private messages and large files, but Gold members can store up to 10000 messages and 1GB of files. \n
You can join our Gold plan by simply paying the invoice below. \n
lnbc... \n
By paying this invoice, you are accepting our terms and conditions. \n
You can read the terms and see additional subscription options on http://relay.com/plans \n
Until you choose a new plan, we cannot accept new data from this client."
"""
]
```
@ -61,6 +81,10 @@ If relays are fundraising, they can send a one-time message to their connected u
```js
[
"NOTIFY",
"We hope you are enjoying your experience with relay.com. This year, you used over 1GB of traffic and we store 10K of your events. Please consider a donation in the link below: http://relay.com/fundraising"
"""
We hope you are enjoying your experience with relay.com. \n
This year, you used over 1GB of traffic and we store 10K of your events. \n
Please consider a donation in the link below: http://relay.com/fundraising
"""
]
```