Skip to main content

List protests

The protest listing will return all protests in notary offices for bank slips from the wallet that match the query parameters sent in the request.

Request

ENDPOINT
/account/ACCOUNT_KEY/requester_profile/REQUESTER_PROFILE_KEY/protests
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
protest_keyuuidv4Unique protest identification key, in uuid v4 format36
request_control_keyuuidv4Unique request identification key, in uuid v4 format36
protest_statusstringProtest statusprotest_status enumerators
bank_slip_keyuuidv4Unique bank slip identification key, in uuid v4 format36
protocol_numberstringProtocol number36
protocol_datestringProtocol date (format "YYYY-MM-DD")10
page_sizeintegerPage size-
from_datestringStart date (format "YYYY-MM-DD")10
to_datestringEnd date (format "YYYY-MM-DD")10

protest_status enumerators

EnumeratorDescription
acceptedAccepted, but not yet sent to the protest notary offices
submittedSent to notary office
cancellation_requestedProtest suspension requested
cancelledSending cancelled, or protest suspended
rejectedProtest request rejected
at_notary_officeAt protest notary office, in triduum period
paid_at_notary_officeTitle paid at notary office
protestedTitle protested and settled
removal_requestedTitle already protested, with cancellation requested
removedProtest cancelled

Response

STATUS
200
Response Body
{
"data": [
{
"protest_key": "ad44278d-7cf1-4ac7-9545-410649a47dde",
"request_control_key": "7e40ebab-f00c-4dbf-88be-ff34434ab358",
"protest_status": "protested",
"bank_slip_key": "7bf086ac-f520-4498-abd4-5a7d2173fd1c",
"requester_profile_code": "329-09-0001-1467576",
"protest_type": "protest",
"protocol_number": "0000000004",
"protocol_date": "2024-11-27",
"notary_office": {
"city": "SAO PAULO",
"uf": "SP"
}
},
{
"protest_key": "0087f425-5e54-4b4c-ab17-a57bc80f223a",
"request_control_key": "c413cedc-78ac-4deb-ace8-d94d4e98197c",
"protest_status": "at_notary_office",
"bank_slip_key": "e345c0b3-012b-4a4b-9d6b-6981f40b1a7c",
"requester_profile_code": "329-09-0001-1467576",
"protest_type": "protest",
"protocol_number": "0000000016",
"protocol_date": "2024-12-10",
"notary_office": {
"city": "RIO DE JANEIRO",
"uf": "RJ"
}
},
{
"protest_key": "bc34e9b1-42e4-4f17-bfc0-c88f29d5230e",
"request_control_key": "59515878-50e9-466b-b40d-1aac3939c3fd",
"protest_status": "accepted",
"bank_slip_key": "7d3d262b-9b55-44cd-8355-2f00d5b1d142",
"requester_profile_code": "329-09-0001-1467576",
"protest_type": "protest"
}
],
"pagination": {
"current_page": 1,
"rows_per_page": 100
}
}

Response Body Params

FieldTypeDescriptionCharacters
data *object arrayProtestsprotest object
pagination *objectPagination informationpagination object

protest object

FieldTypeDescriptionCharacters
protest_key *uuidv4Unique protest identification key in uuid v4 format36
request_control_key *uuidv4Unique request identification key used by the client in uuid v4 format36
protest_status *stringProtest statusprotest_status enumerators
bank_slip_key *uuidv4Unique bank slip identification key in uuid v4 format36
requester_profile_code *stringUnique wallet identification code10
protest_type *stringProtest typeprotest_type enumerators
protocol_numberstringProtocol number10
protocol_datestringProtocol date (format "YYYY-MM-DD")10
notary_officeobjectProtest notary office datanotary_office object

pagination object

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

protest_type enumerators

EnumeratorDescription
protestCommon protest
bankruptcy_protestBankruptcy protest

protest_status enumerators

EnumeratorDescription
acceptedAccepted, but not yet sent to the protest notary offices
submittedSent to notary office
cancellation_requestedProtest suspension requested
cancelledSending cancelled, or protest suspended
rejectedProtest request rejected
at_notary_officeAt protest notary office, in triduum period
paid_at_notary_officeTitle paid at notary office
protestedTitle protested and settled
removal_requestedTitle already protested, with cancellation requested
removedProtest cancelled

notary_office object

FieldTypeDescriptionCharacters
city *stringProtest notary office city-
uf *stringProtest notary office state (UF)2

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