跳到主要内容

列出返回文件

信息

响应中提供的 URL 中的文件遵循 QI Tech 400 位返回文件布局标准。 以下是手册下载链接:催收布局 - QI Tech 版本 2.1

返回文件用于对账。文件中,每行交易记录(类型 1)对应前一天 CIP/Nuclea 确认或拒绝的一条指令(无论是发行、延期、减免等类型)。

Request

ENDPOINT
/account/ACCOUNT_KEY/requester_profile/REQUESTER_PROFILE_KEY/discharge_files
MÉTODO
GET

Path parameters

字段类型描述字符数
account_keyuuidv4账户唯一标识键36
requester_profile_keyuuidv4钱包唯一标识键,uuid v4 格式36

Query parameters

字段类型描述字符数
discharge_file_keyuuidv4返回文件唯一标识键,uuid v4 格式36
pageinteger页码-
page_sizeinteger每页大小-
from_datestring起始日期(格式"YYYY-MM-DD")10
to_datestring结束日期(格式"YYYY-MM-DD")10

Response

STATUS
200
Response Body
{
"data": [
{
"discharge_file_key": "f1a8fe59-29cd-49e5-8d18-55194869b45c",
"discharge_file_name": "CB15102401.RET",
"discharge_file_url": "https://storage.googleapis.com/local-bank-slip-api/2024/61a746ca-05bf-429d-99c3-3fba0f9fbea7/329-20-7336-3073959/discharge/CB15102401.RET",
"reference_date": "2024-10-15"
}
],
"pagination": {
"current_page": 1,
"rows_per_page": 100
}
}

Response Body Params

字段类型描述字符数
dataobject array返回文件Objeto discharge_file
paginationobject分页信息Objeto pagination

Objeto discharge_file

字段类型描述字符数
discharge_file_keyuuidv4返回文件唯一标识键,uuid v4 格式36
discharge_file_namestring返回文件名称-
discharge_file_urlstring返回文件 URL-
reference_datestring返回文件参考日期,格式 YYYY-MM-DD10

Objeto pagination

字段类型描述字符数
current_pageinteger当前页码-
rows_per_pageinteger每页记录数-

Error Response

STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP 状态码
status
QI 代码
code
标题
title
描述(英文)
description
描述(葡文)
translation
400QIT000001Bad RequestSchema ErrorSchema Inválido
403BKS000005ForbiddenUser is not allowed to do this actionUsuário não tem autorização para fazer essa ação
404BKS000006Not FoundThe source account key was not found.A chave da conta de origem não foi encontrada.
400BKS000007Bad RequestIt was not possible to consult the source account at this time. Please try again in a few minutes.Não foi possível consultar a conta de origem neste momento. Por favor, tente novamente em alguns minutos.
400BKS000012Bad RequestInvalid integer value for page or size query string parameters.Valor inválido para parâmetros de página ou tamanho de página.
404BKS000013Not FoundRequester profile not foundCarteira não encontrada
400BKS000052Bad RequestInvalid account status.Status da conta inválido.