---
page_source: https://juspay.io/br/docs/hypercheckout-global/web/base-sdk-integration/order-status-api
page_title: Order Status API
---

## API Version: default


# Order Status API



This is a Server-to-Server API that takes orderid as a path parameter and returns the status of the order along with other details.

> **Warning**
> **Validate the order amount and status using the Order Status API**  before proceeding with order fulfillment. Neglecting this step could lead to mismatched orders, incorrect or fraudulent transactions.



If multiple transactions are performed for the same order, the final order status is determined by the highest precedence among the transaction statuses.`Precedence (in ascending order): NEW → PENDING_VBV → CHARGED`## Endpoints:
- Sandbox: https://api.sandbox.juspay.io/orders/{order_id}

- Production: https://api.juspay.io/orders/{order_id}

## Request Type: 
GET

## Content-Type: 
application/json

## Authorization:

#### Basic Auth:
Consists of two parts.

* Username: API Key obtained from Juspay dashboard
* Password: Empty string
- Value: <p>Example:- <br> MUQ2QUZEQzhFQTY0OUU5QTIxQzNFNTQwNkFDMEZCOg== </p> 
- Tags: Base64 Encoded username:password, required
## Headers:

#### x-merchantid:
Merchant ID provided by Juspay or Juspay's merchant id.
- Value: <p>Example:- <br> merchant-id</p> 
- Tags: string, required

#### version:
Pass the date in YYYY-MM-DD format.

Note: If a version is provided, the response will include data corresponding to that specific version date.

It is recommended not to enforce strict validation on the entire response on the merchant's side to allow for future key additions.
- Value:  Sample Value: 2025-01-10
- Tags: string, Optional

#### Content-Type:
application/x-www-form-urlencoded
- Tags: String, Required
## Sample Code Snippets:
### Sample Request:

#### Request (without Full Gateway Response) Code Snippet:

```request (without full gateway response)
curl --location --request GET 'https://api.juspay.io/orders/JP1636474794' \
--header 'version: 2023-06-30' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic OTc5Mzcx*****czRTlGOg=='
```

#### Request to get Full Gateway Response Code Snippet:

```request to get full gateway response
curl --location --request GET 'https://api.juspay.io/orders/1738057445?options.add_full_gateway_response=true' \
--header 'version: 2023-06-30' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic OTc5Mzcx*****czRTlGOg=='\
--header 'x-merchantid: your_merchant_id' 
```

### Sample Response for different Payment Methods:

#### 200 - Success(Card):
```json
{
    "customer_email": "test@gmail.com",
    "customer_phone": "99999999",
    "customer_id": "testcardenc1",
    "status_id": 21,
    "status": "CHARGED",
    "id": "ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
    "merchant_id": "merchant_success",
    "amount": 1,
    "currency": "BRL",
    "order_id": "JP1636474794",
    "date_created": "2021-11-09T16:19:55Z",
    "return_url": "",
    "product_id": "",
    "payment_links": {
        "iframe": "https://api.juspay.io/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
        "web": "https://api.juspay.io/merchant/pay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
        "mobile": "https://api.juspay.io/merchant/pay/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": "STRIPE",
            "refund_type": "STANDARD",
           "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": "BRL",
        "express_checkout": true,
        "redirect": true,
        "txn_uuid": "eulwh5QbZSBvw35eWnH",
        "gateway": "STRIPE",
        "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": {
        "STRIPE:gateway_reference_id": "testmid"
    },
    "gateway_reference_id": "testmid",
    "offers": []
}
```

#### 200 - Success(Wallets):
```json
{
  "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": "BOKU",
    "express_checkout": false,
    "error_message": "",
    "error_code": "",
    "currency": "BRL",
    "created": "2020-04-28T06:31:37Z"
  },
  "status_id": 21,
  "status": "CHARGED",
  "return_url": "https://api.juspay.io/end",
  "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": "PAYPAY",
  "payment_links": {
    "web": "https://api.juspay.io/merchant/pay/ordeu_f19a2a9da6034a269f03424dbda0",
    "mobile": "https://api.juspay.io/merchant/pay/ordeu_f19a2a9da6034a269f03424dbda0?mobile=true",
    "iframe": "https://api.juspay.io/merchant/ipay/ordeu_f19a2a9da6034a269f03424dbda0"
  },
  "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": "99999999",
  "customer_id": "test_customer",
  "customer_email": "test007@gmail.com",
  "currency": "BRL",
  "bank_error_message": "",
  "bank_error_code": "",
  "auth_type": "",
  "amount_refunded": 1,
  "amount": 1
}
```

#### 200 - Success(EMI):
```json
{
  "customer_email": "test@gmail.com",
  "customer_phone": "99999999",
  "customer_id": "CUSTOMER",
  "status_id": 21,
  "status": "CHARGED",
  "id": "ordeh_1894a9c3450194ff39db6e7356382d56e",
  "merchant_id": "TEST",
  "amount": 15122,
  "currency": "BRL",
  "order_id": "XXXX1234",
  "date_created": "2023-03-07T04:36:08Z",
  "return_url": "www.google.com",
  "product_id": "",
  "payment_links": {
    "iframe": "https://api.juspay.io/merchant/ipay/ordeh_1894a9cb30194ff39db6e7356323456e",
    "web": "https://api.juspay.io/orders/ordeh_1894a9cb30194ff39db6e7352d56e/payment-page",
    "mobile": "https://api.juspay.io/orders/ordeh_1894a9cb30194ff39db6e6382d56e/payment-page"
  },
  "udf1": "",
  "udf2": "",
  "udf3": "",
  "udf4": "",
  "udf5": "",
  "udf6": "",
  "udf7": "",
  "udf8": "",
  "udf9": "",
  "udf10": "",
  "txn_id": "",
  "payment_method_type": "",
  "auth_type": "THREE_DS",
  "card": {
    "expiry_year": "2027",
    "card_reference": "token_b81625a434254134a7aa89b16915",
    "saved_to_locker": true,
    "expiry_month": "09",
    "name_on_card": "name",
    "card_issuer": "JP MORGAN",
    "last_four_digits": "1111",
    "using_saved_card": false,
    "card_fingerprint": "77tjnlafqf9ppmf9lmj9o18",
    "card_isin": "411111",
    "card_type": "CREDIT",
    "card_brand": "VISA",
    "tokenization_user_consent": true,
    "token_created": {
      "card_reference": "token_b8a434254134a392d7aa89b16915",
      "card_fingerprint": "77tjnlafqf9lmj9ekeo18",
      "tokenization_status": "ACTIVE"
    },
    "using_token": false,
    "token": {
      "card_reference": "token_b81625a43425412d7aa89b16915",
      "card_fingerprint": "77tjnlafqf9ppmf9lmeo18",
      "last_four_digits": "1111",
      "card_isin": "4111111",
      "expiry_year": "2027",
      "expiry_month": "04",
      "par": "50XXXXXXXXXXXXXXXXXXXX6",
      "tokenization_status": "ACTIVE"
    },
    "card_issuer_country": "SINGAPORE",
    "juspay_bank_code": "JP_XXXX",
    "extended_card_type": "CREDIT"
  },
  "payment_method": "VISA",
  "refunded": false,
  "amount_refunded": 0,
  "effective_amount": 15122,
  "resp_code": null,
  "resp_message": null,
  "bank_error_code": "",
  "bank_error_message": "",
  "txn_uuid": "moztmUw6ryK1DZXwBEV",
  "txn_detail": {
    "txn_id": "TEST-XXXX1234-1",
    "order_id": "XXXX1234",
    "status": "CHARGED",
    "error_code": null,
    "net_amount": 15122,
    "surcharge_amount": null,
    "tax_amount": null,
    "txn_amount": 15122,
    "offer_deduction_amount": null,
    "gateway_id": 12,
    "currency": "BRL",
    "metadata": {
      "microapp": "hyperpay",
      "payment_channel": "MWEB"
    },
    "express_checkout": false,
    "redirect": true,
    "txn_uuid": "moztmXXXryxxxxxZXwBEV",
    "gateway": "STRIPE",
    "error_message": "",
    "created": "2023-03-07T04:36:42Z",
    "txn_flow_type": "EMI"
  },
  "payment_gateway_response": {
    "resp_code": "success",
    "rrn": "202343000000000",
    "created": "2023-03-07T04:37:35Z",
    "epg_txn_id": "12121212121",
    "resp_message": "No Error",
    "auth_id_code": "00000000",
    "txn_id": "TEST-XXXX1234-1"
  },
  "gateway_id": 12,
  "emi_bank": "JPMORGAN",
  "emi_tenure": 3,
  "gateway_reference_id": "TEST",
  "offers": [],
  "maximum_eligible_refund_amount": 15122
}
```

