Alipay, China's leading third-party online payment solutionAlipay, China's leading third-party online payment solution

Refund Split Detail Info

The refund split detail is in JSON format, and includes the following parameters:

ParameterType (length)DescriptionRequiredExample
transOutStringAlipay userID that Alipay account for transfer refund fee . Alipay userID that composed of 16 digits beginning with 2088.

Y

2088101126708402
amountStringSplit Amount. The format must be correct to the currency.

Y

0.10
currencyString

Split currency .The currency must be same with refund currency.

If parameter (total_fee) was used, the split currency must be foreign currency and the same with settlement currency.

If parameter (rmb_fee) was used, the split currency must be "CNY".

The parameter (total_fee and rmb_fee ) are mutual exclusive.

Y

USD
descStringSplit discretion

N

Refund split test1

Example

  • Business requirement: sequentially execute two spilt refund actions

Format Structure:

copy
split_fund_info=[{"transOut":"2088101126708402",  "amount":"0.10", "currency":"USD",  "desc":"test1"},   {" transOut  ":"2088101126708402", "amount":"0.30",  "currency":"USD", "desc":"test2"}]

Note:

Refund splitting does not need to follow exactly the payment splitting. Just ensure that the total refund amount is equal to the total payment amount. For example, ¥9 of the total payment of ¥10 was allocated to the primary account, ¥1 to the split account. When performing a refund, you can return ¥5 through the primary account, ¥5 through the split account.