Build with the DimePay API
Integrate Caribbean payments into your platform with our RESTful API, SDKs, and comprehensive documentation.
import { initPayment } from '@dimepay/web-sdk';
const widget = initPayment({
mountId: "dimepay-widget",
total: 5000,
currency: "JMD",
test: false,
order_id: "TEST-001",
client_id: "ck_your_client_key",
origin: window.origin,
styles: {
primaryColor: '#000000',
buttonColor: '#000000',
buttonTextColor: '#FFFFFF',
noBorderRadius: false,
backgroundColor: '#FFFFFF'
},
data: "<signed_jwt_token>",
onReady: (data) => console.log("Ready:", data),
onSuccess: (data) => console.log("Success:", data),
onFailed: (err) => console.log("Failed:", err),
onError: (err) => console.log("Error:", err),
onCancel: () => console.log("Cancelled"),
onLoading: () => console.log("Loading...")
});API Capabilities
Payment Processing
Charge cards, manage subscriptions, and handle refunds with simple API calls.
Webhooks
Get real-time notifications for payment events, disputes, and account updates.
Comprehensive Docs
Detailed guides, API references, and code samples in multiple languages.
Test Environment
Full sandbox environment with test credentials to build and test safely.
DimePay SDKs
Drop DimePay into your website or mobile app with our SDKs for web, Flutter, React Native, and Laravel.
Web SDK
@dimepay/web-sdk
Embed the secure DimePay payment widget on any website with a few lines of JavaScript. Supports card payments, Apple Pay, Google Pay, and Samsung Pay.
View the docsFlutter SDK
dimepay_flutter_sdk
The official Flutter SDK for embedding the DimePay secure payment experience into native apps using WebView. Install with flutter pub add.
View the docsReact Native SDK
@dimepay/react-native-sdk
Embed the DimePay secure payment experience into any native mobile app. Supports Android and iOS using a WebView-based architecture, with Expo support.
View the docsLaravel SDK
osoobe/dimepay-laravel-sdk
Sponsored by the Osoobe GroupCommunity Laravel package, sponsored by the Osoobe Group. Wraps orders, hosted payments, card tokenization, capture and refund, split payments, subscriptions, and webhooks. Install with composer require.
View on GitHub