Represents how the refund amount should be allocated between the originating merchant, the platform, and one or more other merchants. This configuration overrides the amount_split_reversal_config defined on the payin config.
The sum of all amount splits must be less than or equal to the amount on the refund request.
A PLATFORM split defines the amount to debit from the platform. A maximum of one PLATFORM split is permitted per refund.
A MERCHANT split defines the amount to debit from the specified merchant. Multiple MERCHANT splits are permitted. Each MERCHANT split must specify a unique merchant_id.
Any remaining amount not specified by the amount splits will be debited from the originating merchant.
If no amount splits are provided, then the configuration provided on the payin config amount_split_reversal_config will be respected for full refunds. For partial refunds without amount_splits, the originating merchant will be debited the full partial refund amount and all split receivers retain their allocations.
The amount split is defined as a rate and amount.
For example, to assess a split of 1% + $5.00, specify 1000 in the rate and 500 in the amount.