Skip to content

Commit f21ea7a

Browse files
MantisClonegitbook-bot
authored andcommitted
GITBOOK-131: feat: add stop-recurrence and pay API endpoints, add EasyInvoice Direct Payment page
1 parent b1695e7 commit f21ea7a

File tree

9 files changed

+28
-14
lines changed

9 files changed

+28
-14
lines changed
249 KB
Loading
-239 KB
Loading
423 KB
Loading

docs/.gitbook/assets/image (1).png

-24.6 KB
Loading

docs/.gitbook/assets/image.png

67 KB
Loading

docs/advanced/request-network-sdk/sdk-demo-apps/components/invoice-dashboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ layout:
1515

1616
# Invoice Dashboard
1717

18-
<div data-full-width="false"><figure><img src="../../../../.gitbook/assets/image (1) (1) (1).png" alt=""><figcaption><p>Screenshot of @requestnetwork/invoice-dashboard 0.3.0</p></figcaption></figure></div>
18+
<div data-full-width="false"><figure><img src="../../../../.gitbook/assets/image (1) (1) (1) (1).png" alt=""><figcaption><p>Screenshot of @requestnetwork/invoice-dashboard 0.3.0</p></figcaption></figure></div>
1919

2020
<table data-view="cards" data-full-width="false"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td><span data-gb-custom-inline data-tag="emoji" data-code="1f579">🕹️</span> <strong>Try it out</strong> </td><td></td><td><a href="https://invoicing.request.network">https://invoicing.request.network</a></td></tr><tr><td></td><td><span data-gb-custom-inline data-tag="emoji" data-code="25b6">▶️</span> <strong>Demo Video</strong></td><td></td><td><a href="../#request-invoicing-demo-video">#request-invoicing-demo-video</a></td></tr><tr><td></td><td><span data-gb-custom-inline data-tag="emoji" data-code="1f3d7">🏗️</span> <strong>Integration Video</strong></td><td></td><td><a href="../#request-invoicing-integration-video">#request-invoicing-integration-video</a></td></tr><tr><td></td><td><span data-gb-custom-inline data-tag="emoji" data-code="1f4e6">📦</span> <strong>View on NPM</strong></td><td></td><td><a href="https://www.npmjs.com/package/@requestnetwork/invoice-dashboard">https://www.npmjs.com/package/@requestnetwork/invoice-dashboard</a></td></tr><tr><td></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2139">ℹ️</span> <strong>View Source</strong></td><td></td><td><a href="https://github.com/RequestNetwork/web-components/tree/main/packages/invoice-dashboard">https://github.com/RequestNetwork/web-components/tree/main/packages/invoice-dashboard</a></td></tr></tbody></table>
2121

docs/advanced/request-network-sdk/sdk-demo-apps/request-invoicing/pay-from-safe-multisig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ The Request Network Templates and Example Apps support paying a request from a S
1313

1414
* Click the **WalletConnect** button on the Safe top-navigation bar and paste the **Pairing Code** into the resulting dialog.
1515

16-
<figure><img src="../../../../.gitbook/assets/image (1) (1).png" alt=""><figcaption></figcaption></figure>
16+
<figure><img src="../../../../.gitbook/assets/image (1) (1) (1).png" alt=""><figcaption></figcaption></figure>
1717

1818
<figure><img src="../../../../.gitbook/assets/image (2) (1).png" alt=""><figcaption></figcaption></figure>

docs/request-network-api/create-and-pay-requests.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,33 @@ Discover how Request Network API can enhance your app's features - [book a call]
1616

1717
At its core, the Request Network API empowers you to:
1818

19-
* **Create Requests:** Define payment requests with information such as payee, payer (optional), amount, and currency details.
19+
* **Create Requests:** Define payment requests with information such as payee, payer (optional), amount, currency, and recurrence (optional).
2020
* **Facilitate Payments:** Return transaction calldata, ready to be signed by end-users and sent to the blockchain for secure and transparent value transfer.
2121
* **Deliver Webhook Notifications:** Receive instant updates on payment status changes, enabling your application to react dynamically to completed transactions.
2222

