Remaining Refundable Amount Query API
If a merchant initiates funds-distribution several times for a funds-distribution payment order, this API can be used to query the remaining refundable amount of this order.
• After a funds-distribution payment order is paid, the order funds will be frozen in a specific merchant's account, and the merchant can distribute or unfreeze the funds by executing the funds-distribution command or the unfreezing remaining funds command or refund the specific user by calling the merchant refund API.
The amount that the merchant can use to distribute or unfreeze can be found by querying the remaining amount to be distributed (the amount is the amount after deducting the platform service charge from the order settlement).
The remaining refundable amount provided by the API refers to the amount of payment returned to the user (including the corresponding proportion of the service charge returned by the platform).
• For example, if the amount of an order is 100 CNY and the service charge ratio is 1%, the service charge is 1 CNY. In this case, the remaining amount of the order to be distributed is 99 CNY, and the remaining refundable amount is 100 CNY.
If the merchant distributes 49.5 CNY to its partner via the Request funds-distribution API, the remaining amount to be distributed for the order is: 99-49.5=49.5 CNY, the remaining refundable amount is 49.5 + 49.5 / (100 (1 - 1%)) = 50 CNY (the remaining amount to be distributed + the refundable service charge).
• The service charge is subject to the value returned by this API. The platform side will guarantee that when an order is fully refunded, the returned service charge is equal to the amount charged for the original order payment.