post https://api.cashfree.com/pg/easy-split/static-split
This API will create a static split scheme wherein you can define the split type and the vendor-wise split percentage.
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.
Response Codes
Status Code | Status | Message | Solution |
---|---|---|---|
200 | SUCCESS | Order split created | |
404 | ERROR | Order not found | Specify an order ID that exists |
400 | ERROR | Order not paid | Ensure the order is paid |
400 | ERROR | Settlement not found | Specify a settlement ID that is present |
400 | ERROR | Settlement not applicable for payment code | Specify a valid Settlement ID |
400 | ERROR | Split Vendor doesn't exist | Specify a split vendor that exist |
400 | ERROR | Total split amount is greater than transaction amount | Specify a split amount that is less than the transaction amount |
400 | ERROR | Transaction not captured | Retry again after some time |
400 | ERROR | Split already exists | Create a new split |
400 | ERROR | Settlement already processed | Wait for sometime |
400 | ERROR | Settlement eligibility time passed | Specify a valid settlement eligibility time |
400 | ERROR | Merchant not enabled for split after payments | Enable the merchants |
400 | ERROR | Either amount or percentage has to be present for each vendor and not both | Specify either amount or percentage, do not provide both |
400 | ERROR | Invalid vendor split amount | Specify a valid vendor split amount |
400 | ERROR | Refund already exists, cannot create split | Create a split where refund is not initiated |