收藏
回答

视频号小店API /资金结算API /获取资金流水详情对账返回数据有问题?

麻烦帮忙核查一下查询1月8日对账数据里面有一条返回的数据只返回了transaction_id,其它字段都没有返回,这边在获取related_type字段判断关联类型的时候获取不到就报错空指针

有问题的数据"flow_id":"10014902621250108",总数据如下:

req|logtraceId:20250109163000758333|2025-01-09 16:30:00.019|reqContent:{msgType=QueryFundsFlowListReq,reqData={"page":1,"page_size":1000,"start_time":1736265600,"end_time":1736351999,"next_key":""}}

resp|logtraceId:20250109163000758333|2025-01-09 16:30:00.558|540|respContent:{msgType=QueryFundsFlowListResp,errorCode=0,errorMsg=微信视频号获取资金流水列表查询成功,respData={"errcode":0,"errmsg":"ok","flow_ids":["10014902625250108","10014902624250108","10014902623250108","10014902622250108","10014902621250108","10014902620250108","10014902619250108","10014902618250108","10014902617250108","10014902616250108"],"has_more":false,"next_key":"CAEQ6AcYACIRMTAwMTQ5MDI2MTYyNTAxMDgoidj1uwY="}}

req|logtraceId:20250109163000321811|2025-01-09 16:30:00.559|reqContent:{msgType=QueryFundsFlowDetailReq,reqData={"flow_id":"10014902625250108"}}

resp|logtraceId:20250109163000321811|2025-01-09 16:30:00.955|397|respContent:{msgType=QueryFundsFlowDetailResp,errorCode=0,errorMsg=视频号获取资金流水详情查询成功,respData={"errcode":0,"errmsg":"ok","funds_flow":{"flow_id":"10014902625250108","funds_type":11,"flow_type":2,"amount":19,"balance":1669046,"related_info_list":[{"related_type":1,"order_id":"3724692342788985856","transaction_id":"4341902250202412145470129885"}],"bookkeeping_time":"2025-01-0823:49:08","remark":"平台技术服务费"}}}

req|logtraceId:20250109163000145892|2025-01-09 16:30:00.955|reqContent:{msgType=QueryFundsFlowDetailReq,reqData={"flow_id":"10014902624250108"}}

resp|logtraceId:20250109163000145892|2025-01-09 16:30:01.287|332|respContent:{msgType=QueryFundsFlowDetailResp,errorCode=0,errorMsg=视频号获取资金流水详情查询成功,respData={"errcode":0,"errmsg":"ok","funds_flow":{"flow_id":"10014902624250108","funds_type":11,"flow_type":2,"amount":2,"balance":1669065,"related_info_list":[{"related_type":1,"order_id":"3724916472999449600","transaction_id":"4321002583202412243452420020"}],"bookkeeping_time":"2025-01-0821:19:49","remark":"平台技术服务费"}}}

req|logtraceId:20250109163001920160|2025-01-09 16:30:01.287|reqContent:{msgType=QueryFundsFlowDetailReq,reqData={"flow_id":"10014902623250108"}}

resp|logtraceId:20250109163001920160|2025-01-09 16:30:01.611|324|respContent:{msgType=QueryFundsFlowDetailResp,errorCode=0,errorMsg=视频号获取资金流水详情查询成功,respData={"errcode":0,"errmsg":"ok","funds_flow":{"flow_id":"10014902623250108","funds_type":11,"flow_type":2,"amount":12,"balance":1669067,"related_info_list":[{"related_type":1,"order_id":"3724686667606006272","transaction_id":"4303902468202412144423796938"}],"bookkeeping_time":"2025-01-0818:03:10","remark":"平台技术服务费"}}}

req|logtraceId:20250109163001433108|2025-01-09 16:30:01.612|reqContent:{msgType=QueryFundsFlowDetailReq,reqData={"flow_id":"10014902622250108"}}

resp|logtraceId:20250109163001433108|2025-01-09 16:30:02.003|392|respContent:{msgType=QueryFundsFlowDetailResp,errorCode=0,errorMsg=视频号获取资金流水详情查询成功,respData={"errcode":0,"errmsg":"ok","funds_flow":{"flow_id":"10014902622250108","funds_type":3,"flow_type":2,"amount":100,"balance":1669079,"related_info_list":[{"related_type":2,"aftersale_id":"2000001236214565","transaction_id":"4317702262202501075662812906"},{"related_type":1,"order_id":"3725237459477468928","transaction_id":"4317702262202501075662812906"}],"bookkeeping_time":"2025-01-0817:56:51","remark":""}}}

req|logtraceId:20250109163002497415|2025-01-09 16:30:02.011|reqContent:{msgType=QueryFundsFlowDetailReq,reqData={"flow_id":"10014902621250108"}}

resp|logtraceId:20250109163002497415|2025-01-09 16:30:02.304|293|respContent:{msgType=QueryFundsFlowDetailResp,errorCode=0,errorMsg=视频号获取资金流水详情查询成功,respData={"errcode":0,"errmsg":"ok","funds_flow":{"flow_id":"10014902621250108","funds_type":1,"flow_type":1,"amount":100,"balance":1669179,"related_info_list":[{"transaction_id":"4328402280202501081884207772"}],"bookkeeping_time":"2025-01-0817:51:41","remark":"结算分账冻结金额1.00元"}}}

回答关注问题邀请回答
收藏
登录 后发表内容
问题标签