Linkless with webhooks (MFA)

Handle MFA Challenges

If receiving the MfaQuestion webhook, ex.:

{
  "message":"Enter MFA Code",
  "connection_id":"ecaa8578-32cd-4a88-359c-08dd0772ccbe",
  "webhook_type":"Connection",
  "webhook_code":"MfaQuestion",
  "environment":"Development"
}

The next step is to provide the MFA answer (usually a code) by calling /link/authentication/mfa/answer with the Link_token and an answer.

Example Request:

{  
  "link_token": "<link_token>",
  "answer": "000111"
}

Handle Invalid Credentials

If receiving the InvalidCredentials webhook, ex.:

{
  "connection_id":"ecaa8578-32cd-4a88-359c-08dd0772ccbe",
  "webhook_type":"Connection",
  "webhook_code":"InvalidCredentials",
  "environment":"Development"
}

The next step is to provide valid credentials by calling again /link/connect with the Link_token and proper credentials.