创建再协商
Request
ENDPOINT
/debtMÉTODO
POSTRequest Body
{
"notification_type": "webhook",
"owner_person_type": "legal",
"owner_person_name": "John Sample Inc",
"owner_document_number": "86498542000151",
"reference_code": "5830c2f9-fd17-4c9c-b30c-68ddd1a92751",
"signature": {
"signers": [
{
"name": "John Sample",
"email": "john.sample@yopmail.com",
"person_type": "natural",
"document_number": "42889916090"
}
]
},
"agenda": {
"acquirers": [
"cdc"
],
"card_schemes": [
"cdc"
],
"end_date": "2021-06-23",
"start_date": "2021-06-23"
}
}
注意!
再融资发行中使用的载荷与简单债务发行相同,另外需在 "refinanced_credit_operations" 中添加将被清偿的操作列表。
Body Params
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
| notification_type * | enum | 通知类型 | - |
| owner_person_type * | enum | 账单查询对象的人员类型(自然人或法人) | - |
| owner_person_name * | string | 账单查询对象的姓名 | - |
| owner_document_number * | string | 账单查询对象的证件号码 | - |
| reference_code * | object | opt-in 的唯一标识符 | - |
| signature * | object | opt-in 信息 | - |
| agenda * | object | 账单查询参数 | - |
定义
agenda 对象
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
| acquirers * | array | 收单机构证件号码列表 | - |
| card_schemes * | array | 支付安排列表 | - |
| end_date * | string | 查询结束日期 | - |
| start_date * | string | 查询开始日期 | - |
枚举值
Person Type 枚举值
| 枚举值 | 描述 |
|---|---|
| legal | 法人 |
| natural | 自然人 |
Account Type 枚举值
| 枚举值 | 描述 |
|---|---|
| webhook | 活期账户 |
Response
STATUS
200Response Body
{}
STATUS
400Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}