利息
利息指令用于配置在截止日期后付款时应收取的利息。若相关 Boleto 已存在利息配置,且利息指令被接受,则原有配置将被覆盖。
注意!
若存在待确认的利息指令,则不允许发送新的指令。
Request
ENDPOINT
/account/ACCOUNT_KEY/requester_profile/REQUESTER_PROFILE_KEY/bank_slip/BANK_SLIP_KEY/interestMÉTODO
POST路径参数
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_key | uuidv4 | 账户唯一识别密钥,格式为 uuid v4 | 36 |
requester_profile_key | uuidv4 | 钱包唯一识别密钥,格式为 uuid v4 | 36 |
bank_slip_key | uuidv4 | Boleto 唯一识别密钥,格式为 uuid v4 | 36 |
Request Body
{
"request_control_key": "c4dd443a-6e2f-4261-8f28-adfa4c0d4c5b",
"interest_data": {
"interest_type": "calendar_days_daily_amount",
"interest_amount": 50.00,
"days_to_interest": 5
}
}
Request Body Params
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
request_control_key * | uuidv4 | 客户使用的请求唯一识别密钥,格式为 uuid v4 | 36 |
interest_data | object | 利息配置 | interest_data 对象 |
interest_data 对象
选项 1:绝对值利息(interest_type=calendar_days_daily_amount 或 interest_type=workdays_daily_amount)
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
interest_type * | string | 利息类型 | interest_type 枚举值 |
interest_amount * | float | 按时间单位(工作日或自然日)收取的利息值 | - |
days_to_interest * | integer | 到期后开始收取利息所需天数 | - |
interest_type=calendar_days_monthly_percentage)
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
interest_type * | string | 利息类型 | interest_type 枚举值 |
interest_percentage * | integer | 按时间单位(工作日或自然日)收取的利息百分比 | - |
days_to_interest * | integer | 到期后开始收取利息所需天数 | - |
interest_type 枚举值
| 枚举值 | 描述 |
|---|---|
| calendar_days_daily_amount |