Skip to main content

Query protest by key

Querying a protest using its key returns detailed information about it.

Request

ENDPOINT
/account/ACCOUNT_KEY/requester_profile/REQUESTER_PROFILE_KEY/protest/BANK_SLIP_KEY
METHOD
GET

Path parameters

FieldTypeDescriptionCharacters
account_keyuuidv4Unique account identification key in uuid v4 format36
requester_profile_keyuuidv4Unique wallet identification key in uuid v4 format36
bank_slip_keyuuidv4Unique bank slip identification key in uuid v4 format36

Response

STATUS
200
Response Body
{
"protest_key": "bc34e9b1-42e4-4f17-bfc0-c88f29d5230e",
"request_control_key": "59515878-50e9-466b-b40d-1aac3939c3fd",
"protest_status": "protested",
"bank_slip_key": "7d3d262b-9b55-44cd-8355-2f00d5b1d142",
"requester_profile_code": "329-09-0001-1467576",
"protest_type": "protest",
"protocol_number": "0000672016",
"protocol_date": "2012-12-16",
"notary_office": {
"city": "VITORIA",
"uf": "ES"
}
}

Response Body Params

FieldTypeDescriptionCharacters
protest_key *uuidv4Unique protest identification key in uuid v4 format36
request_control_key *uuidv4Unique identification key of the request 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

protest_status Enumerators

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

protest_type Enumerators

EnumeratorDescription
protestCommon protest
bankruptcy_protestBankruptcy protest

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 (ptbr)
translation
400QIT000001Bad RequestSchema ErrorSchema Inválido
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.
404BKS000013Not FoundRequester profile not foundCarteira não encontrada
404BKS000029Not FoundBank slip not found for the given key ({bank_slip_key}).Boleto não encontrado para a chave fornecida ({bank_slip_key}).
404BKS000106Not FoundNo protest found for the given bank slip.Nenhum protesto foi encontrado para o boleto fornecido.