# Get withdrawal history details

# Dxplaination of Interface Call Request

Interface Force Check Source IP

Http request method: POST
https://api.weixin.qq.com/shop/funds/getwithdrawdetail?access_token=xxxxxxxxx 

# Example of request parameters

{
    "biz_type":1,
    "mchid":"1234567890",
    "out_request_no": "wd13675014323600561372"
}

# Examples of back-up

{
    "withdraw_info"{
        "amount": 7,
        "create_time": 1590733930,
        "update_time": 1590773555,
        "reason": "", 
        "remark": "Refund at 14: 31 on 0529,"
        "bank_memo": "Refund at 14: 31 on 0529,"
        "bank_name": "", 
        "bank_num": "", 
        "status": "SUCCESS"
    }
}

# Dxplaination of request parameters

parameter type Is it compulsory? Introductions
out_request_no string yes Payment Card Number
biz_type number yes Type of business, fill in 1
mchid string yes Merchant Number

# Dxplaination of callback parameters

parameter type Introductions
Error code number Error code
errmsg string Error message
withdraw_Info Object WithDrawInfo Refund Details Information

# Object WithDrawInfo

parameter type Introductions
amount number Amount of money
create_Time number Created time
update_Time number Updated time
reason string Reasons for failure
remark string Remarks
bank_Memo string Bank Notes
bank_Name string Bank Name
bank_num string Bank Account
status string Withdrawal status, see WithDrawStatus

# WithDrawStatus

The enumeration value Introductions
BEFORE_SCAN_QRCODE Non-scanned
AFTER_SCAN_QRCODE It has been scanned.
CREATE_SUCCESS Successful receipt
SUCCESS The withdrawal was successful.
FAIL The withdrawal failed
REFUND withdraw money and refund tickets
CLOSE Checklist
INIT Business order has been created

# Return code

Return code Error Type
-1 System exceptions
9710001 No data yet