---
page_title: Create Order API
product: HyperCredit
platform: Web
page_source: https://juspay.io/in/docs/hyper-credit/web/hypercredit-checkout/create-order-api
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/hyper-credit/llms.txt
---


# **Create Order API** 



The **Create Order API**  is a Server-to-Server API that registers a new customer order in Juspay and returns a `client_auth_token` to securely authorize the payment. [Click here to know more.](/ec-api/docs/base-integration/create-order-api#create-order-api)

> **Note**
> For HyperCredit create order API payloads, refer to the [[Payload Documentation].](/in/docs/in/docs/hyper-credit/web/checkout-financing/what-youll-integrate#variants)




| Environment | End Point | Method |
|---|---|---|
| UAT | https://sandbox.juspay.in/orders | POST |
| Production | https://api.juspay.in/orders | POST |



### **Sample Request :** 




#### Sample Request Code Snippet:

```sample request
{ 
"order_id": "1073074748439", 
"amount": "13480400", 
"description": "Health Insurance Policy",
"customer_id": "1000005576440", 
"customer_email": "customer@example.com", 
"customer_phone": "9876543210", 
"customer_dob": "05-07-1994", 
"metadata.customerPan": "ABCDE1234F", 
"customer_first_name": "Tunir", 
"customer_middle_name": "", 
"customer_last_name": "Paul", 
"customer_gender": "Male", 
"customer_marital_status": "Single", 
"customer_address_line1": "123 Main Road", 
"customer_address_line2": "Near City Centre", 
"customer_state": "Tripura", 
"customer_pincode": "799003", 
"metadata.monthlyIncome": "75000", 
"customer_city": "Agartala", 
"customer_employment_type": "Salaried", 
"metadata.customer_policy_ref_no": "4225202604461406", 
"metadata.customer_product_name": "Elevate", 
"metadata.customer_product_payment_type": "3", 
"metadata.policy_renewal_year": "", 
"metadata.customer_policy_type": "New", 
"metadata.JUSPAY:gateway_reference_id": "merchant1" }

```



#### **Sample Response:** 




#### Sample Response Code Snippet:

```sample response
{
  "udf9": "",
  "udf8": "",
  "udf7": "",
  "udf6": "",
  "udf5": "",
  "udf4": "",
  "udf3": "",
  "udf2": "",
  "udf10": "",
  "udf1": "",
  "status_id": 10,
  "status": "NEW",
  "return_url": "",
  "refunded": false,
  "product_id": "",
  "payment_links": {
    "web": "https://api.juspay.in/merchant/pay/ordeu_8bddad1e3b9c85eab3db4528575c01b",
    "mobile": "https://api.juspay.in/merchant/pay/ordeu_8bddad1e3b9c85eab3db4528575c01b?mobile=true",
    "iframe": "https://api.juspay.in/merchant/ipay/ordeu_8bddad1e3b9c485eab3db4528575c01b"
  },
  "order_id": "14183944763",
  "merchant_id": "merchantId",
  "juspay": {
    "client_auth_token_expiry": "2020-06-16T10:43:35Z",
    "client_auth_token": "tkn_753275c49a44a1a313eb2567f2fd6b"
  },
  "id": "ordeu_8bddad1e3b9c85eab3db4528575c01b",
  "date_created": "2020-06-16T10:28:35Z",
  "customer_phone": "9999999999",
  "customer_id": "1235677",
  "customer_email": "test@gmail.com",
  "currency": "INR",
  "amount_refunded": 0,
  "amount": 1
}
```


---

## See Also

- [Eligibility API](https://juspay.io/in/docs/hyper-credit/web/hypercredit-checkout/eligibility-api)
- [Initiate LSP Journey API](https://juspay.io/in/docs/hyper-credit/web/hypercredit-checkout/initiate-lsp-journey-api)
