跳到主要内容

申请为批量 Pix 交易重新发送令牌

将生成一个新令牌并发送给账户交易审批人。如果令牌验证尝试次数已达上限,则不允许重新发送。

请求

ENDPOINT
/account/ACCOUNT_KEY/pix_transfer_batch/PIX_TRANSFER_BATCH_KEY/resend_token
方法
PATCH

Path Params

字段类型描述字符数
account_key *uuidv4账户的唯一标识键。36
pix_transfer_batch_key *uuidv4批量交易的唯一标识键。36
Request Body
{
"contact_type": "sms"
}

Body Params

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

如果未发送 contact_type,令牌将以原始申请的方式发送。

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

响应

STATUS
202
Response Body: 交易已申请
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"pix_transfer_batch_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"pix_transfer_status": "pending_2fa_approval"
}
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_batch_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"pix_transfer_status": "rejected"
}
}
}
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}
400PXT000176Error Sending TokenAn error occurred while resending token and its being investigatedUm erro ocorreu ao reenviar token e está sendo investigado
404PXT000178Pix Transfer Batch not foundA pix_transfer_batch not foundUma pix_transfer_batch não encontrada
400PXT000180Invalid StatusPix transfer Batch not in pending_2fa_approval statusPix transfer em lote não está pendente de aprovação por duṕla autenticação
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
400PXT000172Token ExpiredToken has expired. Resend token or recreate transferToken has expired. Resend token or recreate transferToken expirado. Reenvie token ou recrie a transferência
400PXT000173Incorrect TokenToken sent does not match expectedToken enviado não condiz com, o esperado