Batch Create Sub-Merchants

Introduction

This API support Merchant batch create sub-merchant account.

API Description

Request Method:POST

Request Path:open/api/merchant/batchCreate

Parameters

Request parameters

Parameter

Mandatory

Sign

Type

Length

Remarks

appId

Y

Y

string

64

AppId is unique for merchant

sign

Y

Y

string

128

Sign
Check on About the sign

batchMerchantInfoArrayBody

Y

Y

string

--

Sub-Merchant Batch Information Message (Array-Structured String)

Batch Merchant Information

ParameterMandatorySignature RequiredTypeLengthDescription
externalSubMerchantNoYYstring32External Sub-Merchant Number
subMerchantNameYYstring32Sub-Merchant Name
businessTypeYYstring121. Online 2. Offline 3. Both
officialWebsiteAddressNYstring64Official Website URL
companyRegisteredNameYYstring64Full Registered Name of the Company Entity
entityRegistrationNumberYYstring32Entity Registration Number
registrationDateYYstring32Registration Date (Format: YYYY-MM-DD)
registeredBusinessAddressYYstring128Registered Business Address (Country/State/City/Detailed Address)
emailYYstring32Business Email
businessRangeNYstring32Business Scope
slidingPointNYdouble10,8Sliding Point Percentage (e.g., 0.01 = 1%)
slidingFixedValueNYdouble10,8Sliding Fixed Value (1 in USDT means 1 USDT)
deductionMethodYYstring16Deduction Method: INNER_BUCKLE (internal), OUTER_BUCKLE (external)
payWayCodeYYstring12Fiat Currency Unit (USD, EUR, HKD) or Digital Currency Unit (USDT)
autoWithdrawStatusNYboolean1Enable Auto Withdrawal or Not
autoWithdrawAmountLimitNYdouble20Auto Withdrawal Amount Limit (Unit: Yuan, up to 2 decimal places)
bankFormInfoYYobject1024Payout Bank Information

Request Example

{
    "appId": "YOUR_APP_ID",
    "sign": "YOUR_SIGN",
    "batchMerchantInfoArrayBody": "[\n  {\n    \"externalSubMerchantNo\": \"TEST000001\",\n    \"subMerchantName\": \"Test Merchant\",\n    \"businessType\": \"Online\",\n    \"officialWebsiteAddress\": \"https://testmerchant.com\",\n    \"companyRegisteredName\": \"Test Company Ltd.\",\n    \"entityRegistrationNumber\": \"1234567890\",\n    \"registrationDate\": \"2025-01-01\",\n    \"registeredBusinessAddress\": \"China/Beijing/Street 123\",\n    \"email\": \"[email protected]\",\n    \"businessRange\": \"E-commerce\",\n    \"slidingPoint\": 0.05,\n    \"slidingFixedValue\": 5,\n    \"deductionMethod\": \"INNER_BUCKLE\",\n    \"payWayCode\": \"HKD\",\n    \"autoWithdrawStatus\": true,\n    \"autoWithdrawAmountLimit\": 1000,\n    \"bankFormInfo\": {\n      \"registeredName\": \"Standard Chartered \",\n      \"country\": \"HK \",\n      \"address\": \"Hong Kong Standard Chartered Bank (Hong Kong) Limited \",\n      \"msisdn\": \"8615588888888\",\n      \"email\": \"[email protected] \",\n      \"locationId\": \"2538\",\n      \"accountNo\": \"App \",\n      \"bankBranchCode\": \"123123\",\n      \"bankName\": \"4172\"\n    }\n  },\n  {\n    \"externalSubMerchantNo\": \"TEST000002\",\n    \"subMerchantName\": \"Test Merchant\",\n    \"businessType\": \"Online\",\n    \"officialWebsiteAddress\": \"https://testmerchant.com\",\n    \"companyRegisteredName\": \"Test Company Ltd.\",\n    \"entityRegistrationNumber\": \"1234567890\",\n    \"registrationDate\": \"2025-01-01\",\n    \"registeredBusinessAddress\": \"China/Beijing/Street 123\",\n    \"email\": \"[email protected]\",\n    \"businessRange\": \"E-commerce\",\n    \"slidingPoint\": 0.05,\n    \"slidingFixedValue\": 5,\n    \"deductionMethod\": \"INNER_BUCKLE\",\n    \"payWayCode\": \"USDT\",\n    \"autoWithdrawStatus\": true,\n    \"autoWithdrawAmountLimit\": 1000,\n    \"bankFormInfo\": {\n      \"drawNetwork\": \"TRX\",\n      \"drawAddress\": \"0xa6459EF31C68DCF46cC603C526526DB1C6eE4fD1\"\n    }\n  }\n]\n"
}

Description of Response Parameters

ParameterTypeDetails
successbooleanSuccess
errorbooleanError
codelongResponse code
msgstringResponse message
traceIdstringTrace id
modelobjectResponse details

Description of Model Parameters

ParameterTypeDescription
externalSubMerchantNostringExternal Merchant Number
merchantNostringSub-Merchant Number
merchantNamestringSub-Merchant Name

Response Example

{
    "code":"0",
    "msg":"success",
    "model":[
        {
            "merchantNo":"300017429793729850236",
            "externalSubMerchantNo":"QFTEST",
            "merchantName":"Test Merchant"
        }
    ],
    "traceId":"67e3c12cb7718eb1dccd0af4f3310a0d",
    "success":true,
    "error":false
}