SDK Widget


Our SDK (Software Development Kit) provides a set of tools, functions, and utilities to help developers integrate with our API more efficiently...

Installation

npm install payinfinity

To use widget in your React application, follow these steps:

Usage

import PaymentWidgetIndex from 'payinfinity'

Initialize the widget:

<PaymentWidgetIndex
  salt_key={"YOUR_SALT_KEY"}
  api_key={"YOUR_API_KEY"}
  amount={100}
  purpose={"Sample Test Pay"}
  email={"example@yopmail.com"}
  mobile={"9876543211"}
  expires_at={"09 Jun 2025 12:52 PM"}
/>