taobao.auction.zc.relief.debt.query (借据明细列表查询)

借据明细列表查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tp_request DebtQueryRequest 必须 借据明细列表查询请求
  • └ encrypt_id_card
  • String
  • 必须
  • 006a2bbe878b09935679a3c22eb8e2329c
  • 身份标识
  • └ scene
  • String
  • 必须
  • VISIT
  • 访问场景

响应参数

名称 类型 示例值 描述
top_result TopResult topResult
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ result_code
  • String
  • SUCCESS
  • 结果码
  • └ result_msg
  • String
  • 成功
  • 结果说明
  • data
  • DebtCaseDto []
  • 响应结果
  • └ case_id
  • String
  • CASE_001
  • 债务单据标识
  • └ original_institution_name
  • String
  • 招商银行
  • 初始机构名称
  • └ original_unified_credit_code
  • String
  • 123456789012345678
  • 初始机构统一社会信用代码
  • └ current_institution_name
  • String
  • 招商银行
  • 当前机构名称
  • └ current_unified_credit_code
  • String
  • 123456789012345678
  • 当前机构统一社会信用代码
  • └ outstanding_amount
  • String
  • 10000
  • 应还金额,元
  • └ debt_amount
  • String
  • 10000
  • 债务本金,元
  • └ principal_and_interest_amount
  • String
  • 12000
  • 本息金额,元
  • └ penalty_interest_amount
  • String
  • 3000
  • 罚息金额,元
  • └ debt_start_date
  • String
  • 2023-01-15
  • 债务起始日
  • └ debt_due_date
  • String
  • 2024-01-15
  • 债务还款日
  • └ annual_interest_rate
  • String
  • 0.08
  • 年化利率,如: 0.08
  • └ interest_calculation_method
  • String
  • EQUAL_PRINCIPAL_AND_INTEREST
  • 还款计息方式
  • └ overdue_days
  • Number
  • 30
  • 逾期天数
  • └ has_relief_plan
  • Boolean
  • true
  • 是否有纾困方案
  • relief_plan_details
  • ReliefPlanDetailDto []
  • 纾困方案详情
  • └ plan_id
  • String
  • PLAN_001
  • 方案ID
  • └ plan_type
  • Number
  • 1
  • 方案类型
  • plan_tags
  • PlanTagDto []
  • 方案标签列表
  • └ title
  • String
  • 最省钱
  • 标签名
  • └ extra
  • String
  • {}
  • 标签扩展字段JSON
  • └ recommended
  • Boolean
  • true
  • 是否推荐方案
  • └ outstanding_amount
  • String
  • 800
  • 待还款金额,元
  • └ handling_fee
  • String
  • 200
  • 手续费,元
  • └ discount_rate
  • String
  • 0.1
  • 折扣比例
  • └ delay_days
  • Number
  • 60
  • 延期期限
  • └ new_repay_date
  • String
  • 2025-12-31
  • 新还款日
  • └ principal_reduction
  • String
  • 9000
  • 本金减免,元
  • └ interest_reduction
  • String
  • 2000
  • 利息减免,元
  • └ late_fee_reduction
  • String
  • 3000
  • 滞纳金减免,元
  • └ down_payment_ratio
  • String
  • 0.1
  • 首付比例
  • └ installment_count
  • Number
  • 6
  • 分期期数
  • └ repayment_amount_per_installment
  • String
  • 180
  • 单期还款金额,元
  • └ first_repayment_grace_days
  • Number
  • 8
  • 首次还款宽限期
  • └ monthly_repayment_grace_days
  • Number
  • 3
  • 每月还款宽限期
  • └ relief_plan_expiry_date
  • String
  • 2025-12-31
  • 方案有效期
  • └ negotiable
  • Boolean
  • true
  • 是否支持协商
  • └ case_status
  • Number
  • 1
  • 纾困状态
  • └ out_user_id
  • String
  • 123456
  • 外部用户ID
  • └ app_id
  • String
  • 123456789
  • 小程序APP ID

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AuctionZcReliefDebtQueryRequest req = new AuctionZcReliefDebtQueryRequest();
AuctionZcReliefDebtQueryRequest.DebtQueryRequest obj1 = new AuctionZcReliefDebtQueryRequest.DebtQueryRequest();
obj1.setEncryptIdCard("006a2bbe878b09935679a3c22eb8e2329c");
obj1.setScene("VISIT");
req.setTpRequest(obj1);
AuctionZcReliefDebtQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<auction_zc_relief_debt_query_response>
    <top_result>
        <success>true</success>
        <result_code>SUCCESS</result_code>
        <result_msg>成功</result_msg>
        <data>
            <debt_case_dto>
                <case_id>CASE_001</case_id>
                <original_institution_name>招商银行</original_institution_name>
                <original_unified_credit_code>123456789012345678</original_unified_credit_code>
                <current_institution_name>招商银行</current_institution_name>
                <current_unified_credit_code>123456789012345678</current_unified_credit_code>
                <outstanding_amount>10000</outstanding_amount>
                <debt_amount>10000</debt_amount>
                <principal_and_interest_amount>12000</principal_and_interest_amount>
                <penalty_interest_amount>3000</penalty_interest_amount>
                <debt_start_date>2023-01-15</debt_start_date>
                <debt_due_date>2024-01-15</debt_due_date>
                <annual_interest_rate>0.08</annual_interest_rate>
                <interest_calculation_method>EQUAL_PRINCIPAL_AND_INTEREST</interest_calculation_method>
                <overdue_days>30</overdue_days>
                <has_relief_plan>true</has_relief_plan>
                <relief_plan_details>
                    <relief_plan_detail_dto>
                        <plan_id>PLAN_001</plan_id>
                        <plan_type>1</plan_type>
                        <plan_tags>
                            <plan_tag_dto>
                                <title>最省钱</title>
                                <extra>{}</extra>
                            </plan_tag_dto>
                        </plan_tags>
                        <recommended>true</recommended>
                        <outstanding_amount>800</outstanding_amount>
                        <handling_fee>200</handling_fee>
                        <discount_rate>0.1</discount_rate>
                        <delay_days>60</delay_days>
                        <new_repay_date>2025-12-31</new_repay_date>
                        <principal_reduction>9000</principal_reduction>
                        <interest_reduction>2000</interest_reduction>
                        <late_fee_reduction>3000</late_fee_reduction>
                        <down_payment_ratio>0.1</down_payment_ratio>
                        <installment_count>6</installment_count>
                        <repayment_amount_per_installment>180</repayment_amount_per_installment>
                        <first_repayment_grace_days>8</first_repayment_grace_days>
                        <monthly_repayment_grace_days>3</monthly_repayment_grace_days>
                    </relief_plan_detail_dto>
                </relief_plan_details>
                <relief_plan_expiry_date>2025-12-31</relief_plan_expiry_date>
                <negotiable>true</negotiable>
                <case_status>1</case_status>
                <out_user_id>123456</out_user_id>
                <app_id>123456789</app_id>
            </debt_case_dto>
        </data>
    </top_result>
</auction_zc_relief_debt_query_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

返回
顶部