The same object without authUrl. Poll until status is terminal.
Session status
pending_authorization- Waiting for your customer to authorize. Becomes expired ten minutes after creation.
processing- The customer authorized and Adeli is exchanging the code with the provider. This is brief, and may finish after expiresAt has passed.
connectedterminal- Done.
accountIdis the connection to use in every later request. failedterminal- Authorization was denied or the exchange failed.
error.codesays why. expiredterminal- Nobody completed authorization in time. Start a new session.
Errors — 401 unauthorized, 400 invalid_request,
404 profile_not_found, 404 connection_session_not_found,
502 database_error.