Skip to main content

List temporary remittance files

The listing of temporary CNAB files will return all temporary CNAB files from the wallet that match the query parameters sent in the request.

Request

ENDPOINT
/account/ACCOUNT_KEY/requester_profile/REQUESTER_PROFILE_KEY/temporary_cnab_file
METHOD
GET

Path parameters

FieldTypeDescriptionCharacters
account_keyuuidv4Unique account identification key, in uuid v4 format36
requester_profile_keyuuidv4Unique wallet identification key, in uuid v4 format36

Query parameters

FieldTypeDescriptionCharacters
temporary_cnab_file_statusstringStatus of the temporary CNAB filetemporary_cnab_file_status enumerators
pageintegerPage number-
page_sizeintegerPage size-

temporary_cnab_file_status enumerators

EnumeratorDescription
uploadedupload completed successfully, but file processing has not started yet
processingfile being read
readfile read and accepted
rejectedfile read and rejected due to syntactic error

Response

STATUS
200
Response Body
{
"data": [
{
"temporary_cnab_file_key": "a6db5f8b-1ed7-4d13-9cbf-f3c4275e3ca3",
"temporary_cnab_file_name": "240903573.REM",
"temporary_cnab_file_status": "processing",
"occurrence_quantity": null,
"created_at": "2024-09-07T15:44:01Z"
},
{
"temporary_cnab_file_key": "2351c4ae-9a01-4675-86e4-099a30dafa42",
"temporary_cnab_file_name": "240904603.REM",
"temporary_cnab_file_status": "rejected",
"occurrence_quantity": 0,
"created_at": "2024-09-06T12:35:50Z"
},
{
"temporary_cnab_file_key": "fa4f094d-8475-4828-9105-99756914e14f",
"temporary_cnab_file_name": "240827463_t.REM",
"temporary_cnab_file_status": "read",
"occurrence_quantity": 10424,
"created_at": "2024-08-28T15:09:30Z"
},
{
"temporary_cnab_file_key": "e99cea6d-0d1c-4ec3-a2c6-bc603aede7c6",
"temporary_cnab_file_name": "240827443_t.REM",
"temporary_cnab_file_status": "read",
"occurrence_quantity": 542,
"created_at": "2024-08-27T20:07:11Z"
},
{
"temporary_cnab_file_key": "2351c4ae-9a01-4675-86e4-099a30dafa42",
"temporary_cnab_file_name": "240812604.REM",
"temporary_cnab_file_status": "rejected",
"occurrence_quantity": 0,
"created_at": "2024-08-12T12:52:13Z"
}
],
"pagination": {
"current_page": 1,
"rows_per_page": 100
}
}

Response Body Params

FieldTypeDescriptionCharacters
data *object arrayTemporary CNAB filestemporary_cnab_file object
pagination *objectPagination informationpagination object

temporary_cnab_file object

FieldTypeDescriptionCharacters
temporary_cnab_file_key *uuidv4Unique identification key for the temporary CNAB file in uuid v4 format36
temporary_cnab_file_name *uuidv4File name100
temporary_cnab_file_status *stringStatus of the temporary CNAB filetemporary_cnab_file_status enumerators
occurrence_quantity *integerNumber of occurrences in the file-
created_at *stringTimestamp of file creation time in the database, in ISO Zulu format20

pagination object

FieldTypeDescriptionCharacters
current_page *integerCurrent page-
rows_per_page *integerItems per page-

Error Response

STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Code
status
QI Code
code
Title
title
Description (eng)
description
Description (pt-br)
translation
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.
400BKS000008Bad RequestThe source account is closed.A conta de origem está fechada.
400BKS000009Bad RequestThe source account is blocked.A conta de origem está bloqueada.
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