API Reference

Multi currencies can be passed through order.currency parameter while creating a payment request.

UInterfacev2 supports the below currencies codes

KWD, SAR, USD, BHD, EUR, OMR, QAR, AED, INR

Contact us at [email protected] to enable Multi currency feature

{
  "products": [
        {
            "name": "Logitech K380",
            "description": "Logitech K380 / Easy-Switch for Upto 3 Devices, Slim Bluetooth Tablet Keyboard ",
            "price": 10,
            "quantity": 1
        },
        {
            "name": "Logitech M171 Wireless Optical Mouse",
            "description": "Logitech M171 Wireless Optical Mouse  (2.4GHz Wireless, Blue Grey)",
            "price": 10,
            "quantity": 1
        }
    ],
    "order": {
        "id": "202210101255255144669",
        "reference": "11111991",
        "description": "Purchase order received for Logitech K380 Keyboard",
        "currency": "USD",//currency code can be passed here
        "amount": 200
    },
    "language": "en",
    "paymentGateway": {
        "src": "knet"
    },
    "tokens": {
        "customerUniqueToken": 90908986
    },
    "reference": {
        "id": "202210101202210101"
    },
    "customer": {
        "uniqueId": "2129879kjbljg767881",
        "name": "Jhon Smith",
        "email": "[email protected]",
        "mobile": "+96512345678"
    },
    "returnUrl": "https://success.com",
    "cancelUrl": "https://error.com",
    "notificationUrl": "https://callback.com"
}