---
page_source: https://docs.hdfcbank.juspay.in/docs/hypercheckout-mobile-sdk/flutter/resources/order-status--sample-response
page_title: Order Status - Sample Response
---


# Order Status - Sample Response 



Please find below the sample response of order status function for transactions initiated using different payment methods 


#### Card Code Snippet:

```card
{
    "customer_email": "test@gmail.com",
    "customer_phone": "9999999999",
    "customer_id": "testcardenc1",
    "status_id": 21,
    "status": "CHARGED",
    "id": "ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
    "merchant_id": "merchant_success",
    "amount": 1,
    "currency": "INR",
    "order_id": "JP1636474794",
    "date_created": "2021-11-09T16:19:55Z",
    "return_url": "",
    "product_id": "",
    "payment_links": {
        "iframe": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
        "web": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
        "mobile": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77?mobile=true"
    },
    "udf1": "",
    "udf2": "",
    "udf3": "",
    "udf4": "",
    "udf5": "",
    "udf6": "",
    "udf7": "",
    "udf8": "",
    "udf9": "",
    "udf10": "",
    "txn_id": "merchant_success-JP1636474794-1",
    "payment_method_type": "CARD",
    "auth_type": "THREE_DS",
    "card": {
        "expiry_year": "2024",
        "card_reference": "17a2ec4f27c918bd8dbc58c9ae74090e",
        "saved_to_locker": false,
        "expiry_month": "12",
        "name_on_card": "test",
        "card_issuer": "JP Morgan",
        "last_four_digits": "",
        "using_saved_card": true,
        "card_fingerprint": "32qqi3sv1u5237fq7ura2rgqqb",
        "card_isin": "411111",
        "card_type": "CREDIT",
        "card_brand": "VISA",
        "using_token": false
    },
    "payment_method": "VISA",
    "refunded": true,
    "amount_refunded": 1,
    "effective_amount": 1,
    "refunds": [
        {
            "id": "TEST1637681731",
            "amount": 1,
            "unique_request_id": "TEST1637681731",
            "ref": "rfnd_IP693G3wAX4ibJ",
            "created": "2021-11-23T15:35:32Z",
            "status": "SUCCESS",
            "error_message": "processed",
            "sent_to_gateway": true,
            "initiated_by": "API",
            "refund_source": "RAZORPAY",
            "refund_type": "STANDARD",
            "metadata": {
                "speed_processed": "normal", // only for Razorpay successful refunds
                "speed_requested": "normal" // only for Razorpay successful refunds
            },
           "pg_processed_at": "2022-11-24T08:07:43Z",
           "error_code": "processed"
        }
    ],
    "resp_code": null,
    "resp_message": null,
    "bank_error_code": "",
    "bank_error_message": "",
    "txn_uuid": "eulwh5QbZSBvw35eWnH",
    "txn_detail": {
        "txn_id": "merchant_success-JP1636474794-1",
        "order_id": "JP1636474794",
        "status": "CHARGED",
        "error_code": null,
        "net_amount": 1,
        "surcharge_amount": null,
        "tax_amount": null,
        "txn_amount": 1,
        "offer_deduction_amount": null,
        "gateway_id": 23,
        "currency": "INR",
        "express_checkout": true,
        "redirect": true,
        "txn_uuid": "eulwh5QbZSBvw35eWnH",
        "gateway": "RAZORPAY",
        "error_message": "",
        "created": "2021-11-09T16:20:52Z"
    },
    "payment_gateway_response": {
        "resp_code": "SUCCESS",
        "rrn": "156555",
        "created": "2021-11-09T16:21:11Z",
        "epg_txn_id": "pay_IJZKtTpki24ERy",
        "resp_message": "SUCCESS",
        "auth_id_code": "156555",
        "txn_id": "merchant_success-JP1636474794-1"
    },
    "gateway_id": 23,
    "metadata": {
        "RAZORPAY:gateway_reference_id": "testmid"
    },
    "gateway_reference_id": "testmid",
    "offers": []
}

```

