跳到主要内容

申请为交易重新发送令牌

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

Request

ENDPOINT
/account/ACCOUNT_KEY/pix_transfer/PIX_TRANSFER_KEY/resend_token
MÉTODO
PATCH

Path Params

字段类型描述字符数
account_key *uuidv4账户的唯一标识键。36
pix_transfer_key *uuidv4QI 系统中 Pix 转账的唯一标识键。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",
"pix_transfer_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"end_to_end_id": "E32402502202405081755SxyT2DDcVwc",
"pix_transfer_status": "pending_2fa_approval",
"created_at": "2021-10-22T20:30:23.459Z"
}
STATUS
4xx
Response Body: 转账已拒绝
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {
"pix_transfer_data": {
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"pix_transfer_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"pix_transfer_status": "rejected",
"created_at": "2021-10-22T20:30:23.459Z"
}
}
}
HTTP 代码
status
QI 代码
code
标题
title
描述(英文)
description
描述(葡文)
translation
400QIT000001Bad RequestSchema ErrorErro de Schema
404PXT000004Account not foundAccount not found for: {account_datum}Conta não encontrada para: {account_datum}
404PXT000023Outgoing PIX Transfer Not FoundPix transfer key {pix_transfer_key} was not foundTransferência PIX de saída com chave {pix_transfer_key} não foi encontrada
400PXT000171Number 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
400PXT000175Invalid StatusPix transfer not in pending_2fa_approval statusPix transfer não está pendente de aprovação por two factor authentication
400PXT000176Error Sending TokenAn error occurred while resending token and its being investigatedUm erro ocorreu ao reenviar token e está sendo investigado