Integrate UnelmaPay in Minutes

Simple, secure payment integration for your applications

Get Started View Examples

Quick Integration

Three simple steps to start accepting payments

account_box
1. Get Credentials

Sign up for a merchant account and receive your API credentials

code
2. Integrate

Use our simple API or JavaScript SDK to add payment functionality

payment
3. Accept Payments

Start receiving payments from customers with UnelmaPay wallets

Simple Integration Example

HTML Form Integration
<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>
JavaScript SDK Integration
// 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'
});
Test Credentials

Use these credentials for testing and development:

  • Merchant ID: TEST_MERCHANT_001
  • Secret Key: test_secret_key_unelmapay_2024
  • Test User ID: 9800000001
  • Test Password: Test@123
  • Test PIN: 1234

API Endpoints

Production

Payment API:
https://api.unelmapay.com/v1/payment

Verification API:
https://api.unelmapay.com/v1/verify

Sandbox

Payment API:
https://sandbox.unelmapay.com/api/v1/payment

Verification API:
https://sandbox.unelmapay.com/api/v1/verify