更新操作的财务数据
此端点允许更新操作中的财务数据,遵循与模拟端点中发送的 financial 对象相同的标准。
更新操作的财务数据 (PUT)
Request
ENDPOINT
/commercial_paper/operation/OPERATION-KEY/financialMÉTODO
PUTPath Params
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
OPERATION-KEY * | string | 操作的唯一键(UUID v4)。 | 36 |
Request Body
{
"interest_type": "pre_price_days",
"financial_base_date": "2025-02-03",
"released_amount": 1000000,
"number_of_installments": 5,
"prefixed_interest_rate": {
"interest_base": "calendar_days_365",
"monthly_rate": 0.05
},
"fine_delay_rate": {
"interest_base": "calendar_days_365",
"monthly_rate": 0.01
},
"contract_fine_rate": 0.02,
"fees": [
{
"amount": 5,
"amount_type": "percentage",
"fee_type": "structuring_fee",
"type": "external"
}
]
}
Request Body Params
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
interest_type * | string | 适用的利率类型。 | interest_type 枚举 |
financial_base_date * | string | 操作基准日期(格式:"YYYY-MM-DD")。 | - |
released_amount * | number | 操作释放的总金额。 | - |
number_of_installments * | integer | 总期数。 | - |
prefixed_interest_rate * | object | 包含固定利率详情的对象。 | prefixed_interest_rate 对象 |
fine_delay_rate * | object | 包含滞纳金详情的对象。 | fine_delay_rate 对象 |
contract_fine_rate * | number | 合同罚款百分比。 | - |
fees | array | 与操作相关的费用列表。 | fees 对象 |
prefixed_interest_rate 对象
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
interest_base * | string | 利率计算基础。 | interest_base 枚举 |
monthly_rate * | number | 适用的月利率。 | - |
fine_delay_rate 对象
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
interest_base * | string | 罚款计算基础。 | interest_base 枚举 |
monthly_rate * | number | 月罚款率。 | - |
fees 对象
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
amount * | number | 适用的费率值。 | - |
amount_type * | string | 费用值类型。 | amount_type 枚举 |
fee_type * | string | 费用类型。 | fee_type 枚举 |
type * | string | 费用收款方。 | fee_recipient 枚举 |
interest_type 枚举
| 枚举值 | 描述 |
|---|---|
pre_price | Price 模型的固定利率。 |
pre_price_days | 按自然日计算的 Price 模型固定利率。 |
pre_sac | SAC 模型的固定利率。 |
post_sac | SAC 模型的浮动利率。 |
interest_base 枚举
| 枚举值 | 描述 |
|---|---|
calendar_days | 自然日基础。 |
calendar_days_365 | 365 自然日基础。 |
workdays | 工作日基础。 |
amount_type 枚举
| 枚举值 |
|---|