Step 3 - Handle MFA (if necessary)
Step 3: Handle MFA (if necessary)
Some financial institutions require an additional verification step before returning data. If this occurs, the job status will move to pending_mfa and Aerosync will emit a pending_mfa webhook to your registered endpoint.
For the full handling flow, code sample, and sandbox testing instructions, see MFA Challenges.
Finding your jobId
jobIdTo re-launch the widget for MFA, you will need the jobId returned in the response from Step 1 when you created the job. Make sure you store this value alongside your connectionId when the job is created.
Detecting pending_mfa
pending_mfa- Webhook (recommended): listen for a webhook with
pending_mfastatus - Direct poll (backup): check
GET /v2/accounts/{connectionId}/job/{job_id}
for ajobStatusofPending MFA
Once the user completes the MFA challenge, you will receive a completed webhook and can proceed to retrieve your data in the next step.
Updated 6 days ago
Did this page help you?