Skip to main content

Request Token Resend for a Batch TED Transaction

A new token will be generated and sent to the account movement approver. If the token validation attempt limit has been exceeded, resending will not be allowed.

Request

ENDPOINT
/account/ACCOUNT_KEY/ted_batch/TED_BATCH_KEY/resend_token
METHOD
PATCH

Path Params

FieldTypeDescriptionCharacters
account_key *uuidv4Unique account identification key.36
ted_batch_key *uuidv4Unique batch transaction identification key.36
Request Body
{
"contact_type": "sms"
}

Body Params

FieldTypeDescriptionCharacters
contact_typeenumeratorAuthentication token delivery methodcontact_type Enumerator
Information

If no contact_type is sent, the token will be sent in the originally requested format.

contact_type Enumerator

EnumeratorDescription
smsSent via Text Message to mobile phone
emailSent via electronic mail

Response

STATUS
202
Response Body: Requested Transaction
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"ted_batch_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"ted_status": "pending_2fa_approval"
}
STATUS
4xx
Response Body: Transfer Rejected
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {
"ted_data": {
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"ted_batch_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"ted_status": "rejected"
}
}
}
HTTP Code
status
QI Code
code
Title
title
Description (eng)
description
Description (ptbr)
translation
400QIT000001Bad RequestSchema ErrorErro de Schema
404TED000009Account not foundAccount not found for the given key: {account_key}Conta não encontrada para a chave fornecida: {account_ke}
404TED000020Not FoundTed was not found for the given parameters.Ted não encontrada para os parâmetros fornecidos.
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
404TED000086Invalid StatusTed not in pending_2fa_approval statusTed não está pendente de aprovação por autenticação de dois fatores
400TED000087Error Sending TokenAn error occurred while resending token and its being investigatedUm erro ocorreu ao reenviar token e está sendo investigado
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