查询重组方案
通过 Proposal Key 查询
ENDPOINT
/renegotiation/proposal/PROPOSAL-KEY方法
GETPath params
| 字段 | 类型 | 描述 | 字符 |
|---|---|---|---|
proposal_key * | string | 重组方案的 key | uuid 格式 |
响应
状态
200Response Body
{
"proposal_key": "bcc16a6d-ce21-4cd4-8d8c-d26f89ccc685",
"request_control_key": null,
"debt_key": "1baea8a0-0fca-4f7c-8857-a227d4da72f8",
"proposal_status": "pending_payment",
"amortization_type": "installment_payment",
"discount_percentage": 0.2,
"payment_amount": 240,
"requester_name": "Requester",
"requester_key": "bcc16a6d-ce21-4cd4-8d8c-d26f89ccc685",
"issuer_name": "issuer",
"reference_date": "2022-07-20",
"proposal_due_date": "2022-07-20",
"issuer_document_number": "98765432100",
"payment_type": "bank_slip",
"payment": {
"digitable_line": "",
"qr_code_url": {},
"qr_code_key": "",
"bank_slip_key": "",
"paid_method_type": null
},
"affected_installments": [...],
"remaining_installments": [...]
}
状态
400Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}
通过 Request Control Key 查询
ENDPOINT
/renegotiation/proposal/request_control_key/REQUEST-CONTROL-KEY方法
GETPath params
| 字段 | 类型 | 描述 | 字符 |
|---|---|---|---|
request_control_key * | string | 用于追踪和唯一标识的请求控制 key | UUID |