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_KEYMETHOD
GETPath parameters
| Field | Type | Description | Characters |
|---|---|---|---|
account_key | uuidv4 | Unique account identification key in uuid v4 format | 36 |
requester_profile_key | uuidv4 | Unique wallet identification key in uuid v4 format | 36 |
bank_slip_key | uuidv4 | Unique bank slip identification key in uuid v4 format | 36 |
Response
STATUS
200Response 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
| Field | Type | Description | Characters |
|---|---|---|---|
protest_key * | uuidv4 | Unique protest identification key in uuid v4 format | 36 |
request_control_key * | uuidv4 | Unique identification key of the request used by the client in uuid v4 format | 36 |
protest_status * | string | Protest status | protest_status Enumerators |
bank_slip_key * | uuidv4 | Unique bank slip identification key in uuid v4 format | 36 |
requester_profile_code * | string | Unique wallet identification code | 10 |
protest_type * | string | Protest type | protest_type Enumerators |
protocol_number | string | Protocol number | 10 |
protocol_date | string | Protocol date (format "YYYY-MM-DD") | 10 |
notary_office | object | Protest notary office data | notary_office Object |
protest_status Enumerators
| Enumerator | Description |
|---|---|
| accepted | Accepted but not yet sent to the protest notary offices |
| submitted | Sent to the notary office |
| cancellation_requested | Protest suspension requested |
| cancelled | Submission cancelled or protest suspended |
| rejected | Protest request rejected |
| at_notary_office | At the protest notary office, in the three-day period |
| paid_at_notary_office | Title paid at the notary office |
| protested | Title protested and settled |
| removal_requested | Title already protested, with cancellation requested |
| removed | Protest cancelled |
protest_type Enumerators
| Enumerator | Description |
|---|---|
| protest | Common protest |
| bankruptcy_protest | Bankruptcy protest |
notary_office Object
| Field | Type | Description | Characters |
|---|---|---|---|
city * | string | Protest notary office city | - |
uf * | string | Protest notary office state (UF) | 2 |
Error Response
STATUS
4xxResponse Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Codestatus | QI Codecode | Titletitle | Description (eng)description | Description (ptbr)translation |
|---|---|---|---|---|
| 400 | QIT000001 | Bad Request | Schema Error | Schema Inválido |
| 404 | BKS000006 | Not Found | The source account key was not found. | A chave da conta de origem não foi encontrada. |
| 400 | BKS000007 | Bad Request | It 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. |
| 400 | BKS000008 | Bad Request | The source account is closed. | A conta de origem está fechada. |
| 400 | BKS000009 | Bad Request | The source account is blocked. | A conta de origem está bloqueada. |
| 404 | BKS000013 | Not Found | Requester profile not found | Carteira não encontrada |
| 404 | BKS000029 | Not Found | Bank slip not found for the given key ({bank_slip_key}). | Boleto não encontrado para a chave fornecida ({bank_slip_key}). |
| 404 | BKS000106 | Not Found | No protest found for the given bank slip. | Nenhum protesto foi encontrado para o boleto fornecido. |