跳到主要内容

批准双因素身份验证 TED 批量调度

请求

ENDPOINT
/account/ACCOUNT_KEY/ted_schedule_batch/SCHEDULE_BATCH_KEY/validate_token
方法
PUT

Path Params

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

Body Params

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

响应

STATUS
201
Response Body: 已批准批量调度
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"schedule_batch_key": "f64b3fa7-d09d-4927-ad4f-b966df9fb153",
"schedule_batch_status": "approved",
"created_at": "2023-03-13T19:00:28.440Z"
}
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
400QIT000001Bad Requestschema error descriptionSchema Inválido
404TED000009Not FoundAccount not found for the given key: {account_key}Conta não encontrada para a chave fornecida: {account_key}
403TED000018UnauthorizedProvided account not owned by SELECTED_AGENTConta fornecida não pertencente ao SELECTED_AGENT
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
400TED000085Error Validating TokenAn error occurred while validating token and it is being investigatedUm erro ocorreu ao validar token e está sendo investigado
400TED000102Invalid StatusTed Batch not in pending_2fa_approval statusLote de Ted não está pendente de aprovação por autenticação de dois fatores
404TED000103ScheduleBatch not FoundTed Schedule Batch was not foundAgendamento de Ted em lote não encontrado
400TED000106Invalid StatusScheduleBatch not in pending_2fa_approval statusLote Agendamentos de Ted não está pendente de aprovação por autenticação de dois fatores
400TED000107Schedule Batch could not be approvedScheduleBatch could not be approved due to current date being equal or after earliest schedule date. Rejecting batchScheduleBatch não pode ser aprovada devido a data atual ser superior ou igual à menor schedule_date. Rejeitando lote