Build your first payment integration
This quickstart guide will walk you through setting up FundKit and processing your first payment in just a few minutes.Prerequisites: Node.js 16+ and npm/yarn/pnpm/bun installed on your machine.
Step 1: Install FundKit
Install the core package and your chosen providers:Step 2: Get API Keys
Sandbox Keys (Recommended for testing)
Sandbox Keys (Recommended for testing)
For testing, you can use FundKit’s unified sandbox:
bash FUNDKIT_API_KEY=fk_test_your_sandbox_key_here
Sandbox keys let you test immediately without provider approval!
Provider Keys (For production)
Provider Keys (For production)
Get API keys from your chosen providers: HoneyCoin: - Sign up at
honeycoin.io - Get your API key and public key from the dashboard
EasyPay: - Register at easypay.ug - Obtain your client ID and API
secret
Step 3: Initialize the Payment Client
Create a new file
payment.js
(or payment.ts
for TypeScript):Step 4: Process Your First Payment
Step 5: Run Your Integration
Set up your environment variables in a Then run your code:
.env
file:.env
Success!
You should see output similar to:Next Steps
Core Concepts
Learn about providers, transactions, and error handling
Provider Setup
Configure specific payment providers
Error Handling
Handle errors gracefully in production
API Reference
Explore the complete FundKit API
Important: Always use sandbox mode for testing. Switch to production mode only when you’re
ready to process real payments.
Need Help?
Join our Discord Community
Get help from other developers and the FundKit team