23-
{% swagger src="https://api.request.network/open-api/openapi.json" path="/v1/request" method="post" %}
23+
{% openapi src="https://api.request.network/open-api/openapi.json" path="/v1/request" method="post" %}
2424
[https://api.request.network/open-api/openapi.json](https://api.request.network/open-api/openapi.json)
25-
{% endswagger %}
25+
{% endopenapi %}
2626

27-
{% hint style="warning" %}
28-
The `invoiceCurrency`and `paymentCurrency` strings must each be the `id` of a token listed in the [request-network-token-list.md](../general/request-network-token-list.md "mention")
29-
{% endhint %}
27+
{% openapi src="https://api.request.network/open-api/openapi.json" path="/v1/request/{paymentReference}" method="get" %}
28+
[https://api.request.network/open-api/openapi.json](https://api.request.network/open-api/openapi.json)
29+
{% endopenapi %}
30+
31+
{% openapi src="https://api.request.network/open-api/openapi.json" path="/v1/request/{paymentReference}/stop-recurrence" method="patch" %}
32+
[https://api.request.network/open-api/openapi.json](https://api.request.network/open-api/openapi.json)
33+
{% endopenapi %}
3034

31-
{% swagger src="https://api.request.network/open-api/openapi.json" path="/v1/request/{paymentReference}" method="get" %}
35+
36+
37+
{% openapi src="https://api.request.network/open-api/openapi.json" path="/v1/request/{paymentReference}/pay" method="get" %}
3238
[https://api.request.network/open-api/openapi.json](https://api.request.network/open-api/openapi.json)
33-
{% endswagger %}
39+
{% endopenapi %}
3440

35-
{% swagger src="https://api.request.network/open-api/openapi.json" path="/v1/request/{paymentReference}/pay" method="get" %}
41+
{% openapi src="https://api.request.network/open-api/openapi.json" path="/v1/pay" method="post" %}
3642
[https://api.request.network/open-api/openapi.json](https://api.request.network/open-api/openapi.json)
37-
{% endswagger %}
43+
{% endopenapi %}
44+
45+
3846

3947
For detailed information on all available endpoints and their parameters, please refer to the full [Request Network API Reference](https://api.request.network/open-api)
4048

docs/request-network-api/easyinvoice-api-demo-app.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Discover how your app can have its own EasyInvoice features - [book a call](http
1818

1919
* **Google Login**: Securely log in to your account using Google OAuth.
2020

21-
<figure><img src="../.gitbook/assets/image.png" alt=""><figcaption><p>EasyInvioce Login Page</p></figcaption></figure>
21+
<figure><img src="../.gitbook/assets/image (1).png" alt=""><figcaption><p>EasyInvioce Login Page</p></figcaption></figure>
2222

2323
### **Invoice Creation**
2424

@@ -45,7 +45,13 @@ Discover how your app can have its own EasyInvoice features - [book a call](http
4545

4646
<figure><img src="../.gitbook/assets/Screenshot from 2025-02-14 01-01-00.png" alt=""><figcaption><p>EasyInvoice Invoice Payment Page</p></figcaption></figure>
4747

48-
<figure><img src="../.gitbook/assets/image (1).png" alt=""><figcaption><p>EasyInvoice supports 50+ wallets via Reown AppKit</p></figcaption></figure>
48+
<figure><img src="../.gitbook/assets/image (1) (1).png" alt=""><figcaption><p>EasyInvoice supports 50+ wallets via Reown AppKit</p></figcaption></figure>
49+
50+
### Direct Payment
51+
52+
* **Direct Payment**: Send a payment without having to create a request first.
53+
54+
<figure><img src="../.gitbook/assets/image.png" alt=""><figcaption><p>EasyInvoice Direct Payment page</p></figcaption></figure>
4955

5056
<table data-card-size="large" data-view="cards" data-full-width="false"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td><span data-gb-custom-inline data-tag="emoji" data-code="1f579">🕹️</span> <strong>Try it out</strong></td><td></td><td><a href="https://easyinvoice.request.network">https://easyinvoice.request.network</a></td></tr><tr><td></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2139">ℹ️</span> <strong>View Source</strong></td><td></td><td><a href="https://github.com/RequestNetwork/easy-invoice">https://github.com/RequestNetwork/easy-invoice</a></td></tr></tbody></table>
5157

0 commit comments

Comments
 (0)