Getting started
Integrate Cobalz in three simple steps. Our APIs are designed to be intuitive and developer-friendly.
- 1
Create an account
Sign up and get your API keys.
- 2
Set up webhooks
Configure webhooks to receive real-time events.
- 3
Onboard merchants
Start onboarding merchants through your platform.
// Install the Cobalz SDK
npm install @cobalz/sdk
// Initialize the client
import { Cobalz } from '@cobalz/sdk';
const cobalz = new Cobalz({
apiKey: process.env.COBALZ_API_KEY,
});
// Create a merchant account
const account = await cobalz.accounts.create({
email: 'merchant@example.com',
country: 'US',
});