Skip to content

2.1.5 用信试算(必选)

用信试算;根据用户选择的额度,每期天数,期数,权益包费率,日费率等信息,算出每期的费用和权益包的费用

  • 接口提供方: 流量承接方(KN)
  • 接口调用方: 流量提供方
  • method: credit_utilization_calculation

请求参数

参数类型必选说明备注
receiver_credit_idstringN流量承接方的授信id不超过32位;
receiver_credit_id&
provider_credit_id
传其中一个即可
provider_credit_idstringN流量提供方的授信id不超过32位;
receiver_credit_id&
provider_credit_id
传其中一个即可
productobjectY用户选择的产品形态-

product

参数类型必选说明备注
select_equityboolY是否勾选权益-
amountstringY额度单位:泰铢
termintY每期天数单位:天
periodintY期数-
ratestringY权益包费率(百分之N)-
intereststringY日费率(百分之N)精度为3位小数

响应参数

参数类型必选说明备注
repayment_plan_listarray objectY还款计划-
equity_detailobjectY权益明细-

repayment_plan_list.object

参数类型必选说明备注
periodintY期次-
termintY当期天数单位:天
repay_timestamplongY应还时间的时间戳(秒级)-
capital_amountstringY本金单位:泰铢
interest_amountstringY利息单位:泰铢
is_exemptedboolY是否被豁免-

service_detail

参数类型必选说明备注
amountstringY权益包费用-

请求参数示例

json
{
    "receiver_credit_id": "2020036532193609",
    "product": {
        "select_equity": true,
        "amount": "1000",
        "term": 15,
        "period": 4,
        "rate": "40",
        "interest": "0.098"
    }
}

响应参数示例

json
{
    "code": 0,
    "message": "success",
    "data": {
        "repayment_plan_list": [
            {
                "period": 1,
                "term": 15,
                "repay_timestamp": 1756885676,
                "capital_amount": "2000",
                "interest_amount": "1000",
                "is_exempted": false
            },
            {
                "period": 2,
                "term": 15,
                "repay_timestamp": 1756885676,
                "capital_amount": "2000",
                "interest_amount": "1000",
                "is_exempted": false
            },
            {
                "period": 3,
                "term": 15,
                "repay_timestamp": 1756885676,
                "capital_amount": "2000",
                "interest_amount": "1000",
                "is_exempted": false
            },
            {
                "period": 3,
                "term": 45,
                "repay_timestamp": 1756885676,
                "capital_amount": "0",
                "interest_amount": "1000",
                "is_exempted": false
            }
        ],
        "equity_detail": {
            "amount": "500"
        }
    }
}