
Integrate Algeria's leading payment gateway in minutes
Drop our SDK into your codebase and start charging customers in minutes. Sandbox testing environment and automatic retries are fully built-in.
Official open-source SDK and REST API for merchants. Accept Dahabia, EDahabia, and CIB payments from your website, mobile app, or e-commerce store — with libraries for JavaScript, TypeScript, PHP, Python, Node.js, React and Next.js.
import { SofizPay } from '@sofizpay/sdk';
const sofiz = new SofizPay({
apiKey: 'sp_live_55a2b8...',
});
// Create a quick CIB/Dahabia payment
const payment = await sofiz.payments.create({
amount: 1500, // DZD
currency: 'DZD',
description: 'Order #1042',
customer: {
email: 'customer@email.com',
phone: '+213670011093'
},
successUrl: 'https://yoursite.com/success',
cancelUrl: 'https://yoursite.com/cancel'
});
// Redirect customer to secure checkout page
window.location.href = payment.checkoutUrl;Pick the language your team uses. All SDKs are open-source on GitHub.
To review all parameters, response payloads, and advanced implementation guides, please head over to our official developer docs portal. It contains complete reference materials and everything you need for integration.
RESTful endpoints with predictable JSON response payloads, pagination, and standardized HTTP status codes.
A 100% free sandbox environment with virtual Dahabia and CIB card testing numbers to build and test before going live.
Generate payment links and share them instantly with your customers via email, SMS, or social media to collect payments in seconds.
Quickstarts, step-by-step tutorials, SDK documentation, and copy-paste code recipes for your stack.
Save thousands of Dinars. Pay 0% fee on all sales, with daily payouts processed in 24 hours at a flat 1% withdrawal fee.
Cryptographic protection that guarantees safe API retries and prevents double-charging customers during connection timeouts.
Compare SofizPay, other local gateways, and traditional bank integrations to choose the best payment infrastructure for your startup.
| Feature | SofizPay | Other Local Gateways | Traditional Bank Integration |
|---|---|---|---|
| Transaction & Sales Commission | 0% (Totally Free) | Up to 3.5% commission per transaction | Charged percentage + annual setup fees |
| Withdrawal & Payout Fee | 1% only upon withdrawing funds | Up to 1.5% or higher per payout | Subject to custom bank contract negotiations |
| Payout Settlement Speed | 24 Hours (Daily payouts) | 48 to 72 business hours or weekly cycles | Several business days depending on bank bureaucracy |
| API & SDK Integration Ease | Extremely Easy (Live SDKs in 5 mins) | Moderate (SDKs limited for some stacks) | Very Complex (requires months of bureaucracy) |
| Marketplace Split Payments | Fully Supported natively | Not supported by default (requires custom build) | Not supported |
| Instant Test Sandbox Environment | 100% Free & instant access for devs | Available (may require manual activation approvals) | Requires security clearances & complex tests |
Generate an API key, install the SDK, and process your first test payment today.
Free for developers • Open-source SDKs • Production-ready sandbox