post https://api.juspay.in/orders/:order_id/refunds
Parameter Details:
Filed | Type | Description | Mandatory/Conditonal |
---|---|---|---|
marketplace | JSON | Marketplace (Parent merchant account ID) refund specific data to be passed | Conditional |
vendor | JSON | Vendor (Sub account IDs) specific data to be passed | Conditional |
marketplace block
Filed | Type | Description | Mandatory/Conditonal |
---|---|---|---|
refund_amount | Double | Refund amount to be reversed from the parent merchant settlement account | Mandatory |
vendor block
Filed | Type | Description | Mandatory/Conditonal |
---|---|---|---|
split | Array | Split settlement refund information to be passed | Conditional |
split block
Field | Type | Description | Mandatory/Conditonal |
---|---|---|---|
sub_mid | String | Sub Account ID (maintained at JusPay’s end) to be passed | Mandatory |
refund_amount | Double | Refund Amount to be reversed from the sub account | Mandatory |