Add Stakeholder
A dialog box for granting third-party access to an encrypted invoice created via Request Finance
The add-stakeholder
component allows Builders to quickly integrate the Request Finance Add Stakeholder widget into their applications.
The Request Finance Add Stakeholder widget provides a dialog box for end-users to grant third-party access to one of their encrypted payment requests created via Request Finance. Then, under the hood, Request Finance calls request.addStakeholders()
to add the third party as a stakeholder to the encrypted payment request.
Access is granted on a per-request basis. Once we prove market demand for this feature, we hope that Request Finance will improve its widget to allow granting access to multiple requests at a time.
The template comes in the form of a Web Component and a native Svelte component, provided by the @requestnetwork/add-stakeholder package. The Web Component can be used anywhere including, but not limited to, React, Next.js, Vue, Svelte, or as a browser script.
Installation
Usage
Web Component in React, Next.js, or Vue
Native Svelte component
Web Component in Svelte
Web Component in Browser
Last updated