Simple, secure payment integration for your applications
Get Started View ExamplesThree simple steps to start accepting payments
Sign up for a merchant account and receive your API credentials
Use our simple API or JavaScript SDK to add payment functionality
Start receiving payments from customers with UnelmaPay wallets
<form action="https://api.unelmapay.com.np/v1/payment" method="POST">
<input type="hidden" name="merchant_id" value="YOUR_MERCHANT_ID">
<input type="hidden" name="amount" value="1000">
<input type="hidden" name="currency" value="NPR">
<input type="hidden" name="product_name" value="Test Product">
<input type="hidden" name="order_id" value="ORDER_123">
<input type="hidden" name="success_url" value="https://yoursite.com/success">
<input type="hidden" name="fail_url" value="https://yoursite.com/fail">
<input type="hidden" name="signature" value="GENERATED_SIGNATURE">
<button type="submit" class="btn purple">Pay with UnelmaPay</button>
</form>
// Initialize UnelmaPay SDK
UnelmaPay.init({
merchantId: 'YOUR_MERCHANT_ID',
secretKey: 'YOUR_SECRET_KEY',
environment: 'production' // or 'sandbox'
});
// Create payment
UnelmaPay.createPayment({
amount: 1000,
currency: 'NPR',
productName: 'Test Product',
orderId: 'ORDER_123',
successUrl: 'https://yoursite.com/success',
failUrl: 'https://yoursite.com/fail'
});
Use these credentials for testing and development:
Payment API:
https://api.unelmapay.com/v1/payment
Verification API:
https://api.unelmapay.com/v1/verify
Payment API:
https://sandbox.unelmapay.com/api/v1/payment
Verification API:
https://sandbox.unelmapay.com/api/v1/verify