跳到主要内容

申请为预约重新发送令牌

将为 Pix 预约审批人生成并发送新令牌。如果已超过令牌验证尝试次数上限,则不允许重新发送。

Request

ENDPOINT
/account/ACCOUNT_KEY/pix_schedule/SCHEDULE_KEY/resend_token
MÉTODO
PATCH

Path Params

字段类型描述字符数
account_keyuuidv4账户的唯一标识键。36
schedule_keyuuidv4预约的唯一标识键。36

Body Params

字段类型描述字符数
contact_typeenumerator认证令牌的发送方式Enumerador contact_type
信息

如果未发送 contact_type,令牌将以最初请求的方式发送。

枚举值描述
sms发送至手机的短信
email发送至电子邮件

Response

STATUS
202
Response Body: 交易已申请
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"schedule_key": "f64b3fa7-d09d-4927-ad4f-b966df9fb153",
"schedule_status": "pending_2fa_approval",
"schedule_date": "2024-12-31",
"created_at": "2023-03-13T19:00:28.440Z"
}
STATUS
4xx
Response Body: 转账已拒绝
{
"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
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