跳到主要内容

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

请求

ENDPOINT
/account/ACCOUNT_KEY/ted_batch/TED_BATCH_KEY/validate_token
方法
PUT

Path Params

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

Body Params

字段类型描述字符数
token *string发送给账户转账批准人的验证码6

响应

STATUS
201
Response Body: 已批准批次
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"ted_batch_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"ted_batch_status": "approved"
}
STATUS
4xx
Response Body: 已拒绝批次
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {
"ted_batch_data": {
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"ted_batch_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"ted_batch_status": "rejected"
}
}
}
HTTP 状态码
status
QI 代码
code
标题
title
描述(英文)
description
描述(葡文)
translation
400TED000082Number 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
400TED000083Token ExpiredToken has expired. Resend token or recreate transferToken expirado. Reenvie token ou recrie a transferência
400TED000084Incorrect TokenToken sent does not match expectedToken enviado não condiz com, o esperado
404TED000101TedBatch not FoundTed Batch was not foundTedBatch não encontrada
400TED000102Invalid StatusTed Batch not in pending_2fa_approval statusLote de Ted não está pendente de aprovação por autenticação de dois fatores