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.- JavaScript/TypeScript
- Python
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
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
- JavaScript/TypeScript
- Python
Create a new file
payment.js (or payment.ts for TypeScript):Step 4: Process Your First Payment
- JavaScript/TypeScript
- Python
Step 5: Run Your Integration
- JavaScript/TypeScript
- Python
Set up your environment variables in a Then run your code:
.env file:.env
Success!
You should see output similar to:- JavaScript/TypeScript
- Python
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
Need Help?
Join our Discord Community
Get help from other developers and the FundKit team