Add Pay-Later to YourCheckout in Minutes
Integrate Credvia's credit sales infrastructure into your fintech, marketplace, or POS platform with our comprehensive APIs and SDKs.
Why Build With Credvia
Join hundreds of developers building the future of credit sales in Africa
Lightning Fast
Integrate in minutes, not months. Our APIs are designed for speed and simplicity.
Bank-Level Security
Enterprise-grade security with end-to-end encryption and compliance standards.
Developer First
Comprehensive documentation, SDKs, and dedicated developer support.
Scalable Infrastructure
Handle millions of transactions with our cloud-native architecture.
Africa Focused
Built specifically for African markets with local compliance and regulations.
Modern APIs
RESTful APIs with comprehensive webhooks and real-time updates.
Key API Capabilities
Everything you need to build credit sales into your application
Initiate Credit Sale
Start credit transactions with customer verification
POST /v1/credit-sales
Set Repayment Schedule
Configure flexible payment terms and schedules
POST /v1/schedules
Webhooks
Real-time notifications for payment events
POST /v1/webhooks
Get Repayment Status
Check payment status and transaction history
GET /v1/payments/{id}
Customer Management
Create and manage customer profiles
POST /v1/customers
Analytics & Reporting
Access transaction data and performance metrics
GET /v1/analytics
Quick Start Examples
Get up and running with these common integration patterns
Initiate Credit Sale
Start a credit sale transaction with customer details
// Initialize credit sale
const creditSale = await credvia.creditSales.create({
customerId: "cust_123",
amount: 50000,
currency: "NGN",
term: 30,
description: "Electronics purchase"
});
console.log("Credit Sale ID:", creditSale.id);
Set Repayment Schedule
Configure flexible payment schedules
// Set up repayment schedule
const schedule = await credvia.schedules.create({
creditSaleId: "cs_123",
type: "installment",
installments: 3,
startDate: "2024-01-15",
amount: 50000
});
console.log("Schedule created:", schedule.id);
Webhook Handler
Handle real-time payment notifications
// Webhook endpoint
app.post('/webhooks/credvia', (req, res) => {
const event = req.body;
switch(event.type) {
case 'payment.received':
handlePaymentReceived(event);
break;
case 'payment.overdue':
handlePaymentOverdue(event);
break;
}
res.status(200).send('OK');
});
Get Repayment Status
Check current payment status and history
// Get repayment status
const status = await credvia.payments.getStatus({
creditSaleId: "cs_123"
});
console.log("Status:", status.status);
console.log("Amount Paid:", status.amountPaid);
console.log("Remaining:", status.amountRemaining);
SDK & Integration Guides
Choose the SDK that fits your tech stack and get started quickly
React Native
Native mobile integration for React Native apps
- Cross-platform
- TypeScript support
- Real-time updates
Flutter
Complete Flutter SDK for mobile applications
- Dart support
- Null safety
- Platform channels
Web
JavaScript SDK for web applications
- ES6 modules
- Promise-based
- Browser support
Ready to Start Building?
Get your sandbox API key and start integrating Credvia into your application. Test all features with our comprehensive sandbox environment.
Instant Access
Get your API key in minutes
Safe Testing
Full sandbox environment
Developer Support
24/7 technical assistance