Query Sub-Merchant

Introduction

This API support Merchant to query sub-merchant.

API Description

Request Method:POST

Request Path:open/api/merchant/query

Parameters

Request parameters

subMerchantNo and externalSubMerchantNo must send one.

ParameterMandatorySignTypeLengthRemarks
appIdYYstring64AppId is unique for merchant
signYYstring128Sign
Check on about the sign
subMerchantNoNYstring64Sub merchant number
externalSubMerchantNoNYstring32External sub merchant number

Request Example

{
    "appId": "TEST000001",
    "externalSubMerchantNo": "test_000002",
    "subMerchantNo": "300017425425788420221",
    "sign": "23DCB73176D92B362EF2BA542A75927A684FF83884662D70425BE47C36B996B1CBED22B66689311AE080018BFD77972DF61A199D96BEB0181588E71A29EE46E4"
}

Description of Response Parameters

ParameterTypeDetails
successbooleanSuccess
errorbooleanError
codelongResponse code
msgstringResponse message
traceIdstringTrace id
modelobjectResponse details

Description of Model Parameters

ParameterMandatoryTypeDescription
externalSubMerchantNoYstringExternal sub-merchant number
subMerchantNoYstringSub-merchant number
subMerchantNameNstringSub-merchant name
businessTypeNstring1. Online 2. Offline 3. Both
officialWebsiteAddressNstringOfficial website address
companyRegisteredNameNstringRegistered name of the company entity
entityRegistrationNumberNstringRegistration number of the entity
registrationDateNstringRegistration date
registeredBusinessAddressNstringRegistered company address (Country/State/City/Street Address)
emailNstringCompany email address
businessRangeNstringBusiness model
slidingPointNdoubleSlippage percentage
slidingFixedValueNdoubleFixed slippage value
deductionMethodNstringDeduction method: INNER_BUCKLE (internal), OUTER_BUCKLE (external)
payWayCodeNstringpayWayCode
autoWithdrawStatusNbooleanWhether auto-withdrawal is enabled
autoWithdrawAmountLimitNdoubleAuto-withdrawal amount (in CNY, up to two decimal places)
bankFormInfoNobjectBank withdrawal form information

Response Example

{
    "code": "0",
    "msg": "success",
    "model": {
        "subMerchantNo": "300017425425788420221",
        "externalSubMerchantNo": "test_000002",
        "subMerchantName": "Test Merchant",
        "businessType": "Online",
        "officialWebsiteAddress": "https://testmerchant.com",
        "companyRegisteredName": "Test Company Ltd.",
        "entityRegistrationNumber": "1234567890",
        "registrationDate": "2025-01-01",
        "registeredBusinessAddress": null,
        "email": "[email protected]",
        "businessRange": "E-commerce",
        "slidingPoint": 0.05,
        "slidingFixedValue": 5,
        "deductionMethod": "INNER_BUCKLE",
        "payWayCode": "USDT",
        "autoWithdrawStatus": true,
        "autoWithdrawAmountLimit": 1000,
        "bankFormInfo": {
            "drawNetwork": "TRX",
            "drawAddress": "0xa6459EF31C68DCF46cC603C526526DB1C6eE4fD1"
        }
    },
    "traceId": "67dd3c888702bd21d1f61f946f8a455b",
    "success": true,
    "error": false
}

Did this page help you?