Getting Started
Welcome to the Request To Pay Web SDK documentation. Whether you're a newbie in web development or a seasoned expert, this SDK is crafted to ensure easy implementation. For a full guide to walk you through the process of integrating Request To Pay services into your Web application, please, refer to the web recipe.
Prerequisites
- Modern Web Browser: The SDK is optimized for and tested on the latest versions of Chrome, Firefox, Safari, and Edge.
- Gini Account: Ensure you have registered for an account and have the necessary credentials at hand. If not, please, go to the getting started section
- Text Editor/IDE: While you can use any editor, platforms like Visual Studio Code, Atom, or WebStorm can provide better coding assistance.
Installation
Via package manager
You should begin installing the needed packages via your preferred package manager
- npm
- Yarn
npm install @gini/rtp-web-sdk
yarn add @gini/rtp-web-sdk
You can also use our TypeScript modules as well with the following package:
- npm
- Yarn
npm install @gini/rtp-web-sdk/widget
yarn add @gini/rtp-web-sdk/widget
Embedding it into your HTML code
Embedding the SDK into your web page:
<script src="https://cdn.gini-requesttopay.com/sdk/latest_version.js"></script>
Note
Make sure you replace latest_version with the most recent version of the SDK.