跳到主要内容

查询回执文件

提示

为确保当天的回执文件包含最新信息,请通过 回执文件对账例程 所示的轮询方式验证当天的信息是否已完成对账。

Request

ENDPOINT
/bank_slip/requester_profile/REQUESTER_PROFILE_CODE/cnab_files
MÉTODO
GET

Path params

字段类型描述字符数
requester_profile_code *string催收钱包代码10

Query params

字段类型描述字符数
cnab_type *enum文件类型枚举值
from *string分析周期的开始日期10
to *string分析周期的结束日期10

Enumeradores cnab_type

字段描述
requester_discharge回执文件

Response

STATUS
200
Response Body
{
"data": [
{
"cnab_key": "47361262-0853-4c51-9c2a-5284e0d8a5e1",
"company_code": null,
"created_at": "2020-05-06T11:04:25",
"downloads": [],
"file_size": "None",
"filename": "CNAB.RET",
"line_length": "400",
"remitter_key": "ab871cc8-8369-4b72-95f1-b074b30c7208",
"requester_profile_code": "329-01-0001-0000002",
"type": {
"created_at": "2019-03-12T12:59:32",
"enumerator": "requester_discharge",
"translation_path": "bank_slip.CNABFileType.requester_discharge"
},
"url": "https://linkparadownload.com/CNAB.RET",
"version": "11"
}
],
"pagination": {
"current_page": 1,
"next_page": null,
"rows_per_page": 100,
"total_pages": 1,
"total_rows": 1
}
}

STATUS
400
Response Body

{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}