Request Token Resend for a Ted Transaction
A new token will be generated and sent to the Ted transaction approver. If the token validation attempt limit has been exceeded, resending will not be allowed.
Request
ENDPOINT
/account/ACCOUNT_KEY/ted/TED_KEY/resend_tokenMETHOD
PATCHPath Params
| Field | Type | Description | Characters |
|---|---|---|---|
account_key * | uuidv4 | Unique account identification key. | 36 |
ted_key * | uuidv4 | Unique TED transfer identification key | 36 |
Body Params
| Field | Type | Description | Characters |
|---|---|---|---|
contact_type | enumerator | Authentication token delivery method | contact_type enumerator |
Information
If no contact_type is sent, the token will be sent using the originally requested method.
contact_type Enumerator
| Enumerator | Description |
|---|---|
| sms | Delivery via Text Message to mobile phone |
| Delivery via electronic mail |
Response
STATUS
202Response Body: Requested Transaction
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"ted_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"transaction_amount": 202.01,
"fee_amount": 10,
"ted_status": "pending_2fa_approval",
"created_at": "2021-10-22T20:30:23.459Z"
}
STATUS
4xxResponse Body: Rejected Transfer
{
"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_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"transaction_amount": 202.01,
"fee_amount": 10,
"ted_status": "rejected",
"created_at": "2021-10-22T20:30:23.459Z"
}
}
}
HTTP Codestatus | QI Codecode | Titletitle | Description (eng)description | Description (ptbr)translation |
|---|---|---|---|---|
| 400 | QIT000001 | Bad Request | Schema Error | Erro de Schema |
| 404 | TED000009 | Account not found | Account not found for the given key: {account_key} | Conta não encontrada para a chave fornecida: {account_ke} |
| 404 | TED000020 | Not Found | Ted was not found for the given parameters. | Ted não encontrada para os parâmetros fornecidos. |
| 404 | TED000086 | Invalid Status | Ted not in pending_2fa_approval status | Ted não está pendente de aprovação por autenticação de dois fatores |
| 400 | TED000082 | Number of token validation attempts exceeded | The maximum number of failed token validation attempts has been reached | Número máximo de tentativas de validação de token atingida |
| 400 | TED000087 | Error Sending Token | An error occurred while resending token and its being investigated | Um erro ocorreu ao reenviar token e está sendo investigado |