债务模拟(旧版)
QI Tech 为客户提供在实际发行前模拟信贷操作金额的功能。模拟遵循与债务发行请求相同的模式,但无需提供债务人的注册信息和放款账户数据。
请求
以下示例描述了一次债务模拟请求。
ENDPOINT
/debt_simulationMÉTODO
POST请求体
- 到期日和分期金额
- 利率和分期日期
{
"borrower": {
"person_type": "natural"
},
"financial": {
"desired_installments": [
{
"total_amount": 578.69,
"due_date": "2027-04-01"
},
{
"total_amount": 304.25,
"due_date": "2028-04-01"
}
],
"interest_type": "pre_price_days",
"disbursement_date": "2026-09-06",
"fine_configuration": {
"monthly_rate": 0.0,
"interest_base": "calendar_days",
"contract_fine_rate": 0.0
},
"annual_interest_rate": 0.2387205,
"credit_operation_type": "ccb",
"interest_grace_period": 0,
"number_of_installments": 2,
"principal_grace_period": 0,
"rebates": [
{
"amount": 10,
"fee_type": "tac",
"amount_type": "absolute",
"rebate_bank_account": {
"name": "CONTA BANCARIA",
"bank_code": "329",
"account_digit": "1",
"branch_number": "0001",
"account_number": "00003",
"document_number": "32402502000135"
}
}
]
}
}
{
"borrower": {
"person_type": "natural"
},
"financial": {
"interest_type": "pre_price_days",
"disbursement_start_date": "2025-09-03",
"disbursement_end_date": "2025-09-03",
"issue_date": "2025-09-03",
"fine_configuration": {
"monthly_rate": 0,
"contract_fine_rate": 0,
"interest_base": "calendar_days"
},
"monthly_interest_rate": 0.1929244498,
"disbursed_amount": 10000.00,
"credit_operation_type": "ccb",
"interest_grace_period": 0,
"number_of_installments": 18,
"principal_grace_period": 0,
"due_dates": [
"2025-09-28",
"2025-10-28",
"2025-11-28",
"2025-12-28",
"2026-01-28",
"2026-02-28",
"2026-03-28",
"2026-04-28",
"2026-05-28",
"2026-06-28",
"2026-07-28",
"2026-08-28",
"2026-09-28",
"2026-10-28",
"2026-11-28",
"2026-12-28",
"2027-01-28",
"2027-02-28"
]
}
}
响应
STATUS
200响应体
{
"type": "debt",
"key": "bf84379c-d4cf-4f16-a63c-865c129e6fce",
"status": "finished",
"event_datetime": "2025-03-27 22:28:37",
"data": {}
}
定义
请求体
Borrower 对象
| 字段 | 类型 | 描述 | 枚举值 |
|---|---|---|---|
| person_type | object | 操作债务人的法律性质 | natural 或 legal |
Financial 对象
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
| amout | float | 信贷操作的发行/名义金额 | - |
| interest_type | object | 利率类型枚举值 - 摊销方法和利率计算方式 | - |
| credit_operation_type | object | 信贷操作类型枚举值 - 信贷合同类型 | - |
| annual_interest_rate | float | 以年化小数表示的固定利率 | - |
| disbursement_date | date | 操作放款日期 | - |
| interest_grace_period | int | 利息宽限期(月) | - |
| principal_grace_period | int | 本金宽限期 | - |
| number_of_installments | int | 信贷操作的分期数 | - |
| fine_configuration | object | fine_configuration 对象 - 逾期利息和罚款配置 | - |
Fine Configuration 对象
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
| contract_fine_rate | float | 以小数表示的逾期罚款百分比 | - |
| interest_base | enum | 利率基准枚举值 - 利率计算基准 | - |
| monthly_rate | float | 以小数表示的月逾期利率 | - |