Introduction to Two-Factor Authentication
In this type of scheduling, it is necessary to confirm the payment programming via token sent to the person with powers to approve account movements in the crediting account.
The TED scheduling request by integrating partners configured to use two-factor authentication is performed similarly to what is described in request TED transaction scheduling. The difference occurs in the addition of the tfa_info object, containing information about the transfer approver and the contact method, and the status of a successful request which will always be pending_2fa_approval.
The same applies to TED batch scheduling described in request TED transaction scheduling in batch.
Flow for a TED scheduling with authorization
The successful TED scheduling will follow the following process flow:
- Execution of the TED transaction request and receiving a synchronous response with pending_2fa_approval status and
schedule_keyvalue. - The indicated approver will receive a 6-digit
tokencomposed of numbers. - The requester performs the TED transaction confirmation with the
schedule_keyand thetoken. - The scheduling will then be updated to scheduled status.
Observations
token validation attempts. When this limit is reached, the scheduling will be automatically set to rejected status (rejected).token has a maximum duration of 5 minutes.token renewed and resent to the transfer approver. This process restarts the 5-minute timer and does not restart the invalid attempts counter. The previous token becomes invalid.token to the approver is baas.token_validation.ted.schedule.single. It is possible to customize the message sent.contact_type) are by sms and email.