post https://api.cashfree.com/api/v2/api/v2/easy-split/vendors//adjustment
Use this API to adjust vendor balances.
For Auto Collect pass the Authorization token. Use the Authorize API to generate the token for Auto Collect APIs.
Response Codes
Sub Code | Status | Message | Solution |
---|---|---|---|
200 | SUCCESS | Vendor & merchant balances updated | |
400 | ERROR | Vendor not found | Specify a valid vendor ID |
400 | ERROR | Invalid type. The value must be one of: [DEBIT, CREDIT] | Ensure the type is either DEBIT, CREDIT |
400 | ERROR | Invalid AdjustmentId. Value should be unique | Specify a unique adjustment ID |
400 | ERROR | Invalid AdjustmentId. Value can't be greater than 2,000,000,000 | Make sure value is less than 2,000,000,000 |
400 | ERROR | Amount should be greater than zero | Specify an amount greater than zero |
400 | ERROR | Vendor does not have sufficient balance | Make sure the vendor has sufficient balance |
400 | ERROR | Merchant does not have sufficient balance | Ensure the merchant has sufficient balance |