---
page_source: https://juspay.io/in/docs/simpl/docs/simpl-paylater/order-status
page_title: Order Status
---


# Order Status



Juspay provides a server-to-server mechanism of verifying the Order Status.

For business critical events such as communicating payment status to your customers, it is recommended to use the Order status API to cross verify the transaction status received in our webhooks.

For transactions processed through the Simpl flow, the `payment_method` parameter value will be `SIMPL`, and the `txn_flow_type` parameter value will be either "`DIRECT_DEBIT`" or "`REDIRECT_DEBIT`".

## Sample Code Snippets:
### Order Status Response:

#### Direct Debit Code Snippet:

```direct debit
{
   "payment_method": "SIMPL",
   "customer_phone": "FILTERED",
   "payment_gateway_response": {
       "network_error_message": null,
       "txn_id": "test-1234-1",
       "rrn": "",
       "auth_id_code": "NA",
       "resp_message": "CLAIMED",
       "epg_txn_id": "23100-40dd-a949-65eec798",
       "resp_code": "CLAIMED",
       "created": "2024-04-29T18:30:57Z",
       "network_error_code": null
   },
   "udf8": "",
   "txn_id": "test-1234-1",
   "order_id": "1234",
   "gateway_reference_id": null,
   "maximum_eligible_refund_amount": 137,
   "udf9": "",
   "txn_detail": {
       "txn_id": ""test-1234-1",
       "order_id": "1234",
       "error_code": "",
       "txn_flow_type": "DIRECT_DEBIT",
       "status": "CHARGED",
       "express_checkout": false,
       "gateway_id": 41,
       "error_message": "",
       "offer_deduction_amount": null,
       "tax_amount": null,
       "currency": "INR",
       "txn_amount": 137,
       "created": "2024-04-29T18:30:56Z",
       "gateway": "SIMPL",
       "surcharge_amount": null,
       "txn_uuid": "mozxw1YWa7SZE",
       "net_amount": 137,
       "redirect": true,
       "metadata": {
           "paymentChannel": "ANDROID"
       }
   },
   "customer_id": "19396",
   "amount": 137,
   "udf4": "",
   "status": "CHARGED",
   "udf5": "",
   "udf6": "",
   "status_id": 21,
   "offers": [],
   "udf7": "",
   "resp_message": null,
   "product_id": "",
   "refunded": false,
   "udf10": "",
   "gateway_id": 41,
   "udf1": "enable",
   "udf2": "headlessAndroid",
   "udf3": "",
   "date_created": "2024-04-29T18:30:55Z",
   "id": "ordeh_f13cc7b283f8408e5e",
   "merchant_id": "test",
   "return_url": "https://www.test.com/mcheckout/orderStatus",
   "effective_amount": "FILTERED",
   "currency": "INR",
   "auth_type": "",
   "customer_email": "1111111",
   "resp_code": null,
   "payment_method_type": "WALLET",
   "wallet": {
       "txn_flow_type": "DIRECT_DEBIT"
   },
   "txn_uuid": "mozxw1YWa7SZE",
   "resp_category": null,
   "payment_links": {
       "mobile": "https://api.juspay.in/orders/ordeh_f13cc7b283f8408e5e/payment-page",
       "web": "https://api.juspay.in/orders/ordeh_f13cc7b283f8408e5e/payment-page",
       "iframe": "https://api.juspay.in/orders/ordeh_f13cc7b283f8408e5e/payment-page"
   },
   "amount_refunded": 0,
   "bank_error_code": "",
   "bank_error_message": ""
}

```

#### Redirect Debit Code Snippet:

```redirect debit
{ 
       "payment_method": "SIMPL",
       "customer_phone": "FILTERED",
       "payment_gateway_response": {
       "network_error_message": null,
       "txn_id": "test-1234-1",
       "rrn": "",
       "auth_id_code": "NA",
       "resp_message": "CLAIMED",
       "epg_txn_id": "9c2724-41ac-b41d-51128",
       "resp_code": "CLAIMED",
       "created": "2024-04-29T18:31:24Z",
       "network_error_code": null
   },
   "udf8": "",
   "txn_id": "test-1234-1",
   "order_id": "1234",
   "gateway_reference_id": null,
   "maximum_eligible_refund_amount": 379,
   "udf9": "",
   "txn_detail": {
       "txn_id": "test-1234-1",
       "order_id": "1234",
       "error_code": "",
       "txn_flow_type": "REDIRECT_DEBIT",
       "status": "CHARGED",
       "express_checkout": false,
       "gateway_id": 41,
       "error_message": "",
       "offer_deduction_amount": null,
       "tax_amount": null,
       "currency": "INR",
       "txn_amount": 778,
       "created": "2024-04-29T18:31:09Z",
       "gateway": "SIMPL",
       "surcharge_amount": null,
       "txn_uuid": "moz5Sx5dms1uANw",
       "net_amount": 778,
       "redirect": true
   },
   "customer_id": "178194",
   "amount": 778,
   "udf4": "",
   "status": "CHARGED",
   "udf5": "",
   "udf6": "",
   "status_id": 21,
   "udf7": "",
   "resp_message": null,
   "product_id": "",
   "refunded": false,
   "udf10": "",
   "gateway_id": 41,
   "udf1": "enable",
   "udf2": "headlessWeb",
   "udf3": "",
   "date_created": "2024-04-29T18:31:08Z",
   "id": "ordeh_f3bfe557ce364fb07f8",
   "merchant_id": "test",
   "return_url": "https://www.test.com/mcheckout/orderStatus",
   "effective_amount": "FILTERED",
   "currency": "INR",
   "auth_type": "",
   "customer_email": "1111111",
   "resp_code": null,
   "payment_method_type": "WALLET",
   "wallet": {
       "txn_flow_type": "REDIRECT_DEBIT"
   },
   "txn_uuid": "moz5Sx5dms1uANw",
   "resp_category": null,
   "payment_links": {
       "mobile": "https://api.juspay.in/orders/ordeh_f3bfe557ce364fb07f8/payment-page",
       "web": "https://api.juspay.in/orders/ordeh_f3bfe557ce364fb07f8/payment-page",
       "iframe": "https://api.juspay.in/orders/ordeh_f3bfe557ce364fb07f8/payment-page"
   },
   "amount_refunded": 0,
   "bank_error_code": "",
   "bank_error_message": ""
}

```

