submitMFAInfo
For MFA handling during the institution connection, pop-up window is recommended for user interaction. This method is used to sumbit the relevant MFA information collected from the user. The MFA requirement varies among different institutions, but all required data points shall be submitted in one go.
After MFA information submission,the partner can also use the CheckStatus() method to check the status. Of cause, when the task is completed, the result will be returned by callback.
Request parameter:
Name | Type | Required | Description |
traceId | String | Yes | The tracking number of the task |
body:
Name | Type | Required | Description |
cpf | String | No | cpf |
userName | String | No | User name (current only for Caixa or corporate account) |
password | String | No | Password |
code | String | No | User's token/code |
💡 Note:
- The above fields also need to be encrypted before submission.
- For FGTS, the MFA will be a little different. Because the MFA info in the results of the checkStatus() are a list of questions and options. It requires to submit the question id and options id, as the below format: {"code": "$options_id,$question_id"} If there are multiple questions, use "|" as the divider in between: {"code": "$options_id1,$question_id1|$options_id2,$question_id2"}
Return data: None
Request example:
Return example: