# Modify the settlement account

# Dxplaination of Interface Call Request

Interface Force Check Source IP The number of times a settlement account is allowed to be modified is 5 times per day. The settlement accounts need to be consistent with the shop owner

http请求方式:POST
https://api.weixin.qq.com/shop/funds/setbankaccount?access_token=xxxxxxxxx

# Example of request parameters

{
    "biz_type":1,
    "mchid":"1234567890",
    "account_info":{
        "bank_account_type" :"ACCOUNT_TYPE_PRIVATE",
        "account_bank":"招商银行",
        "bank_address_code":"100000",
        "account_number":"1234567890"   
    }
}

# Examples of back-up

{
    "errcode": 0,
    "errmsg": "OK"
}

# Dxplaination of request parameters

parameter type Is it compulsory? Introductions
account_info Object AccountInfo yes Account type, needs to be consistent with the owner of the shop
biz_type number yes Type of business, fill in 1
mchid string yes Merchant Number

# Dxplaination of callback parameters

parameter type Introductions
errcode number Error code
errmsg string Error message

# Object AccountInfo

parameter type Is it compulsory? Introductions
bank_account_type string yes Account type, which needs to be consistent with the main body of the store, see BankAccountType
account_bank string yes Open Bank ( Get Open Bank , Search bank list )
bank_address_code string yes City / Province Code ( Get City List )
bank_branch_id string no Bank Account Number ( Obtain Branch Account Number )
bank_name string no Full name of the institution (if the institution is "Other Bank," double-check for "full name of the bank (including branch)" or "joint bank number") ( for branch information )
account_number string yes Bank account

# BankAccountType

The enumeration value Introductions
ACCOUNT_TYPE_BUSINESS Public bank accounts
ACCOUNT_TYPE_PRIVATE Personal bank cards of operators

# Return code

Return code Error Type
-1 System exceptions
400 The parameter is wrong. Please check the error message