Integration APIs
The recommended workflow for using Split Settlements using API Integration:
Before you begin:
Register for a account with PayU before you start integration. For more information, refer to Register for a Merchant Account.
- Register as a merchant with PayU.
- Onboard child merchants with the following steps:
- Create the split using any of the following methods:
- Split During Transaction
- Split After Transaction
- Release the settlement amount using the following APIs
- Get the transaction information such as amount split for a given parent merchant:
Use the following APIs for refunds or other purposes:
-
Refund API
-
Include var8 in Refund Transaction API:
You must include the var8 parameter similar to the following JSON array format with the refund details of split where child_merchant_key_x must be substituted with the child merchant key. For more information, refer to Refund Transaction API > Other request parameters
{ "child_merchant_key_1":{ "amount":100, "aggregatorRefundAmount":40 }, "child_merchant_key_2":{ "amount":20, "aggregatorRefundAmount":0 } }
-
Get All Refunds from Transaction IDs (same API used in general and split settlements)
-
Updated 2 months ago