#### 200 - Success(Offers):
```json
{
   "udf9": ",
   "udf8": ",
   "udf7": ",
   "udf6": ",
   "udf5": ",
   "udf4": ",
   "udf3": ",
   "udf2": ",
   "udf10": ",
   "udf1": ",
   "txn_uuid": "eulxs4WpmdFDSWsBWSZ",
   "txn_id": "bsmast1620572051-1",
   "status_id": 21,
   "status": "CHARGED",
   "return_url": "https://google.com",
   "resp_message": null,
   "resp_code": null,
   "refunded": false,
   "product_id": ",
   "payment_method_type": "CARD",
   "payment_method": "VISA",
   "payment_links": {
       "web": "https://api.juspay.io/merchant/pay/ordeh_5er343d6a6fe4b2883ec3c6",
       "mobile": "https://api.juspay.io/merchant/pay/ordeh_5eb4b9883ec3c6?mobile=true",
       "iframe": "https://api.juspay.io/merchant/ipay/ordeh_5er3423b4b9883ec3c6"
   },
   "payment_gateway_response": {
       "txn_id": "bsmast1620572051-1",
       "rrn": "NA",
       "resp_message": "Successful transaction.",
       "resp_code": "100",
       "epg_txn_id": "6205720806856300403008",
       "created": "2021-05-09T14:54:41Z",
       "auth_id_code": "831200"
   },
   "order_id": "asg1620572051",
   "offers": [
       {
          {
            "status": "AVAILED",
            "offer_id": "2c8701bd-94da-4e40-b56e-4aa481cddd0f",
            "offer_code": "OfferCardBase1",
            "benefits": [
                {
                    "type": "DISCOUNT",
                    "calculation_info": {
                        "value": 15,
                        "calculation_rule": "ABSOLUTE"
 "max_amount": 1000
                    },
                    "amount": 150
                    }
                 ]
       }
   ],
   "merchant_id": "test",
   "id": "ordeh_5e4343d6a6fe4b2d9a23b4b9883ec3c6",
   "gateway_id": 6,
   "date_created": "2021-05-09T14:54:11Z",
   "customer_phone": "88888888",
   "customer_id": "cst_s35j8cghim6qncud",
   "customer_email": "x@something.com",
   "currency": "BRL",
   "card": {
       "using_saved_card": false,
       "saved_to_locker": true,
       "name_on_card": "customer surname",
       "last_four_digits": "4242",
       "expiry_year": "2025",
       "expiry_month": "05",
       "card_type": "CREDIT",
       "card_reference": ",
       "card_issuer": ",
       "card_isin": "424242",
       "card_fingerprint": ",
       "card_brand": "VISA"
   },
   "bank_error_message": ",
   "bank_error_code": ",
   "auth_type": ",
   "amount_refunded": 0,
   "amount": 1000,
   "effective_amount": 850
}
```

#### 200 - Success(Mandate):
```json
{
  "udf9": "",
  "udf8": "",
  "udf7": "",
  "udf6": "",
  "udf5": "",
  "udf4": "",
  "udf3": "",
  "udf2": "",
  "udf10": "",
  "udf1": "",
  "txn_uuid": "eulmyxQn6bQso6y1Syy",
  "txn_id": "juspay-234823498237423894273498-1",
  "txn_detail": {
    "txn_uuid": "eulmyxQn6bQso6y1Syy",
    "txn_object_type": "EMANDATE_REGISTER",
    "txn_id": "juspay-234823498237423894273498-1",
    "txn_amount": 1,
    "tax_amount": null,
    "surcharge_amount": null,
    "status": "CHARGED",
    "source_object_id": "91887",
    "source_object": "MANDATE",
    "redirect": true,
    "order_id": "234823498237423894273498",
    "net_amount": 1,
    "gateway_id": 19,
    "gateway": "OVO",
    "express_checkout": false,
    "error_message": "",
    "error_code": "",
    "currency": "BRL",
    "created": "2020-08-30T09:53:17Z"
  },
  "status_id": 21,
  "status": "CHARGED",
  "return_url": "https://api.juspay.io",
  "refunded": false,
  "product_id": "",
  "payment_method_type": "UPI",
  "payment_method": "UPI",
  "payment_links": {
    "web": "https://api.juspay.io/merchant/pay/ordeu_9a0929803da644df8036133cf14d0206"
  },
  "payment_gateway_response": {
    "txn_id": "juspay-234823498237423894273498-1",
    "rrn": "4299662",
    "resp_message": "Txn Success",
    "resp_code": "01",
    "epg_txn_id": "202008301131312168187301880189",
    "created": "2020-08-30T09:54:10Z",
    "auth_id_code": ""
  },
  "payer_vpa": "99999999@paytm",
  "order_id": "234823498237423894273498",
  "metadata": {
    "OVO:gateway_reference_id": "mandate"
  },
  "merchant_id": "juspay",
  "mandate": {
    "start_date": "1598745600",
    "rule_value": 30,
    "rule_type": "AFTER",
    "revokable_by_customer": true,
    "max_amount": 1000,
    "mandate_type": "EMANDATE",
    "mandate_token": "ad1d28b13f460fb5d348487be790f3",
    "mandate_status": "ACTIVE",
    "mandate_id": "3XMEcS1z2212Gq7fbfVYbzj",
    "frequency": "MONTHLY",
    "end_date": "1606521610",
    "block_fund": false,
    "amount_rule": "VARIABLE"
  },
  "id": "ordeu_9a0929803da644df8036133cf14d0206",

  "gateway_reference_id": "mandate",
  "gateway_id": 19,
  "date_created": "2020-08-30T09:47:46Z",
  "customer_phone": "99999999",
  "customer_id": "cst_lz7zmpemoo5okv",
  "customer_email": "customer@gmail.com",
  "currency": "BRL",
  "bank_error_message": "",
  "bank_error_code": "",
  "auth_type": "",
  "amount_refunded": 0,
  "amount": 1
}
```

#### 200 - Success(Bank Transfer):
```json
{
  "customer_email": "test@gmail.com",
  "customer_phone": "98765432",
  "customer_id": "cst_wiqou3224",
  "status_id": 21,
  "status": "CHARGED",
  "id": "ordeh_a3cfc9c7f77e4fc581f19aewe23925",
  "merchant_id": "merchantId",
  "amount": 2,
  "currency": "BRL",
  "order_id": "JPAYNEW032",
  "date_created": "2021-09-10T09:01:36Z",
  "return_url": "https://api.juspay.io",
  "product_id": "",
  "payment_links": {
    "iframe": "https://api.juspay.io/merchant/ipay/ordeh_a3cfc9c7f77e4fc581f19aewe23925",
    "web": "https://api.juspay.io/merchant/pay/ordeh_a3cfc9c7f77e4fc581f19aewe23925",
    "mobile": "https://api.juspay.io/merchant/pay/ordeh_a3cfc9c7f77e4fc581f19aewe23925?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_BCA",
  "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": "BRL",
    "express_checkout": false,
    "redirect": true,
    "txn_uuid": "eulbAxqZAR324cwzgo",
    "gateway": "ADYEN",
    "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": []
}
```

#### 400 - Bad Request:
```plaintext
{
  "status": "NOT_FOUND",
  "error_info": {
    "user_message": "Order Not Found",
    "request_id": "f83cfc60-a413-4b3a-8748-3b571af0ec84",
    "href": "NA",
    "developer_message": "Order Not Found",
    "code": "RESOURCE_NOT_FOUND",
    "category": "USER_ERROR"
  },
  "status_id": 40,
  "order_id": "173824171"
}
```

#### 401 - Unauthorized:
```plaintext
{
  "status": "error",
  "error_code": "access_denied",
  "error_info": {
    "user_message": "Unauthorized.",
    "request_id": "34000206-bbbb-4b6b-848f-dfae3d29ef4e",
    "href": "NA",
    "developer_message": "Invalid API Key. Please pass a valid and active api key.",
    "code": "UNAUTHORIZED",
    "category": "USER_ERROR"
  }
}
```

