文档中心 > API类目 > 本地生活API

alibaba.alsc.crm.customer.checkppw (校验支付密码)

校验支付密码

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
check_request CheckPayPasswdReq 必须 请求参数
  • └ brand_id
  • String
  • 可选
  • 201909878767
  • 品牌ID 、 外部品牌id 2选1
  • └ encrypted
  • Boolean
  • 可选
  • false
  • 传入的密码是否已经加密
  • └ pay_passwd
  • String
  • 必须
  • DGGUDGJHGJCBGEG89DGHJGFG
  • 密码
  • └ customer_id
  • String
  • 可选
  • 123
  • 顾客id
  • └ out_brand_id
  • String
  • 可选
  • 12334
  • 外部品牌id

响应参数

名称 类型 示例值 描述
result CommonResult 接口结果
  • └ biz_success
  • Boolean
  • true
  • 调用是否成功
  • └ result
  • Boolean
  • true
  • 密码是否正确
  • └ result_code
  • String
  • 0
  • 错误码
  • └ result_desc
  • String
  • SUCCESS
  • 错误码简介
  • └ result_view
  • String
  • 处理成功
  • 错误码描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlscCrmCustomerCheckppwRequest req = new AlibabaAlscCrmCustomerCheckppwRequest();
AlibabaAlscCrmCustomerCheckppwRequest.CheckPayPasswdReq obj1 = new AlibabaAlscCrmCustomerCheckppwRequest.CheckPayPasswdReq();
obj1.setBrandId("201909878767");
obj1.setEncrypted(false);
obj1.setPayPasswd("DGGUDGJHGJCBGEG89DGHJGFG");
obj1.setCustomerId("123");
obj1.setOutBrandId("12334");
req.setCheckRequest(obj1);
AlibabaAlscCrmCustomerCheckppwResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alsc_crm_customer_checkppw_response>
    <result>
        <biz_success>true</biz_success>
        <result>true</result>
        <result_code>0</result_code>
        <result_desc>SUCCESS</result_desc>
        <result_view>处理成功</result_view>
    </result>
</alibaba_alsc_crm_customer_checkppw_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部