#### Net Banking Code Snippet:

```net banking
{
    "customer_email": "test@gmail.com",
    "customer_phone": "9876543210",
    "customer_id": "cst_wiqou3224",
    "status_id": 21,
    "status": "CHARGED",
    "id": "ordeh_a3cfc9c7f77e4fc581f19aewe23925",
    "merchant_id": "merchantId",
    "amount": 2,
    "currency": "INR",
    "order_id": "JPAYNEW032",
    "date_created": "2021-09-10T09:01:36Z",
    "return_url": "https://shop.merchant.com",
    "product_id": "",
    "payment_links": {
      "iframe": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
      "web": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
      "mobile": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77?mobile=true"
    },
    "udf1": "",
    "udf2": "",
    "udf3": "",
    "udf4": "",
    "udf5": "",
    "udf6": "",
    "udf7": "",
    "udf8": "",
    "udf9": "",
    "udf10": "",
    "txn_id": "merchantId-JPAYNEW032-1",
    "payment_method_type": "NB",
    "auth_type": "THREE_DS",
    "payment_method": "NB_HDFC",
    "refunded": false,
    "amount_refunded": 0,
    "effective_amount": 2,
    "resp_code": null,
    "resp_message": null,
    "bank_error_code": "",
    "bank_error_message": "",
    "txn_uuid": "eulbAxqZAR324cwzgo",
    "txn_detail": {
      "txn_id": "merchantId-JPAYNEW032-1",
      "order_id": "JPAYNEW032",
      "status": "CHARGED",
      "error_code": null,
      "net_amount": 2,
      "surcharge_amount": null,
      "tax_amount": null,
      "txn_amount": 2,
      "offer_deduction_amount": null,
      "gateway_id": 12,
      "currency": "INR",
      "express_checkout": false,
      "redirect": true,
      "txn_uuid": "eulbAxqZAR324cwzgo",
      "gateway": "PAYU",
      "error_message": "",
      "created": "2021-09-10T09:02:03Z"
    },
    "payment_gateway_response": {
      "resp_code": "success",
      "rrn": "45903248",
      "created": "2021-09-10T09:02:55Z",
      "epg_txn_id": "40399371553295730",
      "resp_message": "No Error",
      "auth_id_code": "2732147",
      "txn_id": "merchantId-JPAYNEW032-1"
    },
    "gateway_id": 12,
    "gateway_reference_id": null,
    "offers": []
  }

```

#### UPI Code Snippet:

```upi
{
    "customer_email": "test@gmail.com",
    "customer_phone": "9876543210",
    "customer_id": "cst_wiqou3224",
    "status_id": 21,
    "status": "CHARGED",
    "id": "ordeh_ce50b4861d2b4b3e9bf3r3r2rid3",
    "merchant_id": "merchantId",
    "amount": 2,
    "currency": "INR",
    "order_id": "JPAYNEW034",
    "date_created": "2021-09-10T09:06:53Z",
    "return_url": "https://shop.merchant.com",
    "product_id": "",
    "payment_links": {
        "iframe": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
        "web": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
        "mobile": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77?mobile=true"
    },
    "udf1": "",
    "udf2": "",
    "udf3": "",
    "udf4": "",
    "udf5": "",
    "udf6": "",
    "udf7": "",
    "udf8": "",
    "udf9": "",
    "udf10": "",
    "txn_id": "merchantId-JPAYNEW034-1",
    "payment_method_type": "UPI",
    "auth_type": "",
    "payment_method": "UPI",
    "refunded": false,
    "amount_refunded": 0,
    "effective_amount": 2,
    "resp_code": null,
    "resp_message": null,
    "bank_error_code": "",
    "bank_error_message": "",
    "txn_uuid": "eulk1HvJ29o9dJ344x4f",
    "txn_detail": {
        "txn_id": "merchantId-JPAYNEW034-1",
        "order_id": "JPAYNEW034",
        "status": "CHARGED",
        "error_code": null,
        "net_amount": 2,
        "surcharge_amount": null,
        "tax_amount": null,
        "txn_amount": 2,
        "offer_deduction_amount": null,
        "gateway_id": 23,
        "currency": "INR",
        "express_checkout": false,
        "redirect": false,
        "txn_uuid": "eulk1HvJ29o9dJ344x4f",
        "gateway": "RAZORPAY",
        "error_message": "",
        "created": "2021-09-10T09:07:10Z"
    },
    "payment_gateway_response": {
        "resp_code": "captured",
        "rrn": "868709664362",
        "created": "2021-09-10T09:07:39Z",
        "epg_txn_id": "pay_HvhtO3324opPPs",
        "resp_message": "",
        "auth_id_code": "",
        "txn_id": "merchantId-JPAYNEW034-1"
    },
    "gateway_id": 23,
    "payer_vpa": "9876543210@ybl",
    "upi": {
        "payer_vpa": "9876543210@ybl",
        "txn_flow_type": "COLLECT"
    },
    "gateway_reference_id": null,
    "offers": []
}

```

