Create Order for Split Settlement
application/x-www-form-urlencoded
Basic of Base64 encoded API key
We recommend passing the customer_id as the x-routing-id. If the customer is checking out as a guest, you can pass an alternative ID that helps track the payment session lifecycle. For example, this could be an Order ID or Cart ID.
This ID is associated with the customer. It plays a key role in ensuring consistency and maintaining connections across different systems. If you fail to pass the same x-routing-id for the same customer in all related API calls, it could lead to issues with API functionality. Therefore, it’s crucial that you use the same x-routing-id for all requests tied to the same customer.
Example:- customer_1122
A unique Identifier for the order.
The total order amount. Will accept double values with upto two decimal places.
A fully qualified URL such as http://shop.merchant.com/ to which the customer will be redirected after payment completion. This URL shouldn’t contain any query parameters. This URL takes higher precedence over the common return URL configured in your account settings.
This field describes how much amount is to be settled into the resepctive sub account ids. Summation of amount for all the sub account ids has to be equal to the original order amount.
Marketplace (Parent merchant account ID) specific data to be passed
Amount to be settled in parent merchant settlement account
Example:- MARKETPLACE/ VENDOR/ ALL
Vendor (Sub account IDs) specific data to be passed
Split settlement information to be passed
Sub Account ID (maintained at JusPay’s end) to be passed.
Amount to be settled in the sub account
Merchant commission to be borne by sub account IDs
To pass custom parameters
To pass custom information to be passed on to the gateway (NOTE: For Razorpay all values passed within the block are passed)
Required for Mapping the gateway transaction id for the vendor
CREATED
ordeh_06a7c87b83d7453191ba6a4f9919860c
splitsettlement_1619009418_test
https://api.juspay.in/merchant/ipay/ordeh_06a7c87b83d7453191ba6a4f9919860c
https://api.juspay.in/merchant/pay/ordeh_06a7c87b83d7453191ba6a4f9919860c
https://api.juspay.in/merchant/pay/ordeh_06a7c87b83d7453191ba6a4f9919860c?mobile=true
ERROR
invalid_request
Split settlement amount is not equal to order amount
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

