Create Order
You can pass the payload in the order creation API or in the session API call.
part_numberkey have to be sequential in case of fixed planno_of_partsshould total to the total number of parts in the fixed planplan_due_dateof the selected plan by user will be considered as order expiryplan_idmust be unique for each planmaximum_no_of_partsandminimum_part_amountare mandatory parameters in case of EDITABLE plans.key
statusinside part_payment takesOPTIONAL/REQUIREDas value. Selected OPTIONAL means users will see part payment as one of the option to make payment.due_dateandplan_due_datehave to be EPOCH time for part payment details
Example:- Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
Your order ID
First name of the customer
Last name of the customer
Customer’s phone number
Client ID in case of Hypercheckout merchant
Example:- in.juspay.hyperpay
your_merchantID
order amount
This key is an object that holds part payment information. Refer to the sample curl. Payment Rules key is an object which contains additional information including the part payment plan details which are explained below.
It is an object which defines this as a part payment order. This key takes value as part_payment
This key is a value to payment_flows which determines if the order is a part payment order. It is an object
This key tells us if the part payment will be available as an optional or a required payment type. If value is sent as OPTIONAL, then other payment methods will be available to users to choose from, choosing this will make the order full swipe. In case the status value is sent as REQUIRED, then only part payment will be available as an option to make payment.
This key contains information about the payment flow defined above
This is an array which contains information about the plan types in the part payment options
It can take values as FIXED/EDITABLE. If the plan is fixed payment plan (predefined amount of each parts and due dates, then choose value as FIXED. If you wish for users to choose the amount and make payment in parts, then EDITABLE can be sent.
This key will come in case plan_type is choosen as FIXED. It contains keys to define plan conditions like plan_id, no_of_parts and parts_info.
This is the plan ID set by the merchant.
This defines the number parts present in the fixed plan details. This key is only to be sent in case of fixed plan.
This is an array which contains informarion about each parts in a fixed plan
Inside parts_info, this is the amount of each parts set in the fixed plan
Inside parts_info, this defines the expiry date of that particular part. Send the values in EPOCH timestamp
This is the part number of the fixed plan. Value also needs to be sent in the transaction call to denote which part the user is trying to make the payment for.
This is the plan expiry date. If user chooses this plan, then that plan’s due date becomes the expiry date of the order.
In case you wish to let user decide the part amounts, then EDITABLE can be sent in the plan_type. The above key defines the details of the editable plan.
For editable plans, you must define the minimum amount which user must choose to make payment of each part.
For editable plans, you must also define the total maximum number of parts in which user should make the complete payment of the order.
Example:- NEW
Example:- ordeh_0bf87dee38ff444d82f37a225a9d2638
Example:- 1749026515
Example:- https://sandbox.assets.juspay.in/payment-page/order/ordeh_0bf87dee38ff444d82f37a225a9d2638
Example:- 2025-06-11T08:41:55Z
Example:- ee2cca9e5bd1414885bf3ac4e8870c14
Example:- in.juspay.hyperpay
Example:- testmode
Example:- John
Example:- your_clientID
Example:- OPTIONAL
Example:- sftrj5ty4tg4gtfsd4
Example:- 1749026515
Example:- https://sandbox.juspay.in/end
Example:- INR
Example:- 965234xxxx
Example:- in.juspay.hyperpay
Example:- 23
Example:- test007@gmail.com
Example:- test
Example:- sandbox
Example:- Wick
Example:- your_merchantID
Example:- 20000.0
Example:- 2025-06-04T08:56:55Z
Example:- tkn_90e7ae9f0cab4b90874a4da10dd6e6cc
Example:- paymentPage
Example:- false
Example:- 2025-06-11T08:41:55Z
Example:- 2025-06-11T08:41:55Z
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

