状态码 | 错误码 | 错误描述 | 解决方案 |
---|---|---|---|
400 | ILLEGAL_ARGUMENT | 参数异常或参数缺失 | 检查请求参数,修改后重新发起请求 |
400 | AUTH_ORDER_NOT_EXIST | 支付宝资金授权订单不存在 | 检查传入参数中的支付宝资金授权订单号或商户授权订单号,修改后重新发起请求 |
400 | AUTH_OPERATION_NOT_EXIST | 支付宝资金操作流水不存在 | 检查传入参数中的支付宝的授权资金操作流水号或商户的授权资金操作流水号,修改后重新发起请求 |
400 | ACCESS_FORBIDDEN | 无权限使用该产品 | 未签约或签约已到期,请检查合约 |
400 | SYSTEM_ERROR | 系统错误 | 请使用相同的参数再次调用 |
400 | ENTERPRISE_PAY_BIZ_ERROR | 因公付业务异常 | 请使用相同参数再次调用 |
400 | HAS_NO_PRIVILEGE | 商户无权限查看该笔订单信息 | 请检查该商户是否创建了该笔授权订单 |
curl --location --request POST 'http://dev-cn.your-api-server.com/v3/alipay/fund/auth/operation/detail/query' \
--header 'authorization: ALIPAY-SHA256withRSA app_id=$appid,timestamp=$now,nonce=$uuid,expired_seconds=600,sign=$sign' \
--header 'alipay-request-id: $requestid' \
--header 'Content-Type: application/json' \
--data-raw '{
"auth_no":"2014021601002000640012345678",
"out_order_no":"8077735255938023",
"operation_id":"20140216010020006400",
"out_request_no":"20140216001001",
"operation_type":"FREEZE"
}'
{
"auth_no":"2014031600002001260000001000",
"out_order_no":"20140216001",
"order_status":"AUTHORIZED",
"total_freeze_amount":4800.00,
"rest_amount":4600.00,
"total_pay_amount":0.00,
"order_title":"0元购土豪金",
"payer_logon_id":"ali*@alipay.com",
"payer_user_id":"2088402019148643",
"extra_param":"{\"merchantExt\":\"key1=value1,key2=value2\"}",
"operation_id":"20140216355864862002",
"out_request_no":"20140216001001",
"amount":200.00,
"operation_type":"UNFREEZE",
"status":"SUCCESS",
"remark":"2014-05期解冻200.00元",
"gmt_create":"2014-01-01 20:00:00",
"gmt_trans":"2014-01-01 20:00:00",
"pre_auth_type":"CREDIT_AUTH",
"trans_currency":"USD",
"total_freeze_credit_amount":0.01,
"total_freeze_fund_amount":0.01,
"total_pay_credit_amount":0.01,
"total_pay_fund_amount":0.01,
"rest_credit_amount":0.01,
"rest_fund_amount":0.01,
"credit_amount":0.01,
"fund_amount":0.01,
"credit_merchant_ext":"{\"1003190\":\"true\"}"
}