支付结果轮训接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
shop_id | Number | 必须 | 12334 | 门店ID | |
pay_status_request | PayStatusRequest | 必须 | 入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | PosResult | 结果 | 结果 |
|
1 2 3 4 5 6 7 8 9 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaPosPaystatusQueryRequest req = new AlibabaPosPaystatusQueryRequest(); req.setShopId(12334L); AlibabaPosPaystatusQueryRequest.PayStatusRequest obj1 = new AlibabaPosPaystatusQueryRequest.PayStatusRequest(); obj1.setCheckoutId( "1341324" ); obj1.setBuyerId(123L); req.setPayStatusRequest(obj1); AlibabaPosPaystatusQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 | < alibaba_pos_paystatus_query_response > < result > < model > < checkout_status >1</ checkout_status > < checkout_id >123</ checkout_id > </ model > < msg_code ></ msg_code > < msg_info ></ msg_info > < success ></ success > </ result > </ alibaba_pos_paystatus_query_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|