跳到主要内容

批准带双因素身份验证的批量交易

Request

ENDPOINT
/account/ACCOUNT_KEY/pix_transfer_batch/PIX_TRANSFER_BATCH_KEY/validate_token
MÉTODO
PUT

路径参数

字段类型描述字符数
account_keyuuidv4账户唯一标识键。36
pix_transfer_batch_keyuuidv4批量 Pix 交易唯一标识键。36
Request Body
{
"token": "329adf"
}

Body 参数

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

Response

STATUS
201
Response Body: 转账已发送
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"pix_transfer_batch_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"pix_transfer_batch_status": "approved"
}
STATUS
4xx
Response Body: 转账被拒绝
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {
"pix_transfer_batch_data": {
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"pix_transfer_batch_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"pix_transfer_batch_status": "rejected"
}
}
}
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
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 autenticação de dois fatores
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