#### Wallet  Code Snippet:

```wallet 
{
    "udf9": "",
    "udf8": "",
    "udf7": "",
    "udf6": "",
    "udf5": "",
    "udf4": "",
    "udf3": "",
    "udf2": "",
    "udf10": "",
    "udf1": "",
    "txn_uuid": "eulneT9JkaAPa1uv",
    "txn_id": "merchantId-145678234-1",
    "txn_detail": {
      "txn_uuid": "eulneT9JkaAPa1uv",
      "txn_id": "merchantId-145678234-1",
      "txn_amount": 1,
      "tax_amount": null,
      "surcharge_amount": null,
      "status": "CHARGED",
      "redirect": false,
      "order_id": "145678234",
      "net_amount": 1,
      "gateway_id": 19,
      "gateway": "PAYTM_V2",
      "express_checkout": false,
      "error_message": "",
      "error_code": "",
      "currency": "INR",
      "created": "2020-04-28T06:31:37Z"
    },
    "status_id": 21,
    "status": "CHARGED",
    "return_url": "https://shop.merchant.com",
    "refunds": [
      {
        "unique_request_id": "refund_1590649567",
        "status": "SUCCESS",
        "sent_to_gateway": true,
        "ref": "2020052811128464733807",
        "initiated_by": "API",
        "id": null,
        "error_message": "Refund Successfull",
        "created": "2020-04-28T07:06:07Z",
        "arn": "0149717932",
        "amount": 1
      }
    ],
    "refunded": true,
    "product_id": "",
    "payment_method_type": "WALLET",
    "payment_method": "GOOGLEPAY",
    "payment_links": {
      "web": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
      "mobile": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77?mobile=true",
      "iframe": "https://smartgateway.hdfcuat.bank.in/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77"
    },
    "payment_gateway_response": {
      "txn_id": "merchantId-145678234-1",
      "rrn": "01491223245566834",
      "resp_message": "Txn Success",
      "resp_code": "01",
      "epg_txn_id": "20200528800110849227184",
      "created": "2020-04-28T06:54:35Z",
      "auth_id_code": ""
    },
    "payer_vpa": "null",
    "order_id": "145678234",
    "merchant_id": "merchant_id",
    "id": "ordeu_f19a2a9da6034a269f03424dbda0",
    "gateway_reference_id": "gatewayreferenceId",
    "gateway_id": 19,
    "date_created": "2020-04-28T06:31:09Z",
    "customer_phone": "9999999999",
    "customer_id": "test_customer",
    "customer_email": "test007@gmail.com",
    "currency": "INR",
    "bank_error_message": "",
    "bank_error_code": "",
    "auth_type": "",
    "amount_refunded": 1,
    "amount": 1
  }

```