#### 200 - Success(With Full Gateway Response):
```plaintext
{
  "customer_email": "john@juspay.in",
  "customer_phone": "918859394745",
  "customer_id": "7076607677",
  "status_id": 26,
  "status": "AUTHENTICATION_FAILED",
  "id": "ordeh_46759436bc09d2c1",
  "merchant_id": "Merchant",
  "amount": 100,
  "currency": "BRL",
  "order_id": "1738057445",
  "date_created": "2025-01-28T09:44:05Z",
  "last_updated": "2025-01-28T09:44:49Z",
  "return_url": "https://google.com",
  "product_id": "Shocks",
  "payment_links": {
    "mobile": "https://api.juspay.io/payment-page/order/ordeh_46759436bc09d2c1",
    "web": "https://api.juspay.io/payment-page/order/ordeh_46759436bc09d2c1",
    "iframe": "https://api.juspay.io/payment-page/order/ordeh_46759436bc09d2c1"
  },
  "udf1": "",
  "udf2": "",
  "udf3": "",
  "udf4": "",
  "udf5": "",
  "udf6": "",
  "udf7": "",
  "udf8": "",
  "udf9": "",
  "udf10": "",
  "txn_id": "Merchant-1738057445-1",
  "payment_method_type": "RTP",
  "auth_type": "",
  "payment_method": "DUITNOW",
  "refunded": false,
  "amount_refunded": 0,
  "effective_amount": 100,
  "resp_code": "PAYMENT_FAILED",
  "resp_message": "Payment Failure",
  "bank_error_code": "REQUIRES_PAYMENT_METHOD",
  "bank_error_message": "FAILED",
  "txn_uuid": "moznJxJ9YNTpcEhxYM3",
  "txn_detail": {
    "txn_id": "Merchant-1738057445-1",
    "order_id": "1738057445",
    "status": "AUTHENTICATION_FAILED",
    "error_code": "REQUIRES_PAYMENT_METHOD",
    "net_amount": 100,
    "surcharge_amount": null,
    "tax_amount": null,
    "txn_amount": 100,
    "offer_deduction_amount": null,
    "gateway_id": 1130,
    "currency": "BRL",
    "express_checkout": false,
    "redirect": true,
    "txn_uuid": "moznJxJ9YNTpcEhxYM3",
    "gateway": "AIRWALLEX",
    "response_code": "PAYMENT_FAILED",
    "response_message": "Payment Failure",
    "error_message": "FAILED",
    "created": "2025-01-28T09:44:44Z",
    "last_updated": "2025-01-28T09:44:49Z",
    "txn_amount_breakup": [
      {
        "name": "BASE",
        "amount": 100,
        "sno": 1,
        "method": "ADD"
      }
    ]
  },
  "payment_gateway_response": {
    "resp_code": "REQUIRES_PAYMENT_METHOD",
    "rrn": null,
    "created": "2025-01-28T09:44:48Z",
    "epg_txn_id": "int_hkdmkn9j2h438l4wqhn",
    "resp_message": "FAILED",
    "auth_id_code": null,
    "txn_id": "Merchant-1738057445-1",
    "gateway_response": {
      "amount": 100,
      "captured_amount": 0,
      "client_secret": "eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MzgwNTc0ODksImV4cCI6MTczODA2MTA4OSwidHlwZSI6ImNsaWVudC1zZWNyZXQiLCJwYWRjIjoiSEsiLCJhY2NvdW50X2lkIjoiMWUzYWYzNTYtYzI4Mi00OTJhLTgwNmEtMzZiZmFkMGEwNWVhIiwiaW50ZW50X2lkIjoiaW50X2hrZG1rbjlqMmg0MzhsNHdxaG4iLCJidXNpbmVzc19uYW1lIjoiSnVzcGF5IE1lcmNoYW50In0.zWeiZPnLwGg-8m33vjbncW8U9N-e9VczBUvZUvmUK-c",
      "created_at": "2025-01-28T09:44:47+0000",
      "currency": "BRL",
      "customer": {
        "merchant_customer_id": "7076607677",
        "last_name": "Kasat",
        "email": "malav.shah@juspay.in",
        "phone_number": "918859394745",
        "first_name": "Suyash"
      },
      "id": "int_hkdmkn9j2h438l4wqhn",
      "latest_payment_attempt": {
        "payment_consent_id": null,
        "dcc_data": null,
        "provider_original_response_code": null,
        "created_at": "2025-01-28T09:44:47+0000",
        "refunded_amount": 0,
        "authentication_data": {
          "ds_data": {},
          "fraud_data": {
            "score": "0"
          },
          "cvc_result": "U",
          "avs_result": "U"
        },
        "status": "FAILED",
        "id": "att_hkdmkn9j2h438l512cw_l4wqhn",
        "payment_method_transaction_id": null,
        "settle_via": "airwallex",
        "acquirer_reference_number": null,
        "payment_method_options": {
          "card": {}
        },
        "authorization_code": null,
        "payment_intent_id": "int_hkdmkn9j2h438l4wqhn",
        "currency": "BRL",
        "provider_transaction_id": null,
        "failure_code": "provider_unavailable",
        "amount": 100,
        "merchant_order_id": "Merchant-1738057445-1",
        "merchant_advice_code": null,
        "payment_method": {
          "duit_now": {
            "shopper_name": "Suyash Kasat"
          },
          "type": "duit_now"
        },
        "updated_at": "2025-01-28T09:44:48+0000",
        "captured_amount": 0
      },
      "merchant_order_id": "Merchant-1738057445-1",
      "request_id": "Merchant-1738057445-1",
      "return_url": "https://api.juspay.io/v2/pay/response/Merchant/moznJxJ9YNTpcEhxYM3",
      "status": "REQUIRES_PAYMENT_METHOD",
      "updated_at": "2025-01-28T09:44:47+0000"
    },
    "network_error_message": null,
    "network_error_code": null,
    "arn": null,
    "gateway_merchant_id": null,
    "eci": null,
    "auth_ref_num": null,
    "umrn": null
  },
  "gateway_id": 1130,
  "emi_details": {
    "bank": null,
    "monthly_payment": null,
    "interest": null,
    "conversion_details": null,
    "principal_amount": null,
    "additional_processing_fee_info": null,
    "tenure": null,
    "subvention_info": [],
    "emi_type": null,
    "processed_by": null
  },
  "metadata": {
    "order_expiry": "2025-01-28T10:14:05Z",
    "payment_page_client_id": "Merchant",
    "AIRWALLEX:gateway_reference_id": "Testairwallex",
    "payment_links": {
      "mobile": "https://api.juspay.io/payment-page/order/ordeh_46759436bc09d2c1",
      "web": "https://api.juspay.io/payment-page/order/ordeh_46759436bc09d2c1",
      "iframe": "https://api.juspay.io/payment-page/order/ordeh_46759436bc09d2c1"
    }
  },
  "gateway_reference_id": "Testairwallex",
  "offers": [],
  "additional_info": {},
  "order_expiry": "2025-01-28T10:14:05Z",
  "resp_category": "PAYMENT_FAILURE"
}
```

#### 200 - Success(Refunds):
```plaintext
{
    "customer_email": "test@gmail.com",
    "customer_phone": "99999999",
    "customer_id": "testcardenc1",
    "status_id": 21,
    "status": "CHARGED",
    "id": "ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
    "merchant_id": "merchant_success",
    "amount": 1,
    "currency": "BRL",
    "order_id": "JP1636474794",
    "date_created": "2021-11-09T16:19:55Z",
    "return_url": "",
    "product_id": "",
    "payment_links": {
        "iframe": "https://api.juspay.io/merchant/ipay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
        "web": "https://api.juspay.io/merchant/pay/ordeh_57dfd768bb7d4896bc042y0b90bc9ad77",
        "mobile": "https://api.juspay.io/merchant/pay/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": "STRIPE",
            "refund_type": "STANDARD",
           "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": "BRL",
        "express_checkout": true,
        "redirect": true,
        "txn_uuid": "eulwh5QbZSBvw35eWnH",
        "gateway": "STRIPE",
        "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": {
        "STRIPE:gateway_reference_id": "testmid"
    },
    "gateway_reference_id": "testmid",
    "offers": []
}
```

## Path Parameters:

#### order_id:
Order Id of the order for which you want to check the status
- Value: Example:- JP1636474794
- Tags: String, Mandatory
## Query Parameters:

#### options.add_full_gateway_response:
It accepts a Boolean value. - Set it to **true**  to receive the complete response from the gateway.
- Tags: Boolean, Optional
## API Responses:
### 200:

#### id:
- Description: Unique ID generated by JusPay for the given order
- Tags: string

#### order_id:
- Description: OrderId provided in the request
- Tags: string

