Try the SDK
Choose SDK integration
1
SDK Ready
Auto-completed on page load — no action required from them
Functionstpay.Sdk.onReady(callback)
What happens: The SDK script loads and calls your
/api/tpay-auth endpoint. Your server generates a UUID, timestamp, and encrypts them using AES-256-CBC + PBKDF2 with your private key. The resulting signature is returned to the SDK, which is now initialized and ready.SDK Initialized Successfully
AES-256-CBC signature validated · SDK is ready for subscription calls
2
Start Subscription
They fill in details and click 'Subscribe'
3
PIN Dispatched
Operator sends OTP to their MSISDN via SMS
4
Verify PIN
They enter the OTP received via SMS
5
Integration Completed Successfully
Subscription is now active — contract created
Download Full Example Project
Node.js Express backend · Frontend pages · README.md