• English
  • Create Order

    In the Pay In series product create order interface, split payments can be created by adding the Split-Payments parameter.

    The interface is as follows:

    SplitDetail

    NameTypeLengthRequiredDescription
    isSplitBoolean-YesWhether to split-payments
    splitAmountTypeInteger-YesSplit amount type 1: custom, 2: percentage
    splitFeeTypeInteger-YesFee Type1 according to the split amount,2 by the particular merchant
    splitFeePaidMerchantIdString-NoIf the splitting fee is borne by a particular merchant, enter the merchant ID of that merchant here.
    splitMerchantListList<SplitMerchantInfo>-YesSplit merchant list, with additional details displayed in SplitMerchantInfo.

    SplitMerchantInfo

    NameTypeLengthRequiredDescription
    splitMerchantIdString-YesMerchant ID of the merchant being split for.
    splitRatioInteger-NoProportion of split(%) e.g. 12 means 12%, Required if splitAmountType is 2
    splitAmountLong-NoSplit-Payments` Amount Unit of amount: cents Required if splitAmountType is 1
    remarkString100Noremark