Getting Started
Getting Started with ChargX
This guide will help you set up your ChargX account, obtain your Publishable API key, and prepare your environment for integration.
Step 1. Create an Account
- Go to the dashboard.chargx.io.
- Click Sign Up, fill in your basic details and pass KYC
- Once verified, you'll be redirected to your Dashboard.
Step 2. Obtain API Key
Each project has its own API key that you'll use to authenticate requests.
- Go to Settings → Publishable API Keys.
- Create one and copy your:
- Publishable API Keys — used in client-side SDKs
Step 3: Use the SDK or API
Once you have your API key, you can start integrating payments either by using our official SDKs or by calling the REST API directly.
Option 1. Install the SDK
We provide official SDKs for popular environments to make integration fast and secure.
React SDK
# via npm
npm install @chargx/sdk
# or via yarn
yarn add @chargx/sdkRead the SDK integration documentation https://www.npmjs.com/package/@chargx/sdk
Option 2. Use the REST API directly
If you prefer a lightweight approach or use a language we don't yet support, you can make HTTPS requests directly to the REST API.
Read the API documentation.
Step 4. Switch to Production
When ready to go live:
- Complete the KYC verification process
- Switch to Production mode (see Testing Guide)