跳到主要内容

批准带双因素身份验证的 Pix 交易预约

Request

ENDPOINT
/account/ACCOUNT_KEY/pix_schedule/SCHEDULE_KEY/validate_token
MÉTODO
PUT

路径参数

字段类型描述字符数
account_keyuuidv4账户唯一标识键。36
schedule_keyuuidv4预约唯一标识键。36
Request Body
{
"token": "329adf"
}

Body 参数

字段类型描述字符数
token *string发送给账户交易审批人的身份验证码。6

Response

STATUS
201
Response Body: 预约已审批
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"schedule_key": "f64b3fa7-d09d-4927-ad4f-b966df9fb153",
"schedule_status": "scheduled",
"schedule_date": "2024-12-31",
"created_at": "2023-03-13T19:00:28.440Z"
}
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 error descriptionSchema Inválido
404PSC000001Account not FoundAccount was not foundConta não encontrada
403PSC000012User is not allowed to do this transactionUser is not allowed to do this transactionUsuário não tem autorização para fazer essa transação
404PSC000025PixSchedule not FoundPixSchedule was not foundPixSchedule não encontrada
400PSC000048Error occurred while sending tokenAn unexpected error occurred while sending tokenUm erro inesperado ocorreu ao tentar enviar token
400PSC000049Number of token validation attempts exceededThe maximum number of failed token validation attempts has been reachedNúmero máximo de tentativas de validação de token atingida
400PSC000052Incorrect TokenToken sent does not match expectedToken enviado não condiz com o esperado
400PSC000053Error Sending TokenAn error occurred while resending token and its being investigatedUm erro ocorreu ao reenviar token e está sendo investigado
400PSC000054Invalid Schedule DateSchedule must be approved before the scheduled dateAgendamento deve ser aprovado em data anterior à programada para transação
400PSC000055Bad RequestSchedule cannot be approved in current statusAgendamento pix não pode ser aprovado no status atual