Personal Pension Integration
In Minutes.
Test the PenPay SDK integration. Click the button below to launch the secure verification flow and process your pension payments seamlessly.
Secure 256-bit Encryption
Secure Verification
Direct integration with PFA providers ensures the highest security standards for RSA PIN validation.
Fast Processing
Optimized flow reduces payment time from minutes to seconds for your customers.
Easy Setup
Simple JavaScript SDK that works with any framework or even plain HTML/CSS.
Integration Steps
1
Option A: Simple Script Tag
Add the SDK to your HTML using a standard script tag. This exposes PenPaySDK on the global window object.
HTML
<!-- Include the SDK -->
<script src="https://js-sdk.penpay.com.ng/sdk/index.min.js" type="module"></script>
<!-- Initialize anywhere -->
<script>
const startPayment = async () => {
await window.PenPaySDK.open({
apiKey: "YOUR_API_KEY"
});
};
</script>
2
Option B: Module Import
Import the SDK directly in your JavaScript modules. This is the recommended approach for modern frameworks like React or Vue.
JavaScript
import { open } from "https://js-sdk.penpay.com.ng/sdk/index.js";
const initializePayment = async () => {
try {
await open({
apiKey: "YOUR_API_KEY"
});
} catch (err) {
console.error("PenPay SDK failed:", err);
}
};
3
Trigger the Flow
Call your initialization function from a user action, like a button click.
HTML
<button onclick="initializePayment()">Pay with Pension</button>