Split After Payment

Split After Payment API splits the payments to vendors after successful payment from the customers.

ℹ️

Creating Multiple Splits

  • You can create multiple splits by setting the value of "disable_split" - false.
  • When you are done creating multiple splits for an order you can change the value of "disable_split" to true.
  • Default value of “disable_split” is true.

👍

Important

To use this API, write to [email protected] or your Account Manager. This API has to be enabled for the test and production environment.

After the customer payment is successful, add 120 seconds delay before you use this API to split payments to vendors, to accommodate any delays in payment response from customers.

For Auto Collect pass the Authorization token. Use the Authorize API to generate the token for Auto Collect APIs.

Response Codes
Status CodeMessageSolution
200Order split created
404Order not foundSpecify an order ID that exists
400Order not paidEnsure the order is paid
400Settlement not foundSpecify a settlement ID that is present
400Settlement not applicable for payment codeSpecify a valid Settlement ID
400Split Vendor doesn't existSpecify a split vendor that exist
400Total split amount is greater than transaction amountSpecify a split amount that is less than the transaction amount
400Transaction not capturedRetry again after some time
400Split already existsCreate a new split
400Transaction already processed, not eligible for splitOrder is not applicable for split now, as settlement is already processed
400Merchant not enabled for split after paymentsEnable the merchants
400Either amount or percentage has to be present for each vendor and not bothSpecify either amount or percentage, do not provide both
400Invalid vendor split amountSpecify a valid vendor split amount
400Refund already exists, cannot create splitCreate a split where refund is not initiated
400Multiple split on charges billed to vendor is not applicableWhen charged is billed to vendor multiple split feature is not allowed

Watch this video to learn how to initiate an order with split API

Language
Click Try It! to start a request and see the response here!