#### status:
- Description: Status of the order. For information on different order status and handling, refer [here](https://docs.juspay.in/resources/docs/common-resources/transaction-status)
- Tags: string

#### status_id:
- Description: Status ID is a numeric id corresponding to the status value
- Tags: Integer

#### amount:
- Description: The order amount
- Tags: Double

#### date_created:
- Description: Order creation timestamp in UTC

**Example** : 2021-11-09T16:19:55Z
- Tags: string

#### customer_email:
- Description: The email Id of the customer provided during order creation
- Tags: string

#### customer_phone:
- Description: The phone number of the customer provided during order creation
- Tags: string

#### customer_id:
- Description: The customer id provided during order creation
- Tags: string

#### merchant_id:
- Description: The merchant id provided by Juspay
- Tags: string

#### currency:
- Description: The currency provided during order creation. 

**Default:**  INR
- Tags: string

#### return_url:
- Description: The return url provided during order creation
- Tags: string

#### product_id:
- Description: The product_id provided during order creation
- Tags: string

#### udf1-udf10:
- Description: The user defined fields passed during order creation. Empty in case not passed
- Tags: string

#### txn_id:
- Description: Transaction ID for the payment attempt. Can be used as an identifier at PG end and will be present in reconciliation report.
- Tags: string

#### payment_method_type:
- Description: The payment method type used for transaction. Possible values are CARD, NB, WALLET, UPI, CONSUMER_FINANCE
- Tags: string

#### payment_method:
- Description: The payment method used for the transaction

You may refer to [this doc](https://juspay.io/in/docs/resources/docs/common-resources/payment-locking-bank-codes) for possible values for `payment_method`.
- Tags: string

#### auth_type:
- Description: Possible values `THREE_DS`, `OTP`, `VIES`
- Tags: string

#### refunded:
- Description: **true**  if the order has been completely refunded

**false**  for partial refunds or if the order doesn't have any refunds
- Tags: Boolean

#### amount_refunded:
- Description: Amount which has been refunded so far for the given order
- Tags: Double

#### refunds:
- Description: The refund block with the details of refund initiated for the given order.
- Value:
  - **Unique_request_id**:
    - Description: The unique request id provided during refund initiation
    - Tags: String
  - **Status**:
    - Description: The status of the refund initiated. Initial status will always be PENDING
    - Tags: String
  - **Sent_to_gateway**:
    - Description: The flag denotes if the refund was initiated to gateway. The initial status is always false, as refunds are queued at juspay for a period of 15 minutes
    - Tags: Boolean
  - **Refund_type**:
    - Description: The type of refund. Values can be STANDARD, INSTANT
    - Tags: String
  - **Refund_source**:
    - Description: The name of gateway from which amount is refunded
    - Tags: String
  - **Ref**:
    - Description: The refund id provided by the PG
    - Tags: String
  - **Initiated_by**:
    - Description: The source of initiation
    - Tags: String
  - **Id**:
    - Description: The reference id provided by PG, if not available then its mapped to unique request id.
    - Tags: String
  - **Amount**:
    - Description: The refund amount passed in the request
    - Tags: Double
  - **Created**:
    - Description: The timestamp of refund creation
    - Tags: String
- Tags: Array of Objects

#### txn_uuid:
- Description: The unique id generated by Juspay for a particular transaction. Can be used as an identifier in case of UPI transaction
- Tags: string

#### txn_detail:
- Description: The json object with the details of the transaction
- Tags: JSON

#### payment_gateway_response:
- Description: The json object with the details receive from PG
- Value:
  - **Payment_gateway_response.resp_code**:
    - Description: The response code provided by the gateway
    - Tags: string
  - **Payment_gateway_response.rrn**:
    - Description: The bank reference number provided by the gateway
    - Tags: string
  - **Payment_gateway_response.created**:
    - Description: The transaction creation timestamp
    - Tags: string
  - **Payment_gateway_response.epg_txn_id**:
    - Description: Transaction Id from the underlying gateway
    - Tags: string
  - **Payment_gateway_response.auth_id_code**:
    - Description: Auth code provided by the gateway for the transaction.
    - Tags: string
  - **Payment_gateway_response.txn_id**:
    - Description: Transaction Id for the payment attempt
    - Tags: string
  - **Payment_gateway_response.resp_message**:
    - Description: The response message provided by the gateway
    - Tags: string
  - **Payment_gateway_response.offer_type**:
    - Description: The type of offer applied provided by the gateway( available only if offers are applied)
    - Tags: string
  - **Payment_gateway_response.offer_availed**:
    - Description: true if the offer is applied at the payment gateway. Else it will be false ( available only if offers are applied)
    - Tags: Boolean
  - **Payment_gateway_response.discount_amount**:
    - Description: The discount amount provided by the gateway for the availed offer ( available only if offers are applied)
    - Tags: Double
- Tags: JSON

#### gateway_id:
- Description: Gateway Id of the gateway used for performing this transactions
- Tags: Integer

#### gateway_reference_id:
- Description: The gateway reference id used for the transaction
- Tags: Integer

#### card:
- Description: The json containing the details of the card used for the transaction
- Value:
  - **Card.expiry_year**:
    - Description: The expiry year of the card used for the transaction
    - Tags: string
  - **Card.card_reference**:
    - Description: A reference identifier for the card.
    - Tags: string
  - **Card.expiry_month**:
    - Description: The expiry month of the card used for the transaction
    - Tags: string
  - **Card.saved_to_locker**:
    - Description: true if card was saved to locker, else false
    - Tags: Boolean
  - **Card.name_on_card**:
    - Description: The name on card used for the transaction
    - Tags: string
  - **Card.card_issuer**:
    - Description: Indicates the bank which issued the card
    - Tags: string
  - **Card.last_four_digits**:
    - Description: The last four digit of the card used
    - Tags: string
  - **Card.using_saved_card**:
    - Description: **true**  if transaction was done via a saved card
      
      **false**  if transaction via new card/unsaved card
    - Tags: Boolean
  - **Card.card_fingerprint**:
    - Description: The unique identifier for the card
    - Tags: string
  - **Card.card_isin**:
    - Description: The first six digit of the card used for the transaction
    - Tags: string
  - **Card.card_type**:
    - Description: Indicates if the card is either CREDIT or DEBIT
    - Tags: string
  - **Card.card_brand**:
    - Description: The provider of the card, can be VISA, RUPAY etc.
    - Tags: string
- Tags: JSON
### 400:

#### status:
- Description: Bad Request
- Tags: string

#### error_code:
- Description: Details of keys missing
- Value: <p>Example:- <br> Mandatory fields are missing </p>
- Tags: string

#### error_message:
- Description: Further Details of keys missing
- Tags: string
### 401:

#### status:
- Description: error
- Tags: string

#### error_code:
- Description: access_denied
- Tags: string
### 500:

#### status:
- Description: error
- Tags: string

#### error_code:
- Description: Internal server Error
- Tags: string



### **Error Codes** 




| Scenario | Error Code | Description | Sample Response |
|---|---|---|---|
| Not passing the version in header | - | Note: If a version is provided, the response will include data corresponding to that specific version date.  It is recommended not to enforce strict validation on the entire response on the merchant's side to allow for future key additions. | Response with 200 |
| Invalid order id | 400 | Bad Request | {"status":"NOT_FOUND","error_info":{"user_message":"Order Not Found","developer_message":"Order Not Found","code":"RESOURCE_NOT_FOUND","category":"USER_ERROR"},"status_id":40,"order_id":"173824171"} |
| Invalid API Key | 401 | Unauthorized | {"status":"error","error_code":"access_denied","error_info":{"user_message":"Unauthorized.","developer_message":"Invalid API Key. Please pass a valid and active api key.","code":"UNAUTHORIZED","category":"USER_ERROR"}} |
| Passing an invalid URL | 404 | Not Found |  |



### **Sample Order Status Responses** 




#### Status ID: 27 (AUTHORIZATION_FAILED) Code Snippet:

```status id: 27 (authorization_failed)
{
  "customer_email": "john@gmail.in",
  "customer_phone": "7777777777",
  "customer_id": "cth_qDmzZAzpE4wmEdfv",
  "status_id": 27,
  "status": "AUTHORIZATION_FAILED",
  "id": "ordeh_25a7af0553f4a4947b",
  "merchant_id": "Merchant",
  "amount": 100,
  "currency": "BRL",
  "order_id": "1738564580",
  "date_created": "2025-02-03T06:36:20Z",
  "last_updated": "2025-02-03T06:36:36Z",
  "return_url": "https://juspay.io/",
  "product_id": "JPP20250116130805",
  "payment_links": {
    "mobile": "https://api.juspay.io/payment-page/order/ordeh_25a7af0553f4a4947b",
    "web": "https://api.juspay.io/payment-page/order/ordeh_25a7af0553f4a4947b",
    "iframe": "https://api.juspay.io/payment-page/order/ordeh_25a7af0553f4a4947b"
  },
  "udf1": "udf1",
  "udf2": "udf2",
  "udf3": "udf3",
  "udf4": "udf4",
  "udf5": "udf5",
  "udf6": "udf6",
  "udf7": "udf7",
  "udf8": "udf8",
  "udf9": "udf9",
  "udf10": "udf10",
  "txn_id": "Merchant-1738564580-1",
  "payment_method_type": "CARD",
  "auth_type": "THREE_DS",
  "card": {
    "expiry_year": "2029",
    "card_reference": "",
    "saved_to_locker": false,
    "expiry_month": "12",
    "name_on_card": "TestCard",
    "card_issuer": "CAIXADESTALVISUNIODECAIXESDEMANLLEU.SABADELLYTERRA",
    "last_four_digits": "4305",
    "using_saved_card": false,
    "card_fingerprint": "7khbrifvi7qnqb7qri4cfnb1u9",
    "card_isin": "498843",
    "card_type": "CREDIT",
    "card_brand": "VISA",
    "using_token": false,
    "tokens": [],
    "token_type": "CARD",
    "card_issuer_country": "SPAIN",
    "juspay_bank_code": "",
    "extended_card_type": "CREDIT",
    "payment_account_reference": ""
  },
  "payment_method": "VISA",
  "refunded": false,
  "amount_refunded": 0,
  "effective_amount": 100,
  "resp_code": "PAYMENT_FAILED",
  "resp_message": "Payment Failure",
  "bank_error_code": "pending",
  "bank_error_message": "pending",
  "txn_uuid": "mozxc7jnx8ZhbG8Q2fz",
  "txn_detail": {
    "txn_id": "Merchant-1738564580-1",
    "order_id": "1738564580",
    "status": "AUTHORIZATION_FAILED",
    "error_code": "pending",
    "net_amount": 100,
    "surcharge_amount": null,
    "tax_amount": null,
    "txn_amount": 100,
    "offer_deduction_amount": null,
    "gateway_id": 1142,
    "currency": "BRL",
    "express_checkout": false,
    "redirect": true,
    "txn_uuid": "mozxc7jnx8ZhbG8Q2fz",
    "gateway": "OPNPAYMENTS",
    "response_code": "PAYMENT_FAILED",
    "response_message": "Payment Failure",
    "error_message": "pending",
    "created": "2025-02-03T06:36:31Z",
    "last_updated": "2025-02-03T06:36:36Z",
    "txn_flow_type": "CARD_TRANSACTION",
    "is_cvv_less_txn": false,
    "txn_amount_breakup": [
      {
        "name": "BASE",
        "amount": 100,
        "sno": 1,
        "method": "ADD"
      }
    ]
  },
  "payment_gateway_response": {
    "resp_code": "pending",
    "rrn": null,
    "created": "2025-02-03T06:36:36Z",
    "epg_txn_id": "chrg_62mgv2f76rubbesarr3",
    "resp_message": "pending",
    "auth_id_code": null,
    "txn_id": "Merchant-1738564580-1",
    "gateway_response": {
      "acquirer_reference_number": null,
      "amount": 100,
      "approval_code": null,
      "authorization_type": null,
      "authorize_uri": "https://api.omise.co/payments/paym_62mgv2fah2wpyz6mgod/authorize?acs=false",
      "authorized": false,
      "authorized_amount": null,
      "authorized_at": null,
      "branch": null,
      "can_perform_void": false,
      "capturable": false,
      "capture": true,
      "captured_amount": null,
      "card": {
        "last_digits": "4305",
        "country": "kh",
        "created_at": "2025-02-03T06:36:34Z",
        "livemode": false,
        "bank": "ACLEDA BANK PLC.",
        "id": "card_test_62mgv2ar1xq53mxovuq",
        "expiration_month": 12,
        "deleted": false,
        "street1": null,
        "name": "TestCard",
        "fingerprint": "iCHh47GAuNJg2Kkqd8UrTyPBJzVKYgWW9Wdc7CekhdA=",
        "first_digits": null,
        "brand": "Visa",
        "financing": "credit",
        "state": null,
        "security_code_check": true,
        "location": null,
        "street2": null,
        "expiration_year": 2029,
        "postal_code": null,
        "phone_number": null,
        "object": "card",
        "city": null,
        "tokenization_method": null
      },
      "created_at": "2025-02-03T06:36:35Z",
      "currency": "BRL",
      "customer": null,
      "description": "Description",
      "device": null,
      "disputable": false,
      "dispute": null,
      "expired": false,
      "expired_at": null,
      "expires_at": "2025-02-10T06:36:34Z",
      "failure_code": null,
      "failure_message": null,
      "fee": 77,
      "fee_vat": 5,
      "funding_amount": 2112,
      "funding_currency": "THB",
      "id": "chrg_62mgv2f76rubbesarr3",
      "interest": 0,
      "interest_vat": 0,
      "ip": "219.65.110.2",
      "link": null,
      "linked_account": null,
      "livemode": false,
      "location": "/charges/chrg_62mgv2f76rubbesarr3",
      "merchant_advice": null,
      "merchant_name": null,
      "merchant_uid": null,
      "metadata": {
        "refund_id": null,
        "txn_id": "Merchant-1738564580-1"
      },
      "net": 2030,
      "object": "charge",
      "paid": false,
      "paid_at": null,
      "partially_refundable": false,
      "platform_fee": {
        "fixed": null,
        "amount": null,
        "percentage": null
      },
      "refundable": false,
      "refunded_amount": 0,
      "refunds": {
        "offset": 0,
        "limit": 20,
        "from": "1970-01-01T00:00:00Z",
        "data": [],
        "order": "chronological",
        "to": "2025-02-03T06:36:36Z",
        "location": "/charges/chrg_62mgv2f76rubbesarr3/refunds",
        "total": 0,
        "object": "list"
      },
      "return_uri": "https://api.juspay.io/v2/pay/response/Merchant/mozxc7jnx8ZhbG8Q2fz",
      "reversed": false,
      "reversed_at": null,
      "reversible": false,
      "schedule": null,
      "source": null,
      "status": "pending",
      "terminal": null,
      "transaction": null,
      "transaction_fees": {
        "vat_rate": "7.0",
        "fee_rate": "3.65",
        "fee_flat": "0.0"
      },
      "unmanaged_payment": null,
      "voided": false,
      "zero_interest_installments": false
    },
    "network_error_message": null,
    "network_error_code": null,
    "arn": null,
    "gateway_merchant_id": null,
    "eci": null,
    "auth_ref_num": null,
    "umrn": null
  },
  "gateway_id": 1142,
  "emi_details": {
    "bank": null,
    "monthly_payment": null,
    "interest": null,
    "conversion_details": null,
    "principal_amount": null,
    "additional_processing_fee_info": null,
    "tenure": null,
    "subvention_info": [],
    "emi_type": null,
    "processed_by": null
  },
  "metadata": {
    "order_expiry": "2025-02-03T07:06:20Z",
    "payment_page_client_id": "Merchant",
    "payment_links": {
      "mobile": "https://api.juspay.io/payment-page/order/ordeh_25a7af0553f4a4947b",
      "web": "https://api.juspay.io/payment-page/order/ordeh_25a7af0553f4a4947b",
      "iframe": "https://api.juspay.io/payment-page/order/ordeh_25a7af0553f4a4947b"
    },
    "OPNPAYMENTS:gateway_reference_id": "test"
  },
  "gateway_reference_id": "test",
  "offers": [],
  "additional_info": {},
  "order_expiry": "2025-02-03T07:06:20Z",
  "resp_category": "PAYMENT_FAILURE"
}
```

#### Status ID: 23 (PENDING_VBV) Code Snippet:

```status id: 23 (pending_vbv)
{
  "customer_email": "john@gmail.in",
  "customer_phone": "7777777777",
  "customer_id": "cth_qDmzZAzpE4wmEdfv",
  "status_id": 23,
  "status": "PENDING_VBV",
  "id": "ordeh_97e165a83f29472f9",
  "merchant_id": "Merchant",
  "amount": 100,
  "currency": "BRL",
  "order_id": "1738564239",
  "date_created": "2025-02-03T06:30:39Z",
  "last_updated": "2025-02-03T06:30:39Z",
  "return_url": "https://juspay.io/",
  "product_id": "JPP20250116130805",
  "payment_links": {
    "mobile": "https://api.juspay.io/payment-page/order/ordeh_97e165a83f29472f9",
    "web": "https://api.juspay.io/payment-page/order/ordeh_97e165a83f29472f9",
    "iframe": "https://api.juspay.io/payment-page/order/ordeh_97e165a83f29472f9"
  },
  "udf1": "udf1",
  "udf2": "udf2",
  "udf3": "udf3",
  "udf4": "udf4",
  "udf5": "udf5",
  "udf6": "udf6",
  "udf7": "udf7",
  "udf8": "udf8",
  "udf9": "udf9",
  "udf10": "udf10",
  "txn_id": "Merchant-1738564239-1",
  "payment_method_type": "CARD",
  "auth_type": "THREE_DS",
  "card": {
    "expiry_year": "2029",
    "card_reference": "",
    "saved_to_locker": false,
    "expiry_month": "12",
    "name_on_card": "TestCard",
    "card_issuer": "CAIXADESTALVISUNIODECAIXESDEMANLLEU.SABADELLYTERRA",
    "last_four_digits": "4305",
    "using_saved_card": false,
    "card_fingerprint": "7khbrifvi7nqb7qri4cfnb1u9",
    "card_isin": "498843",
    "card_type": "CREDIT",
    "card_brand": "VISA",
    "using_token": false,
    "tokens": [],
    "token_type": "CARD",
    "card_issuer_country": "SPAIN",
    "juspay_bank_code": "",
    "extended_card_type": "CREDIT",
    "payment_account_reference": ""
  },
  "payment_method": "VISA",
  "refunded": false,
  "amount_refunded": 0,
  "effective_amount": 100,
  "resp_code": null,
  "resp_message": null,
  "bank_error_code": "",
  "bank_error_message": "",
  "txn_uuid": "mozfAYB69VAjiJL6gGn",
  "txn_detail": {
    "txn_id": "Merchant-1738564239-1",
    "order_id": "1738564239",
    "status": "PENDING_VBV",
    "error_code": null,
    "net_amount": 100,
    "surcharge_amount": null,
    "tax_amount": null,
    "txn_amount": 100,
    "offer_deduction_amount": null,
    "gateway_id": 1142,
    "currency": "BRL",
    "express_checkout": false,
    "redirect": true,
    "txn_uuid": "mozfAYB69VAjiJL6gGn",
    "gateway": "OPNPAYMENTS",
    "error_message": "",
    "created": "2025-02-03T06:30:47Z",
    "last_updated": "2025-02-03T06:30:48Z",
    "txn_flow_type": "CARD_TRANSACTION",
    "is_cvv_less_txn": false,
    "txn_amount_breakup": [
      {
        "name": "BASE",
        "amount": 100,
        "sno": 1,
        "method": "ADD"
      }
    ]
  },
  "gateway_id": 1142,
  "emi_details": {
    "bank": null,
    "monthly_payment": null,
    "interest": null,
    "conversion_details": null,
    "principal_amount": null,
    "additional_processing_fee_info": null,
    "tenure": null,
    "subvention_info": [],
    "emi_type": null,
    "processed_by": null
  },
  "metadata": {
    "order_expiry": "2025-02-03T07:00:39Z",
    "payment_page_client_id": "Merchant",
    "payment_links": {
      "mobile": "https://api.juspay.io/payment-page/order/ordeh_97e165a83f29472f9",
      "web": "https://api.juspay.io/payment-page/order/ordeh_97e165a83f29472f9",
      "iframe": "https://api.juspay.io/payment-page/order/ordeh_97e165a83f29472f9"
    },
    "OPNPAYMENTS:gateway_reference_id": "test"
  },
  "gateway_reference_id": "test",
  "offers": [],
  "additional_info": {},
  "order_expiry": "2025-02-03T07:00:39Z",
  "resp_category": null
}
```

#### Status ID: 21 (CHARGED) Code Snippet:

```status id: 21 (charged)
{
  "customer_email": "john@gmail.in",
  "customer_phone": "7777777777",
  "customer_id": "cth_qDmzZAzpE4wmEdfv",
  "status_id": 21,
  "status": "CHARGED",
  "id": "ordeh_97e165a827443f29472f9",
  "merchant_id": "Merchant",
  "amount": 100,
  "currency": "BRL",
  "id": "1738564239",
  "date_created": "2025-02-03T06:30:39Z",
  "last_updated": "2025-02-03T06:34:58Z",
  "return_url": "https://juspay.io/",
  "product_id": "JPP20250116130805",
  "payment_links": {
    "mobile": "https://api.juspay.io/payment-page/order/ordeh_97e165a827443f29472f9",
    "web": "https://api.juspay.io/payment-page/order/ordeh_97e165a827443f29472f9",
    "iframe": "https://api.juspay.io/payment-page/order/ordeh_97e165a827443f29472f9"
  },
  "udf1": "udf1",
  "udf2": "udf2",
  "udf3": "udf3",
  "udf4": "udf4",
  "udf5": "udf5",
  "udf6": "udf6",
  "udf7": "udf7",
  "udf8": "udf8",
  "udf9": "udf9",
  "udf10": "udf10",
  "txn_id": "Merchant-1738564239-1",
  "payment_method_type": "CARD",
  "auth_type": "THREE_DS",
  "card": {
    "expiry_year": "2029",
    "card_reference": "9698395431e1c146e4f530c5809046a9",
    "saved_to_locker": true,
    "expiry_month": "12",
    "name_on_card": "TestCard",
    "card_issuer": "CAIXADESTALVISUNIODECAIXESDEMANLLEU.SABADELLYTERRA",
    "last_four_digits": "4305",
    "using_saved_card": false,
    "card_fingerprint": "7khbrifvi7nqb7qri4cfnb1u9",
    "card_isin": "498843",
    "card_type": "CREDIT",
    "card_brand": "VISA",
    "using_token": false,
    "tokens": [],
    "token_type": "CARD",
    "card_issuer_country": "SPAIN",
    "juspay_bank_code": "",
    "extended_card_type": "CREDIT",
    "payment_account_reference": ""
  },
  "payment_method": "VISA",
  "refunded": false,
  "amount_refunded": 0,
  "effective_amount": 100,
  "resp_code": null,
  "resp_message": null,
  "bank_error_code": "",
  "bank_error_message": "",
  "txn_uuid": "mozfAYB69VAjiJL6gGn",
  "txn_detail": {
    "txn_id": "Merchant-1738564239-1",
    "id": "1738564239",
    "status": "CHARGED",
    "error_code": null,
    "net_amount": 100,
    "surcharge_amount": null,
    "tax_amount": null,
    "txn_amount": 100,
    "offer_deduction_amount": null,
    "remaining_refundable_amount": 100,
    "gateway_id": 1142,
    "currency": "BRL",
    "express_checkout": false,
    "redirect": true,
    "txn_uuid": "mozfAYB69VAjiJL6gGn",
    "gateway": "OPNPAYMENTS",
    "error_message": "",
    "created": "2025-02-03T06:30:47Z",
    "last_updated": "2025-02-03T06:34:58Z",
    "txn_flow_type": "CARD_TRANSACTION",
    "is_cvv_less_txn": false,
    "txn_amount_breakup": [
      {
        "name": "BASE",
        "amount": 100,
        "sno": 1,
        "method": "ADD"
      }
    ]
  },
  "payment_gateway_response": {
    "resp_code": "successful",
    "rrn": null,
    "created": "2025-02-03T06:34:56Z",
    "epg_txn_id": "chrg_62mguhebb6xlutcyfo8",
    "resp_message": "successful",
    "auth_id_code": null,
    "txn_id": "Merchant-1738564239-1",
    "gateway_response": {
      "acquirer_reference_number": null,
      "amount": 100,
      "approval_code": null,
      "authorization_type": null,
      "authorize_uri": "https://api.omise.co/payments/paym_test_62mguhegj85dr4uncm2/authorize?acs=false",
      "authorized": true,
      "authorized_amount": null,
      "authorized_at": "2025-02-03T06:34:57Z",
      "branch": null,
      "can_perform_void": true,
      "capturable": false,
      "capture": true,
      "captured_amount": null,
      "card": {
        "last_digits": "4305",
        "country": "kh",
        "created_at": "2025-02-03T06:34:53Z",
        "livemode": false,
        "bank": "ACLEDA BANK PLC.",
        "id": "card_test_62mguh1ilwmkpavsfsc",
        "expiration_month": 12,
        "deleted": false,
        "street1": null,
        "name": "TestCard",
        "fingerprint": "iCHh47GAuNJg2Kkqd8UrTyPBJzVKYgWW9Wdc7CekhdA=",
        "first_digits": null,
        "brand": "Visa",
        "financing": "credit",
        "state": null,
        "security_code_check": true,
        "location": null,
        "street2": null,
        "expiration_year": 2029,
        "postal_code": null,
        "phone_number": null,
        "object": "card",
        "city": null,
        "tokenization_method": null
      },
      "created_at": "2025-02-03T06:34:55Z",
      "currency": "BRL",
      "customer": null,
      "description": "Description",
      "device": null,
      "disputable": true,
      "dispute": null,
      "expired": false,
      "expired_at": null,
      "expires_at": "2025-02-10T06:34:54Z",
      "failure_code": null,
      "failure_message": null,
      "fee": 77,
      "fee_vat": 5,
      "funding_amount": 2112,
      "funding_currency": "THB",
      "id": "chrg_62mguhebb6xlutcyfo8",
      "interest": 0,
      "interest_vat": 0,
      "ip": "219.65.110.2",
      "link": null,
      "linked_account": null,
      "livemode": false,
      "location": "/charges/chrg_62mguhebb6xlutcyfo8",
      "merchant_advice": null,
      "merchant_name": null,
      "merchant_uid": null,
      "metadata": {
        "refund_id": null,
        "txn_id": "Merchant-1738564239-1"
      },
      "net": 2030,
      "object": "charge",
      "paid": true,
      "paid_at": "2025-02-03T06:34:57Z",
      "partially_refundable": true,
      "platform_fee": {
        "fixed": null,
        "amount": null,
        "percentage": null
      },
      "refundable": true,
      "refunded_amount": 0,
      "refunds": {
        "offset": 0,
        "limit": 20,
        "from": "1970-01-01T00:00:00Z",
        "data": [],
        "order": "chronological",
        "to": "2025-02-03T06:34:58Z",
        "location": "/charges/chrg_62mguhebb6xlutcyfo8/refunds",
        "total": 0,
        "object": "list"
      },
      "return_uri": "https://api.juspay.io/v2/pay/response/Merchant/mozfAYB69VAjiJL6gGn",
      "reversed": false,
      "reversed_at": null,
      "reversible": false,
      "schedule": null,
      "source": null,
      "status": "successful",
      "terminal": null,
      "transaction": "trxn_62mguhuonuz76jl78ch",
      "transaction_fees": {
        "vat_rate": "7.0",
        "fee_rate": "3.65",
        "fee_flat": "0.0"
      },
      "unmanaged_payment": null,
      "voided": false,
      "zero_interest_installments": false
    },
    "network_error_message": null,
    "network_error_code": null,
    "arn": null,
    "gateway_merchant_id": null,
    "eci": null,
    "auth_ref_num": null,
    "umrn": null
  },
  "gateway_id": 1142,
  "emi_details": {
    "bank": null,
    "monthly_payment": null,
    "interest": null,
    "conversion_details": null,
    "principal_amount": null,
    "additional_processing_fee_info": null,
    "tenure": null,
    "subvention_info": [],
    "emi_type": null,
    "processed_by": null
  },
  "metadata": {
    "expiry": "2025-02-03T07:00:39Z",
    "payment_page_client_id": "Merchant",
    "payment_links": {
      "mobile": "https://api.juspay.io/payment-page/order/ordeh_97e165a827443f29472f9",
      "web": "https://api.juspay.io/payment-page/order/ordeh_97e165a827443f29472f9",
      "iframe": "https://api.juspay.io/payment-page/order/ordeh_97e165a827443f29472f9"
    },
    "OPNPAYMENTS:gateway_reference_id": "test"
  },
  "gateway_reference_id": "test",
  "offers": [],
  "maximum_eligible_refund_amount": 100,
  "additional_info": {},
  "expiry": "2025-02-03T07:00:39Z",
  "resp_category": null
}
```

#### Status ID: 28 (AUTHORIZING) Code Snippet:

```status id: 28 (authorizing)
{
  "customer_email": "john@gmail.in",
  "customer_phone": "918859394745",
  "customer_id": "7076607677",
  "status_id": 28,
  "status": "AUTHORIZING",
  "id": "ordeh_84e56a51384ac7842d31c",
  "merchant_id": "Merchant",
  "amount": 100,
  "currency": "BRL",
  "id": "1738565178",
  "date_created": "2025-02-03T06:46:17Z",
  "last_updated": "2025-02-03T06:46:57Z",
  "return_url": "https://google.com",
  "product_id": "Shocks",
  "payment_links": {
    "mobile": "https://api.juspay.io/payment-page/order/ordeh_84e56a51384ac7842d31c",
    "web": "https://api.juspay.io/payment-page/order/ordeh_84e56a51384ac7842d31c",
    "iframe": "https://api.juspay.io/payment-page/order/ordeh_84e56a51384ac7842d31c"
  },
  "udf1": "",
  "udf2": "",
  "udf3": "",
  "udf4": "",
  "udf5": "",
  "udf6": "",
  "udf7": "",
  "udf8": "",
  "udf9": "",
  "udf10": "",
  "txn_id": "Merchant-1738565178-1",
  "payment_method_type": "RTP",
  "auth_type": "",
  "payment_method": "DUITNOW",
  "refunded": false,
  "amount_refunded": 0,
  "effective_amount": 100,
  "resp_code": null,
  "resp_message": null,
  "bank_error_code": "REQUIRES_CUSTOMER_ACTION",
  "bank_error_message": "AUTHENTICATION_REDIRECTED",
  "txn_uuid": "mozfdRZafsPojMweRkD",
  "txn_detail": {
    "txn_id": "Merchant-1738565178-1",
    "id": "1738565178",
    "status": "AUTHORIZING",
    "error_code": "REQUIRES_CUSTOMER_ACTION",
    "net_amount": 100,
    "surcharge_amount": null,
    "tax_amount": null,
    "txn_amount": 100,
    "offer_deduction_amount": null,
    "gateway_id": 1130,
    "currency": "BRL",
    "express_checkout": false,
    "redirect": true,
    "txn_uuid": "mozfdRZafsPojMweRkD",
    "gateway": "AIRWALLEX",
    "error_message": "AUTHENTICATION_REDIRECTED",
    "created": "2025-02-03T06:46:28Z",
    "last_updated": "2025-02-03T06:46:57Z",
    "txn_amount_breakup": [
      {
        "name": "BASE",
        "amount": 100,
        "sno": 1,
        "method": "ADD"
      }
    ]
  },
  "payment_gateway_response": {
    "resp_code": "REQUIRES_CUSTOMER_ACTION",
    "rrn": null,
    "created": "2025-02-03T06:46:45Z",
    "epg_txn_id": "int_hkdmkn9j2h49ptu49sl",
    "resp_message": "AUTHENTICATION_REDIRECTED",
    "auth_id_code": null,
    "txn_id": "Merchant-1738565178-1",
    "gateway_response": {
      "amount": 100,
      "captured_amount": 0,
      "client_secret": "eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3Mzg1NjUyMTcsImV4cCI6MTczODU2ODgxNywidHlwZSI6ImNsaWVudC1zZWNyZXQiLCJwYWRjIjoiSEsiLCJhY2NvdW50X2lkIjoiMWUzYWYzNTYtYzI4Mi00OTJhLTgwNmEtMZiZmFkMGEwWVhIiwiaW50ZW50X2lkIjoiaW50X2hrZG1rbjlqMmg0OXB0dTQ5c2wiLCJidXNpbmVzc19uYW1lIjoiSnVzcGF5IE1lcmNoYW50In0.M7djxdMjFcepgU_CcqAT2Hb7gfqkXQS35VTYybcJkWc",
      "created_at": "2025-02-03T06:46:44+0000",
      "currency": "BRL",
      "customer": {
        "merchant_customer_id": "7076607677",
        "last_name": "K",
        "email": "john@gmail.in",
        "phone_number": "918859394745",
        "first_name": "Shiva"
      },
      "id": "int_hkdmkn9j2h49ptu49sl",
      "latest_payment_attempt": {
        "payment_consent_id": null,
        "dcc_data": null,
        "provider_original_response_code": "order failed",
        "created_at": "2025-02-03T06:46:44+0000",
        "refunded_amount": 0,
        "authentication_data": {
          "ds_data": {},
          "fraud_data": {
            "score": "0",
            "risk_factors": [],
            "action": "ACCEPT"
          },
          "cvc_result": "U",
          "avs_result": "U"
        },
        "status": "AUTHENTICATION_REDIRECTED",
        "id": "att_hkdmkn9j2h49ptue0vm_tu49sl",
        "payment_method_transaction_id": null,
        "settle_via": "airwallex",
        "acquirer_reference_number": null,
        "payment_method_options": {
          "card": {}
        },
        "authorization_code": null,
        "payment_intent_id": "int_hkdmkn9j2h49ptu49sl",
        "currency": "BRL",
        "provider_transaction_id": "mck_hkdmhkb7rh49pturm48",
        "failure_code": null,
        "amount": 100,
        "merchant_id": "Merchant-1738565178-1",
        "merchant_advice_code": null,
        "payment_method": {
          "duit_now": {
            "shopper_name": "Shiva K"
          },
          "type": "duit_now"
        },
        "updated_at": "2025-02-03T06:46:51+0000",
        "captured_amount": 0
      },
      "merchant_id": "Merchant-1738565178-1",
      "request_id": "Merchant-1738565178-1",
      "return_url": "https://api.juspay.io/v2/pay/response/Merchant/mozfdRZafsPojMweRkD",
      "status": "REQUIRES_CUSTOMER_ACTION",
      "updated_at": "2025-02-03T06:46:45+0000"
    },
    "network_error_message": null,
    "network_error_code": null,
    "arn": null,
    "gateway_merchant_id": null,
    "eci": null,
    "auth_ref_num": null,
    "umrn": null
  },
  "gateway_id": 1130,
  "emi_details": {
    "bank": null,
    "monthly_payment": null,
    "interest": null,
    "conversion_details": null,
    "principal_amount": null,
    "additional_processing_fee_info": null,
    "tenure": null,
    "subvention_info": [],
    "emi_type": null,
    "processed_by": null
  },
  "metadata": {
    "expiry": "2025-02-03T07:16:17Z",
    "payment_page_client_id": "Merchant",
    "AIRWALLEX:gateway_reference_id": "testairwallex",
    "payment_links": {
      "mobile": "https://api.juspay.io/payment-page/order/ordeh_84e56a51384ac7842d31c",
      "web": "https://api.juspay.io/payment-page/order/ordeh_84e56a51384ac7842d31c",
      "iframe": "https://api.juspay.io/payment-page/order/ordeh_84e56a51384ac7842d31c"
    }
  },
  "gateway_reference_id": "testairwallex",
  "offers": [],
  "additional_info": {},
  "expiry": "2025-02-03T07:16:17Z",
  "resp_category": null,
  "refund_supported": true,
  "last_date_to_refund": "2025-08-02T06:46:28Z"
}
```

#### Status ID: 10 (NEW) Code Snippet:

```status id: 10 (new)
{
  "customer_email": "steverogers@xyz.com",
  "customer_phone": "9090909090",
  "customer_id": "cst_dwZS5EzXxAzKKKsp",
  "status_id": 10,
  "status": "NEW",
  "id": "ordeh_fe7c720e9b76ec5acdf",
  "merchant_id": "Merchant",
  "amount": 100.89,
  "currency": "BRL",
  "id": "1738565814",
  "date_created": "2025-02-03T06:56:54Z",
  "last_updated": "2025-02-03T06:56:54Z",
  "return_url": "https://www.juspay.io",
  "product_id": "",
  "payment_links": {
    "mobile": "https://portal.sandbox.juspay.io/payment-page/order/ordeh_fe7c720e9b76ec5acdf",
    "web": "https://portal.sandbox.juspay.io/payment-page/order/ordeh_fe7c720e9b76ec5acdf",
    "iframe": "https://portal.sandbox.juspay.io/payment-page/order/ordeh_fe7c720e9b76ec5acdf"
  },
  "udf1": "",
  "udf2": "",
  "udf3": "",
  "udf4": "",
  "udf5": "",
  "udf6": "",
  "udf7": "",
  "udf8": "",
  "udf9": "",
  "udf10": "",
  "refunded": false,
  "amount_refunded": 0,
  "effective_amount": 100.89,
  "emi_details": {
    "bank": null,
    "monthly_payment": null,
    "interest": null,
    "conversion_details": null,
    "principal_amount": null,
    "additional_processing_fee_info": null,
    "tenure": null,
    "subvention_info": [],
    "emi_type": null,
    "processed_by": null
  },
  "metadata": {
    "expiry": "2025-02-03T07:26:54Z",
    "payment_page_client_id": "Merchant",
    "payment_links": {
      "mobile": "https://sandbox.juspay.in/payment-page/order/ordeh_fe7c720e9b76ec5acdf",
      "web": "https://sandbox.juspay.in/payment-page/order/ordeh_fe7c720e9b76ec5acdf",
      "iframe": "https://sandbox.juspay.in/payment-page/order/ordeh_fe7c720e9b76ec5acdf"
    },
    "OPNPAYMENTS:gateway_reference_id": "test",
    "txns.allow_card_no_3ds": true
  },
  "offers": [],
  "additional_info": {},
  "expiry": "2025-02-03T07:26:54Z"
}
```

#### Status ID: 31 (VOIDED) Code Snippet:

```status id: 31 (voided)
{
  "udf4": "udf4",
  "resp_category": null,
  "emi_details": {
    "bank": null,
    "monthly_payment": null,
    "interest": null,
    "conversion_details": null,
    "principal_amount": null,
    "additional_processing_fee_info": null,
    "tenure": null,
    "subvention_info": [],
    "emi_type": null,
    "processed_by": null
  },
  "udf8": "udf8",
  "udf3": "udf3",
  "udf6": "udf6",
  "offers": [],
  "bank_error_code": "08000",
  "status": "VOIDED",
  "expiry": "2025-01-29T09:44:12Z",
  "bank_error_message": "Success",
  "id": "ordeh_7f4ca35f1441e46662a",
  "return_url": "https://juspay.in/",
  "txn_uuid": "mozcFjh3hc5aYeaJnhB",
  "gateway_id": 75,
  "currency": "AED",
  "date_created": "2025-01-29T09:14:12Z",
  "resp_message": null,
  "udf2": "udf2",
  "payment_links": {
    "mobile": "https://sandbox.juspay.in/payment-page/order/ordeh_7f4ca35f1441e46662a",
    "web": "https://sandbox.juspay.in/payment-page/order/ordeh_7f4ca35f1441e46662a",
    "iframe": "https://sandbox.juspay.in/payment-page/order/ordeh_7f4ca35f1441e46662a"
  },
  "customer_email": "john@gmail.in",
  "customer_phone": "7777777777",
  "udf5": "udf5",
  "card": {
    "extended_card_type": "DEBIT",
    "token_type": "CARD",
    "tokens": [],
    "last_four_digits": "1111",
    "card_reference": "e454d42e0f1f6c030ad15ed514be5b3",
    "payment_account_reference": "",
    "card_type": "DEBIT",
    "card_issuer": "CONOTOXIA SP. Z O.O",
    "expiry_month": "12",
    "card_fingerprint": "77e6cen0ttd27adci6q9org2pl",
    "saved_to_locker": true,
    "using_token": false,
    "using_saved_card": false,
    "juspay_bank_code": "JP_HDFC",
    "name_on_card": "TestCard",
    "card_isin": "411111",
    "expiry_year": "2029",
    "card_brand": "VISA",
    "card_issuer_country": "POLAND"
  },
  "status_id": 31,
  "merchant_id": "Merchant",
  "resp_code": null,
  "udf9": "udf9",
  "amount": 100,
  "refunded": false,
  "auth_type": "THREE_DS",
  "id": "1738142052",
  "payment_method": "VISA",
  "udf7": "udf7",
  "udf10": "udf10",
  "payment_gateway_response": {
    "epg_txn_id": "169996200022121357",
    "network_error_code": null,
    "auth_ref_num": null,
    "arn": null,
    "eci": null,
    "resp_message": "Success",
    "created": "2025-01-29T09:14:36Z",
    "rrn": "502909332098",
    "umrn": null,
    "resp_code": "08000",
    "network_error_message": null,
    "gateway_merchant_id": null,
    "auth_id_code": "332098",
    "txn_id": "Merchant-1738142052-1"
  },
  "effective_amount": 100,
  "txn_id": "Merchant-1738142052-1",
  "product_id": "JPP20250116130805",
  "customer_id": "cth_jG1GkTJwdS2ivq1e",
  "payment_method_type": "CARD",
  "amount_refunded": 0,
  "udf1": "udf1"
}
```

#### Status ID: 21 (CHARGED for Captured transactions) Code Snippet:

```status id: 21 (charged for captured transactions)
{
  "udf4": "udf4",
  "resp_category": null,
  "emi_details": {
    "bank": null,
    "monthly_payment": null,
    "interest": null,
    "conversion_details": null,
    "principal_amount": null,
    "additional_processing_fee_info": null,
    "tenure": null,
    "subvention_info": [],
    "emi_type": null,
    "processed_by": null
  },
  "maximum_eligible_refund_amount": 100,
  "udf8": "udf8",
  "udf3": "udf3",
  "udf6": "udf6",
  "offers": [],
  "bank_error_code": "",
  "status": "CHARGED",
  "expiry": "2025-01-29T09:47:41Z",
  "bank_error_message": "",
  "id": "ordeh_5b11edef12dc459d98c51a2135d8f5d1",
  "return_url": "https://juspay.in/",
  "txn_uuid": "moz9tkS6qahfYUp2HrS",
  "gateway_id": 75,
  "currency": "AED",
  "date_created": "2025-01-29T09:17:41Z",
  "resp_message": null,
  "udf2": "udf2",
  "payment_links": {
    "mobile": "https://sandbox.juspay.in/payment-page/order/ordeh_5b11edef12dc459d98c51a2135d8f5d1",
    "web": "https://sandbox.juspay.in/payment-page/order/ordeh_5b11edef12dc459d98c51a2135d8f5d1",
    "iframe": "https://sandbox.juspay.in/payment-page/order/ordeh_5b11edef12dc459d98c51a2135d8f5d1"
  },
  "customer_email": "john@gmail.in",
  "customer_phone": "7777777777",
  "udf5": "udf5",
  "card": {
    "extended_card_type": "DEBIT",
    "token_type": "CARD",
    "tokens": [],
    "last_four_digits": "1111",
    "card_reference": "e454d42e0f16c03d0ad15ed514be5b3",
    "payment_account_reference": "",
    "card_type": "DEBIT",
    "card_issuer": "CONOTOXIA SP. Z O.O",
    "expiry_month": "12",
    "card_fingerprint": "77e6cen0ttd27adci6q9org2pl",
    "saved_to_locker": true,
    "using_token": false,
    "using_saved_card": false,
    "juspay_bank_code": "JP_HDFC",
    "name_on_card": "TestCard",
    "card_isin": "411111",
    "expiry_year": "2029",
    "card_brand": "VISA",
    "card_issuer_country": "POLAND"
  },
  "status_id": 21,
  "merchant_id": "Merchant",
  "resp_code": null,
  "udf9": "udf9",
  "amount": 100,
  "refunded": false,
  "auth_type": "THREE_DS",
  "id": "1738142261",
  "payment_method": "VISA",
  "udf7": "udf7",
  "udf10": "udf10",
  "payment_gateway_response": {
    "epg_txn_id": "169996200022121446",
    "network_error_code": null,
    "auth_ref_num": null,
    "arn": null,
    "eci": null,
    "resp_message": "Success",
    "created": "2025-01-29T09:18:06Z",
    "rrn": "502909326940",
    "umrn": null,
    "resp_code": "04000",
    "network_error_message": null,
    "gateway_merchant_id": null,
    "auth_id_code": "326940",
    "txn_id": "Merchant-1738142261-1"
  },
  "effective_amount": 100,
  "txn_id": "Merchant-1738142261-1",
  "product_id": "JPP20250116130805",
  "customer_id": "cth_jG1GkTJwdS2ivq1e",
  "payment_method_type": "CARD",
  "amount_refunded": 0,
  "udf1": "udf1"
}
```

#### Status ID: 25 (AUTHORIZED) Code Snippet:

```status id: 25 (authorized)
{
  "customer_email": "john@gmail.in",
  "customer_phone": "7777777777",
  "customer_id": "cth_jG1GkTJwdS2ivq1e",
  "status_id": 25,
  "status": "AUTHORIZED",
  "id": "ordeh_e3e7ad884a4956d3",
  "merchant_id": "Merchant",
  "amount": 100,
  "currency": "AED",
  "id": "1738566370",
  "date_created": "2025-02-03T07:06:09Z",
  "return_url": "https://juspay.in/",
  "product_id": "JPP20250116130805",
  "payment_links": {
    "mobile": "https://sandbox.juspay.in/payment-page/order/ordeh_e3e7ad884a4956d3",
    "web": "https://sandbox.juspay.in/payment-page/order/ordeh_e3e7ad884a4956d3",
    "iframe": "https://sandbox.juspay.in/payment-page/order/ordeh_e3e7ad884a4956d3"
  },
  "udf1": "udf1",
  "udf2": "udf2",
  "udf3": "udf3",
  "udf4": "udf4",
  "udf5": "udf5",
  "udf6": "udf6",
  "udf7": "udf7",
  "udf8": "udf8",
  "udf9": "udf9",
  "udf10": "udf10",
  "txn_id": "Merchant-1738566370-1",
  "payment_method_type": "CARD",
  "auth_type": "THREE_DS",
  "card": {
    "expiry_year": "2029",
    "card_reference": "e454d42e0f1fc03d0ad15ed514be5b3",
    "saved_to_locker": true,
    "expiry_month": "12",
    "name_on_card": "TestCard",
    "card_issuer": "CONOTOXIA SP. Z O.O",
    "last_four_digits": "1111",
    "using_saved_card": false,
    "card_fingerprint": "77e6cen0ttd27adci6q9org2pl",
    "card_isin": "411111",
    "card_type": "DEBIT",
    "card_brand": "VISA",
    "using_token": false,
    "tokens": [],
    "token_type": "CARD",
    "card_issuer_country": "POLAND",
    "juspay_bank_code": "JP_HDFC",
    "extended_card_type": "DEBIT",
    "payment_account_reference": ""
  },
  "payment_method": "VISA",
  "refunded": false,
  "amount_refunded": 0,
  "effective_amount": 100,
  "resp_code": "TXN_SUCCESS",
  "resp_message": "Transaction is successful",
  "bank_error_code": "00",
  "bank_error_message": "Approved",
  "txn_uuid": "mozrhpVX3wJgUw1Jgpm",
  "payment_gateway_response": {
    "resp_code": "00",
    "rrn": "503407065670",
    "created": "2025-02-03T07:06:46Z",
    "epg_txn_id": "169996200022254651",
    "resp_message": "Approved",
    "auth_id_code": "065670",
    "txn_id": "Merchant-1738566370-1",
    "network_error_message": null,
    "network_error_code": null,
    "arn": null,
    "gateway_merchant_id": null,
    "eci": null,
    "auth_ref_num": null,
    "umrn": null
  },
  "gateway_id": 75,
  "emi_details": {
    "bank": null,
    "monthly_payment": null,
    "interest": null,
    "conversion_details": null,
    "principal_amount": null,
    "additional_processing_fee_info": null,
    "tenure": null,
    "subvention_info": [],
    "emi_type": null,
    "processed_by": null
  },
  "offers": [],
  "expiry": "2025-02-03T07:36:09Z",
  "resp_category": null
}
```

#### Status ID: 26 (AUTHENTICATION_FAILED) Code Snippet:

```status id: 26 (authentication_failed)
{
  "customer_email": "john@gmail.in",
  "customer_phone": "7777777777",
  "customer_id": "cth_jG1GkTJwdS2ivq1e",
  "status_id": 26,
  "status": "AUTHENTICATION_FAILED",
  "id": "ordeh_946342cf8da539421",
  "merchant_id": "Merchant",
  "amount": 100,
  "currency": "AED",
  "id": "1737443349",
  "date_created": "2025-01-21T07:09:08Z",
  "last_updated": "2025-01-21T07:12:25Z",
  "return_url": "https://juspay.in/",
  "product_id": "JPP20250116130805",
  "payment_links": {
    "mobile": "https://sandbox.juspay.in/payment-page/order/ordeh_946342cf8da539421",
    "web": "https://sandbox.juspay.in/payment-page/order/ordeh_946342cf8da539421",
    "iframe": "https://sandbox.juspay.in/payment-page/order/ordeh_946342cf8da539421"
  },
  "udf1": "udf1",
  "udf2": "udf2",
  "udf3": "udf3",
  "udf4": "udf4",
  "udf5": "udf5",
  "udf6": "udf6",
  "udf7": "udf7",
  "udf8": "udf8",
  "udf9": "udf9",
  "udf10": "udf10",
  "txn_id": "Merchant-1737443349-1",
  "payment_method_type": "CARD",
  "auth_type": "THREE_DS",
  "card": {
    "expiry_year": "2029",
    "card_reference": "",
    "saved_to_locker": false,
    "expiry_month": "12",
    "name_on_card": "TestCard",
    "card_issuer": "STRIPE PAYMENTS UK LIMITED",
    "last_four_digits": "4242",
    "using_saved_card": false,
    "card_fingerprint": "78g5l1fp62obpivbqsved6dsgb",
    "card_isin": "424242",
    "card_type": "CREDIT",
    "card_brand": "VISA",
    "using_token": false,
    "tokens": [],
    "token_type": "CARD",
    "card_issuer_country": "UNITEDKINGDOM",
    "juspay_bank_code": "JP_ICICI",
    "extended_card_type": "CREDIT",
    "payment_account_reference": ""
  },
  "payment_method": "VISA",
  "refunded": false,
  "amount_refunded": 0,
  "effective_amount": 100,
  "resp_code": "TXN_NOT_FOUND",
  "resp_message": "Transaction not found at Gateway end",
  "bank_error_code": "12036",
  "bank_error_message": "Order not found",
  "txn_uuid": "moz5pp1rVZNZp3hybaQ",
  "txn_detail": {
    "txn_id": "Merchant-1737443349-1",
    "id": "1737443349",
    "status": "AUTHENTICATION_FAILED",
    "error_code": "12036",
    "net_amount": 100,
    "surcharge_amount": null,
    "tax_amount": null,
    "txn_amount": 100,
    "offer_deduction_amount": null,
    "gateway_id": 75,
    "currency": "AED",
    "express_checkout": false,
    "redirect": true,
    "txn_uuid": "moz5pp1rVZNZp3hybaQ",
    "gateway": "PAYFORT",
    "response_code": "TXN_NOT_FOUND",
    "response_message": "Transaction not found at Gateway end",
    "error_message": "Order not found",
    "created": "2025-01-21T07:09:20Z",
    "last_updated": "2025-01-21T07:12:25Z",
    "txn_flow_type": "CARD_TRANSACTION",
    "is_cvv_less_txn": false,
    "txn_amount_breakup": [
      {
        "name": "BASE",
        "amount": 100,
        "sno": 1,
        "method": "ADD"
      }
    ]
  },
  "gateway_id": 75,
  "emi_details": {
    "bank": null,
    "monthly_payment": null,
    "interest": null,
    "conversion_details": null,
    "principal_amount": null,
    "additional_processing_fee_info": null,
    "tenure": null,
    "subvention_info": [],
    "emi_type": null,
    "processed_by": null
  },
  "metadata": {
    "expiry": "2025-01-21T07:39:08Z",
    "payment_page_client_id": "Merchant",
    "payment_links": {
      "mobile": "https://sandbox.juspay.in/payment-page/order/ordeh_946342cf8da539421",
      "web": "https://sandbox.juspay.in/payment-page/order/ordeh_946342cf8da539421",
      "iframe": "https://sandbox.juspay.in/payment-page/order/ordeh_946342cf8da539421"
    },
    "PAYFORT:gateway_reference_id": "txnTest"
  },
  "gateway_reference_id": "txnTest",
  "offers": [],
  "captured_amount": 0,
  "refundable_amount": 0,
  "additional_info": {},
  "expiry": "2025-01-21T07:39:08Z",
  "resp_category": "NOT_FOUND"
}
```


