产品:发起商家转账API
接口:https://api.mch.weixin.qq.com/v3/transfer/batches
参数:
array (
'appid' => '*******',
'out_batch_no' => '2024061910263377',
'batch_name' => '柒公主•干锅焖饭提现',
'batch_remark' => '微信提现100元',
'total_amount' => 10000,
'total_num' => 1,
'transfer_detail_list' =>
array (
0 =>
array (
'out_detail_no' => '2024061910263377',
'transfer_amount' => 10000,
'transfer_remark' => '微信提现100元',
'openid' => 'owcMf5mdrQrFJX5CHuNMrJyeS1_w',
'user_name' => 'GzEHIg6VKuQ4QXZLAuGR/JBqtud13HknOTXpeebXfL1ItN1o0D/rle6VJS8U7f2Jbz0pDQ2z0+4EpsRiCU0e41U4DtIAmnE48UVlOq9gHreBA9cUaHi+Fxp3eSXqjHtcXICTDZwX560Cmc/8VTFwTZqQUdfiyAhiNHGnpvBIB7GaMaijp/FBqrl4EROAT7mY4wq5ARD+ZhkH1PKEjMe+q9lQad7hbdx0gw80xDCGeGsr5AJuUWlsLmG3G/MQlbfIL5Y4VBoePAfwzD4o2I3yJchxpsxsWZA+6UOYVocWdSPMMFlYIzAWUv9FIxvkLVMsaqGGadpvW44GHyBc75grtQ==',
),
),
'notify_url' => '*******',
)
返回结果:
array (
'code' => 'PARAM_ERROR',
'message' => '转账批次参数不正确',
)
其他的商家提现都可以成功,唯独这个不可以,所以确定应该不是代码的问题。