跳到主要内容

通过键查询抗议

通过键查询抗议,可返回有关该抗议的详细信息。

Request

ENDPOINT
/account/ACCOUNT_KEY/requester_profile/REQUESTER_PROFILE_KEY/protest/BANK_SLIP_KEY
MÉTODO
GET

Path parameters

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

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

字段类型描述字符数
protest_key *uuidv4抗议唯一标识键,uuid v4 格式36
request_control_key *uuidv4客户使用的请求唯一标识键,uuid v4 格式36
protest_status *string抗议状态Enumeradores protest_status
bank_slip_key *uuidv4票据唯一标识键,uuid v4 格式36
requester_profile_code *string钱包唯一识别码10
protest_type *string抗议类型Enumeradores protest_type
protocol_numberstring协议号码10
protocol_datestring协议日期(格式"YYYY-MM-DD")10
notary_officeobject公证处数据Objeto notary_office

Enumeradores protest_status

枚举值描述
accepted已接受,但尚未发送至公证处
submitted已发送至公证处
cancellation_requested已申请中止抗议
cancelled发送已取消,或抗议已中止
rejected抗议申请被拒绝
at_notary_office在公证处,处于三日期间
paid_at_notary_office票据已在公证处支付
protested票据已被抗议并核销
removal_requested票据已被抗议,已申请取消
removed抗议已取消

Enumeradores protest_type

枚举值描述
protest普通抗议
bankruptcy_protest破产抗议

Objeto notary_office

字段类型描述字符数
city *string公证处所在城市-
uf *string公证处所在州(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 状态码
status
QI 代码
code
标题
title
描述(英文)
description
描述(葡文)
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.