curl https://production.methodfi.com/elements/token/pk_elem_dDe4r9M6X3Ad9zjpbgYpzLNtRCXfhPYR/results \
-X GET \
-H "Method-Version: 2024-04-04" \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
const response = await method
.elements
.token
.results('pk_elem_dDe4r9M6X3Ad9zjpbgYpzLNtRCXfhPYR');
response = method
.elements
.token
.results('pk_elem_dDe4r9M6X3Ad9zjpbgYpzLNtRCXfhPYR')
{
"authenticated": true,
"cxn_id": "cxn_xr86xHEcWmpmB",
"accounts": [
"acc_jPXLFqd6KzH3N",
"acc_DALLeLrj3TH8h"
],
"entity_id": "ent_GWKYtnFyE79db",
"events": [
{
"type": "open",
"metadata": {
"element_type": "connect",
"op": "open"
},
"timestamp": "2024-04-25T02:35:28.097Z"
},
{
"type": "success",
"metadata": {
"entity_id": "ent_GWKYtnFyE79db",
"accounts": [
"acc_jPXLFqd6KzH3N",
"acc_DALLeLrj3TH8h"
],
"element_type": "connect",
"op": "success"
},
"timestamp": "2024-04-25T02:35:57.120Z"
},
{
"type": "exit",
"metadata": {
"element_type": "connect",
"op": "exit"
},
"timestamp": "2024-04-25T02:35:57.138Z"
}
]
}
Elements
Retrieve Element Results
GET
/
elements
/
token
/
{pk_elem_id}
/
results
curl https://production.methodfi.com/elements/token/pk_elem_dDe4r9M6X3Ad9zjpbgYpzLNtRCXfhPYR/results \
-X GET \
-H "Method-Version: 2024-04-04" \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
const response = await method
.elements
.token
.results('pk_elem_dDe4r9M6X3Ad9zjpbgYpzLNtRCXfhPYR');
response = method
.elements
.token
.results('pk_elem_dDe4r9M6X3Ad9zjpbgYpzLNtRCXfhPYR')
{
"authenticated": true,
"cxn_id": "cxn_xr86xHEcWmpmB",
"accounts": [
"acc_jPXLFqd6KzH3N",
"acc_DALLeLrj3TH8h"
],
"entity_id": "ent_GWKYtnFyE79db",
"events": [
{
"type": "open",
"metadata": {
"element_type": "connect",
"op": "open"
},
"timestamp": "2024-04-25T02:35:28.097Z"
},
{
"type": "success",
"metadata": {
"entity_id": "ent_GWKYtnFyE79db",
"accounts": [
"acc_jPXLFqd6KzH3N",
"acc_DALLeLrj3TH8h"
],
"element_type": "connect",
"op": "success"
},
"timestamp": "2024-04-25T02:35:57.120Z"
},
{
"type": "exit",
"metadata": {
"element_type": "connect",
"op": "exit"
},
"timestamp": "2024-04-25T02:35:57.138Z"
}
]
}
Returns results and metadata for a given Element token.
Path Parameters
Returns
Returns information about the Element token and session.curl https://production.methodfi.com/elements/token/pk_elem_dDe4r9M6X3Ad9zjpbgYpzLNtRCXfhPYR/results \
-X GET \
-H "Method-Version: 2024-04-04" \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
const response = await method
.elements
.token
.results('pk_elem_dDe4r9M6X3Ad9zjpbgYpzLNtRCXfhPYR');
response = method
.elements
.token
.results('pk_elem_dDe4r9M6X3Ad9zjpbgYpzLNtRCXfhPYR')
{
"authenticated": true,
"cxn_id": "cxn_xr86xHEcWmpmB",
"accounts": [
"acc_jPXLFqd6KzH3N",
"acc_DALLeLrj3TH8h"
],
"entity_id": "ent_GWKYtnFyE79db",
"events": [
{
"type": "open",
"metadata": {
"element_type": "connect",
"op": "open"
},
"timestamp": "2024-04-25T02:35:28.097Z"
},
{
"type": "success",
"metadata": {
"entity_id": "ent_GWKYtnFyE79db",
"accounts": [
"acc_jPXLFqd6KzH3N",
"acc_DALLeLrj3TH8h"
],
"element_type": "connect",
"op": "success"
},
"timestamp": "2024-04-25T02:35:57.120Z"
},
{
"type": "exit",
"metadata": {
"element_type": "connect",
"op": "exit"
},
"timestamp": "2024-04-25T02:35:57.138Z"
}
]
}
Auth Events
| Event prefix | Description |
|---|---|
| AUTH_INTRO | Indicates when the user opens, closes, or continues past the Intro screen |
| AUTH_NAME | Indicates when the user opens, closes, or continues past the input name screen |
| AUTH_PHONE | Indicates when the user opens, closes, or continues past the input phone screen |
| AUTH_PHONE_VERIFY | Indicates when the user opens the phone verification screen, submits a code, resends a code, or closes the screen |
| AUTH_DOB | Indicates when the user opens, closes, or continues past the date of birth input screen |
| AUTH_ADDRESS | Indicates when the user opens, closes, or continues past the address input screen |
| AUTH_SSN4 | Indicates when the user opens, closes, or continues past the last 4 of SSN input screen |
| AUTH_SECQ | Indicates when the user opens, closes, incorrectly answers, or continues past the security questions screen |
| AUTH_CONSENT | Indicates when the user opens, closes, or continues past the account consent screen |
| AUTH_SUCCESS | Indicates when the user successfully completes the Authentication portion of Connect |
| AUTH_FAILURE | Indicates if the user ran into an error during the Authentication portion of Connect |
Account Verification Events
| Event prefix | Description |
|---|---|
| AVF_ACCOUNT_LIST | Indicates when the user opens or exits out of the account list |
| AVF_LEARN_MORE | Indicates when the user opens or exits out of the Learn More modal |
| AVF_ACCOUNT_VERIFY | Indicates when the user opens, submits, or closes the verification modal for a specific account |
| AVF_SUCCESS | Indicates when the user opens or continues past the verification success screen |
| AVF_EMPTY_SUCCESS | Indicates when the user opens or continues past the success screen shown if there were no accounts that required verification |
| AVF_SKIP_ALL | Indicates when the user skips all account verifications |
| AVF_ERROR | Indicates when the user is displyed an error screen during account verification |
⌘I