API Reference

To check status of any payment on KwikPaisa NEO Bank payment gateway, the merchant needs to run Order Status api with own system ORDER_ID.

curl  --request POST \
 --url {api_base_url}/status \
 --header 'Content-Type: application/json' \
 --header 'order-source: rest-api' \
 --header 'x-client-id: <App ID>' \
 --header 'x-client-secret: <Secret Key>' \
 --data '{
  "order_id": "order_1626945143520"
  }'
{
    "code": "200",
    "status": "success",
    "message": "API authentication success!",
    "order_data": {
        "order_id": "32_1681983448",
        "order_status": "PAID",
        "customer_data": {
            "customer_name": "John Deo",
            "customer_email": "[email protected]",
            "customer_phone": "9896989698"
        },
        "purchase_details": {
            "order_amount": "1.00",
            "order_currency": "INR"
        },
        "billing_address": {
            "customer_address_line1": "DLF Cyber City Phase - 2, Sector 2",
            "customer_address_line2": "",
            "customer_address_city": "Gurugram",
            "customer_address_state": "HR",
            "customer_address_country": "IN",
            "customer_address_postal_code": "125001"
        },
        "payment_data": {
            "kwikX_payment_id": "pay_928d8756d4492cd",
            "payment_status": "SUCCESS",
            "payment_method": "UPI",
            "bank_refrance_number": "20230420010970000855826203130021754",
            "bank_msg": "Txn Success",
            "payment_started": "20-04-2023 03:07 PM",
            "payment_completed": "20-04-2023 03:08 PM"
        }
    }
}