Skip to content

Sync External Accounts

Request URL

POST /externalaccounts/sync

Description

This method can list, create, modify, or delete external accounts belonging to a specified user. The ampliFi user ID must be passed in the request body.

  • If you send a record containing only "externalAccounts" : [], the method will list all external accounts currently registered for the logged in user.
  • If you send an account object for a new external account, with no AFiExternalAccountId, the server will validate and register the account. For new external checking/savings accounts, you must include the "accountNumber", "routingNumber", "type", and "bankName". For new external debit cards, you must include the "pan", "cvv", "expiryYYYYMM" or "expiryYY" AND "expiryMM", and "type".
  • If you send a record with an existing AFiExternalAccountId, along with additional properties to be changed ("isActive", "comment", or "name"), the server will validate and register the changes. Required properties necessary for modifying an account are: "AFiExternalAccountId", "backOfficeId", "backOfficeName", "dtsModified", and "isActive". The "name" property is optional. You may update "isActive" to false, but you may not update an inactive external account back to true from this endpoint. You may add the "name" property or update the value of the "name" property.
  • If you send a record with an existing AFiExternalAccountId containing "isDeleted": true, the account will be marked for deletion.

In any case, the server will reply with an array of external account objects. These objects will be modified as follows:

  • The following properties will be removed: AfiUserId, externalAccountIdBO, cardImageFront, cardImageBack
  • An accountNumberMasked property will be included in the response (all but the last 4 digits will be replaced with stars (*)). For card accounts, a panMasked property will replace the pan property and the cvv code will not be included in the response.
  • Various sensitive and personally identifying information will be removed.

Schema

Property table for externalaccounts/sync

Property Description Required Schema
externalAccounts externalAccounts No array of externalAccounts array item object

Property table for schema 1 for externalAccounts array item object

Property Description Required Schema
AFiExternalAccountId The external account ID in ampliFi Yes {
  "type": "string"
}
backOfficeId Back-office ID Yes {
  "type": "string"
}
backOfficeName The back office name Yes {
  "type": "string"
}
dtsModified The date-time stamp when the account details were last modified in ampliFi Yes {
  "type": "string"
}
isActive true if active No {
  "type": "boolean",
  "nullable": true
}
name Name of the entity No {
  "type": "string",
  "nullable": true
}

Property table for schema 2 for externalAccounts array item object

Property Description Required Schema
type Entity type Yes {
  "type": "string",
  "enum": [ "CHECKING", "SAVINGS" ]
}
title The account title No {
  "type": "string",
  "nullable": true
}
currency 3-letter ISO alphabetic code to identify the currency No {
  "type": "string",
  "nullable": true,
  "pattern": "^[A-Z]{3}$",
  "default": "USD"
}
isSync true if processing should be synchronous No {
  "type": "boolean",
  "nullable": true,
  "default": true
}
isActive true if active No {
  "type": "string",
  "nullable": true,
  "default": true
}
isEnabled true if enabled No {
  "type": "string",
  "nullable": true,
  "default": true
}
name Name of the entity No {
  "type": "string",
  "nullable": true
}
comment Brief description or comment No {
  "type": "string",
  "nullable": true
}
accountNumber Account number Yes {
  "type": "string",
  "pattern": "^[0-9]+$"
}
routingNumber Routing number Yes {
  "type": "string",
  "minLength": 9,
  "maxLength": 9
}
bankName Name of the bank Yes {
  "type": "string"
}
isOwn true if the account belongs to the current user No {
  "type": "boolean",
  "nullable": true,
  "default": true
}
countryCode 3-letter ISO 3166-1 alpha-3 format country code (for checking/savings accounts) or 2-letter country code (for debit cards) No {
  "type": "string",
  "nullable": true,
  "pattern": "^[A-Z]{3}$",
  "default": "USA"
}

Property table for schema 3 for externalAccounts array item object

Property Description Required Schema
type Entity type Yes {
  "type": "string",
  "enum": [ "DEBITCARD" ]
}
title The account title No {
  "type": "string",
  "nullable": true
}
currency 3-letter ISO alphabetic code to identify the currency No {
  "type": "string",
  "nullable": true,
  "pattern": "^[A-Z]{3}$",
  "default": "USD"
}
isSync true if processing should be synchronous No {
  "type": "boolean",
  "nullable": true,
  "default": true
}
isActive true if active No {
  "type": "string",
  "nullable": true,
  "default": true
}
isEnabled true if enabled No {
  "type": "string",
  "nullable": true,
  "default": true
}
name Name of the entity No {
  "type": "string",
  "nullable": true
}
comment Brief description or comment No {
  "type": "string",
  "nullable": true
}
isFavorite isFavorite No {
  "type": "boolean",
  "nullable": true,
  "default": false
}
isDeleted true if deleted No {
  "type": "boolean",
  "nullable": true,
  "default": false
}
pan The 16 digit card PAN Yes {
  "type": "string"
}
cvv The CVV security code Yes {
  "type": "string"
}
expiryYYYYMM Expiration date Yes {
  "type": "string"
}
expiryYY The expiration date year in YY format No {
  "type": "string",
  "nullable": true
}
expiryMM The expiration date month in MM format No {
  "type": "string",
  "nullable": true
}
name_on_card Name as it appears on the card No {
  "type": "string",
  "nullable": true
}
cardImageFront Front image of the card, base64 No {
  "type": "string",
  "nullable": true
}
cardImageBack Back image of the card, base64 No {
  "type": "string",
  "nullable": true
}

Property table for schema 4 for externalAccounts array item object

Property Description Required Schema
type Entity type Yes {
  "type": "string",
  "enum": [ "DEBITCARD" ]
}
title The account title No {
  "type": "string",
  "nullable": true
}
currency 3-letter ISO alphabetic code to identify the currency No {
  "type": "string",
  "nullable": true,
  "pattern": "^[A-Z]{3}$",
  "default": "USD"
}
isSync true if processing should be synchronous No {
  "type": "boolean",
  "nullable": true,
  "default": true
}
isActive true if active No {
  "type": "string",
  "nullable": true,
  "default": true
}
isEnabled true if enabled No {
  "type": "string",
  "nullable": true,
  "default": true
}
name Name of the entity No {
  "type": "string",
  "nullable": true
}
comment Brief description or comment No {
  "type": "string",
  "nullable": true
}
isFavorite isFavorite No {
  "type": "boolean",
  "nullable": true,
  "default": false
}
isDeleted true if deleted No {
  "type": "boolean",
  "nullable": true,
  "default": false
}
pan The 16 digit card PAN Yes {
  "type": "string"
}
cvv The CVV security code Yes {
  "type": "string"
}
expiryYY The expiration date year in YY format Yes {
  "type": "string"
}
expiryMM The expiration date month in MM format Yes {
  "type": "string"
}
name_on_card Name as it appears on the card No {
  "type": "string",
  "nullable": true
}
cardImageFront Front image of the card, base64 No {
  "type": "string",
  "nullable": true
}
cardImageBack Back image of the card, base64 No {
  "type": "string",
  "nullable": true
}

Property table for schema 5 for externalAccounts array item object

Property Description Required Schema
AFiExternalAccountId The external account ID in ampliFi Yes {
  "type": "string"
}
isDeleted true if deleted Yes {
  "type": "boolean"
}

Request Body

{
    "externalAccounts": [
        {
            "pan": "1234567890123456",
            "expiryYYYYMM": "202610",
            "cvv": "123",
            "name_on_card": "John Doe",
            "type": "DEBITCARD"
        }
    ]
}

Snippet Examples

javascript

const axios = require('axios');
const data = {
    "externalAccounts": [
        {
            "pan": "1234567890123456",
            "expiryYYYYMM": "202610",
            "cvv": "123",
            "name_on_card": "John Doe",
            "type": "DEBITCARD"
        }
    ]
};
const config = {
  method: 'POST',
  url: '${AMPLIFI_BASE_URL}/externalaccounts/sync',
  headers: {
    'Content-Type': "application/json",
    'token': "A long random string token received from /token request"
  },
  data
};

let result;
try {
  result = await axios.request(config);
  if (result.status === 200) {
    console.log(JSON.stringify(result.data));
  }
} catch (err) {
  console.log({
    errCode: err.code,
    responseStatus: err.response && err.response.status,
    data: err.response && JSON.stringify(err.response.data)
  });
}

cURL

curl --location "AMPLIFI_BASE_URL/externalaccounts/sync" --data "{    \"externalAccounts\":[        {            \"pan\":\"1234567890123456\",           \"expiryYYYYMM\":\"202610\",           \"cvv\":\"123\",           \"name_on_card\":\"John Doe\",           \"type\":\"DEBITCARD\"        }    ]}" --header "Content-Type: application/json" --header "token: A long random string token received from /token request" 

Successful Response Examples

200 EXTERNALACCOUNTS/SYNC SUCCESSFUL RESPONSE LISTING ALL EXTERNAL ACCOUNTS

HEADERS

Header Value
Content-Type application/json
token A long random string token received from /token request

REQUEST BODY

{
    "externalAccounts": [

    ]
}

RESPONSE BODY

{
    "externalAccounts": [
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasg9yq6ctybidgitimu",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T16:47:46.190Z",
            "dtsModified": "2022-11-22T16:47:46.190Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account",
            "accountNumber": "12345678901234",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1234"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasgjrtselpavxaxxrjx",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T16:55:23.174Z",
            "dtsModified": "2022-11-22T16:55:23.174Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External savings account",
            "accountNumber": "12345678901235",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": "Account name update 4",
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1235"
        },
        {
            "bankName": "Wells Fargo",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasjne8tzxxmpodcalyc",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T18:22:06.816Z",
            "dtsModified": "2022-11-22T18:22:06.816Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account",
            "accountNumber": "12345678901236",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1236"
        },
        {
            "AFiExternalAccountId": "ealasjyfdqnenqrvcucqad",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2022-11-22T18:30:41.246Z",
            "dtsModified": "2022-11-22T18:30:41.246Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "9...9991",
            "panMasked": "9...9991",
            "dtsExpires": "2025-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202511",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External debit card account",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealask9c7fifprjrulkcmw",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2022-11-22T18:39:10.347Z",
            "dtsModified": "2022-11-22T18:39:10.347Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "9...9999",
            "panMasked": "9...9999",
            "dtsExpires": "2025-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202511",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External debit card account 2",
            "isSyncedToServer": true
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealaslrh1cpcmujwlnlrdi",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T19:21:16.260Z",
            "dtsModified": "2022-11-22T19:21:16.260Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account 3",
            "accountNumber": "12345678901237",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1237"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasn0avuygieaupmevow",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T19:56:12.030Z",
            "dtsModified": "2022-11-22T19:56:12.030Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External savings account 5",
            "accountNumber": "12345678901238",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1238"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasn6oqtzeuobtoshufo",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T20:01:09.993Z",
            "dtsModified": "2022-11-22T20:01:09.993Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": null,
            "accountNumber": "12345678901239",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": "Some name for account",
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1239"
        },
        {
            "AFiExternalAccountId": "ealgwi5zeneqdpukkseqtq",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-25T16:49:53.279Z",
            "dtsModified": "2023-04-25T16:49:53.279Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2026-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202611",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External Visa Card",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealgwiv4idbvoddmklcxkh",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-25T17:09:26.293Z",
            "dtsModified": "2023-04-25T17:09:26.293Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2026-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202611",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External Visa Card",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealgxy3zhafwgtaucfbkjf",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-26T17:04:00.094Z",
            "dtsModified": "2023-04-26T17:04:00.094Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2029-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202911",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "isSyncedToServer": true
        }
    ],
    "autofunding": {
        "_id": "637d688df667b2c2aba39241",
        "AFiUserId": "qweaurl8kgtlv9pc",
        "AFiExternalAccountId": "qweealasg9yq6ctybidgitimu",
        "amount": 100,
        "currency": "USD",
        "cadence": "weekly",
        "dtsModified": "2023-04-26T16:17:06.779Z",
        "weekday": "Mon",
        "dtsNext": "2023-12-18T11:00:06.779Z",
        "attempt": 0,
        "dtsExecuted": "2023-12-11T13:40:09.900Z",
        "dtsTicked": "2023-12-11T13:40:09.900Z",
        "isSyncedToServer": true
    },
    "success": true
}

200 EXTERNALACCOUNTS/SYNC SUCCESSFUL RESPONSE MODIFYING EXTERNAL ACCOUNT

HEADERS

Header Value
Content-Type application/json
token A long random string token received from /token request

REQUEST BODY

{
    "externalAccounts": [
        {
            "AFiExternalAccountId": "ealgwi5zeneqdpukkseqtq",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "isActive": true,
            "name": "CardNameTest2",
            "dtsModified": "2023-12-11T17:49:53.279Z"
        }
    ]
}

RESPONSE BODY

{
    "externalAccounts": [
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasg9yq6ctybidgitimu",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T16:47:46.190Z",
            "dtsModified": "2022-11-22T16:47:46.190Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account",
            "accountNumber": "12345678901234",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1234"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasgjrtselpavxaxxrjx",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T16:55:23.174Z",
            "dtsModified": "2022-11-22T16:55:23.174Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External savings account",
            "accountNumber": "12345678901235",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": "Account name update 4",
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1235"
        },
        {
            "bankName": "Wells Fargo",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasjne8tzxxmpodcalyc",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T18:22:06.816Z",
            "dtsModified": "2022-11-22T18:22:06.816Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External debit card account",
            "accountNumber": "12345678901236",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1236"
        },
        {
            "AFiExternalAccountId": "ealasjyfdqnenqrvcucqad",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2022-11-22T18:30:41.246Z",
            "dtsModified": "2022-11-22T18:30:41.246Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "9...9991",
            "panMasked": "9...9991",
            "dtsExpires": "2025-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202511",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External debit card account",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealask9c7fifprjrulkcmw",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2022-11-22T18:39:10.347Z",
            "dtsModified": "2022-11-22T18:39:10.347Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "9...9999",
            "panMasked": "9...9999",
            "dtsExpires": "2025-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202511",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External debit card account 2",
            "isSyncedToServer": true
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealaslrh1cpcmujwlnlrdi",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T19:21:16.260Z",
            "dtsModified": "2022-11-22T19:21:16.260Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account 3",
            "accountNumber": "12345678901237",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1237"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasn0avuygieaupmevow",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T19:56:12.030Z",
            "dtsModified": "2022-11-22T19:56:12.030Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External savings account 5",
            "accountNumber": "12345678901238",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1238"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasn6oqtzeuobtoshufo",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T20:01:09.993Z",
            "dtsModified": "2022-11-22T20:01:09.993Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": null,
            "accountNumber": "12345678901239",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": "Some name for account",
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1239"
        },
        {
            "AFiExternalAccountId": "ealgwi5zeneqdpukkseqtq",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-25T16:49:53.279Z",
            "dtsModified": "2023-12-11T17:49:53.279Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2026-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202611",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "",
            "name": "CardNameTest2",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealgwiv4idbvoddmklcxkh",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-25T17:09:26.293Z",
            "dtsModified": "2023-04-25T17:09:26.293Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2026-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202611",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External Visa Card",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealgxy3zhafwgtaucfbkjf",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-26T17:04:00.094Z",
            "dtsModified": "2023-04-26T17:04:00.094Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2029-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202911",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "isSyncedToServer": true
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealq2eiiaaftsfqajlpyka",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2023-12-12T13:51:42.282Z",
            "dtsModified": "2023-12-12T13:51:42.282Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account",
            "accountNumber": "12345678901240",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": null,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1240"
        }
    ],
    "autofunding": {
        "_id": "637d688df667b2c2aba39241",
        "AFiUserId": "qweaurl8kgtlv9pc",
        "AFiExternalAccountId": "qweealasg9yq6ctybidgitimu",
        "amount": 100,
        "currency": "USD",
        "cadence": "weekly",
        "dtsModified": "2023-04-26T16:17:06.779Z",
        "weekday": "Mon",
        "dtsNext": "2023-12-18T11:00:06.779Z",
        "attempt": 0,
        "dtsExecuted": "2023-12-11T13:40:09.900Z",
        "dtsTicked": "2023-12-11T13:40:09.900Z",
        "isSyncedToServer": true
    },
    "success": true
}

200 EXTERNALACCOUNTS/SYNC SUCCESSFUL RESPONSE ADDING NEW EXTERNAL BANK ACCOUNT

HEADERS

Header Value
Content-Type application/json
token A long random string token received from /token request

REQUEST BODY

{
    "externalAccounts": [
        {
            "isActive": true,
            "accountNumber": "12345678901241",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "bankName": "Bank of America",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "comment": "External checking account"
        }
    ]
}

RESPONSE BODY

{
    "externalAccounts": [
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasg9yq6ctybidgitimu",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T16:47:46.190Z",
            "dtsModified": "2022-11-22T16:47:46.190Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account",
            "accountNumber": "12345678901234",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1234"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasgjrtselpavxaxxrjx",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T16:55:23.174Z",
            "dtsModified": "2022-11-22T16:55:23.174Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External savings account",
            "accountNumber": "12345678901235",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": "Account name update 4",
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1235"
        },
        {
            "bankName": "Wells Fargo",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasjne8tzxxmpodcalyc",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T18:22:06.816Z",
            "dtsModified": "2022-11-22T18:22:06.816Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External debit card account",
            "accountNumber": "12345678901236",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1236"
        },
        {
            "AFiExternalAccountId": "ealasjyfdqnenqrvcucqad",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2022-11-22T18:30:41.246Z",
            "dtsModified": "2022-11-22T18:30:41.246Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "9...9991",
            "panMasked": "9...9991",
            "dtsExpires": "2025-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202511",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External debit card account",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealask9c7fifprjrulkcmw",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2022-11-22T18:39:10.347Z",
            "dtsModified": "2022-11-22T18:39:10.347Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "9...9999",
            "panMasked": "9...9999",
            "dtsExpires": "2025-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202511",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External debit card account 2",
            "isSyncedToServer": true
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealaslrh1cpcmujwlnlrdi",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T19:21:16.260Z",
            "dtsModified": "2022-11-22T19:21:16.260Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account 3",
            "accountNumber": "12345678901237",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1237"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasn0avuygieaupmevow",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T19:56:12.030Z",
            "dtsModified": "2022-11-22T19:56:12.030Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External savings account 5",
            "accountNumber": "12345678901238",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1238"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasn6oqtzeuobtoshufo",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T20:01:09.993Z",
            "dtsModified": "2022-11-22T20:01:09.993Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": null,
            "accountNumber": "12345678901239",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": "Some name for account",
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1239"
        },
        {
            "AFiExternalAccountId": "ealgwi5zeneqdpukkseqtq",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-25T16:49:53.279Z",
            "dtsModified": "2023-12-11T17:49:53.279Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2026-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202611",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "",
            "name": "CardNameTest2",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealgwiv4idbvoddmklcxkh",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-25T17:09:26.293Z",
            "dtsModified": "2023-04-25T17:09:26.293Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2026-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202611",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External Visa Card",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealgxy3zhafwgtaucfbkjf",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-26T17:04:00.094Z",
            "dtsModified": "2023-04-26T17:04:00.094Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2029-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202911",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "isSyncedToServer": true
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealq2eiiaaftsfqajlpyka",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2023-12-12T13:51:42.282Z",
            "dtsModified": "2023-12-12T13:51:42.282Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account",
            "accountNumber": "12345678901240",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": null,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1240"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealq2fe1tycidvqffxsbbz",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2023-12-12T14:16:13.234Z",
            "dtsModified": "2023-12-12T14:16:13.234Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account",
            "accountNumber": "12345678901241",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": null,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1241"
        }
    ],
    "autofunding": {
        "_id": "637d688df667b2c2aba39241",
        "AFiUserId": "qweaurl8kgtlv9pc",
        "AFiExternalAccountId": "qweealasg9yq6ctybidgitimu",
        "amount": 100,
        "currency": "USD",
        "cadence": "weekly",
        "dtsModified": "2023-04-26T16:17:06.779Z",
        "weekday": "Mon",
        "dtsNext": "2023-12-18T11:00:06.779Z",
        "attempt": 0,
        "dtsExecuted": "2023-12-11T13:40:09.900Z",
        "dtsTicked": "2023-12-11T13:40:09.900Z",
        "isSyncedToServer": true
    },
    "success": true
}

200 EXTERNALACCOUNTS/SYNC SUCCESSFUL RESPONSE ADDING NEW EXTERNAL DEBIT CARD

HEADERS

Header Value
Content-Type application/json
token A long random string token received from /token request

REQUEST BODY

{
    "externalAccounts": [
        {
            "pan": "1234567890123456",
            "expiryYYYYMM": "202610",
            "cvv": "123",
            "name_on_card": "John Doe",
            "type": "DEBITCARD"
        }
    ]
}

RESPONSE BODY

{
    "externalAccounts": [
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasg9yq6ctybidgitimu",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T16:47:46.190Z",
            "dtsModified": "2022-11-22T16:47:46.190Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account",
            "accountNumber": "12345678901234",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1234"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasgjrtselpavxaxxrjx",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T16:55:23.174Z",
            "dtsModified": "2022-11-22T16:55:23.174Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External savings account",
            "accountNumber": "12345678901235",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": "Account name update 4",
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1235"
        },
        {
            "bankName": "Wells Fargo",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasjne8tzxxmpodcalyc",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T18:22:06.816Z",
            "dtsModified": "2022-11-22T18:22:06.816Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External debit card account",
            "accountNumber": "12345678901236",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1236"
        },
        {
            "AFiExternalAccountId": "ealasjyfdqnenqrvcucqad",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2022-11-22T18:30:41.246Z",
            "dtsModified": "2022-11-22T18:30:41.246Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "9...9991",
            "panMasked": "9...9991",
            "dtsExpires": "2025-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202511",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External debit card account",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealask9c7fifprjrulkcmw",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2022-11-22T18:39:10.347Z",
            "dtsModified": "2022-11-22T18:39:10.347Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "9...9999",
            "panMasked": "9...9999",
            "dtsExpires": "2025-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202511",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External debit card account 2",
            "isSyncedToServer": true
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealaslrh1cpcmujwlnlrdi",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T19:21:16.260Z",
            "dtsModified": "2022-11-22T19:21:16.260Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account 3",
            "accountNumber": "12345678901237",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1237"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasn0avuygieaupmevow",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T19:56:12.030Z",
            "dtsModified": "2022-11-22T19:56:12.030Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External savings account 5",
            "accountNumber": "12345678901238",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1238"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealasn6oqtzeuobtoshufo",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2022-11-22T20:01:09.993Z",
            "dtsModified": "2022-11-22T20:01:09.993Z",
            "isActive": true,
            "isEnabled": true,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": null,
            "accountNumber": "12345678901239",
            "routingNumber": "031101279",
            "type": "SAVINGS",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": "Some name for account",
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1239"
        },
        {
            "AFiExternalAccountId": "ealgwi5zeneqdpukkseqtq",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-25T16:49:53.279Z",
            "dtsModified": "2023-12-11T17:49:53.279Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2026-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202611",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "",
            "name": "CardNameTest2",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealgwiv4idbvoddmklcxkh",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-25T17:09:26.293Z",
            "dtsModified": "2023-04-25T17:09:26.293Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2026-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202611",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "comment": "External Visa Card",
            "isSyncedToServer": true
        },
        {
            "AFiExternalAccountId": "ealgxy3zhafwgtaucfbkjf",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-04-26T17:04:00.094Z",
            "dtsModified": "2023-04-26T17:04:00.094Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2029-12-01T04:59:59.999Z",
            "expiryYYYYMM": "202911",
            "name_on_card": "John Testman",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "isSyncedToServer": true
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealq2eiiaaftsfqajlpyka",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2023-12-12T13:51:42.282Z",
            "dtsModified": "2023-12-12T13:51:42.282Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account",
            "accountNumber": "12345678901240",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": null,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1240"
        },
        {
            "bankName": "Bank of America",
            "logoB64": "data:image/jpeg;base64,a+very+long+b64+encoded_string",
            "AFiExternalAccountId": "qweealq2fe1tycidvqffxsbbz",
            "backOfficeId": "evolve",
            "backOfficeName": "evolve",
            "dtsCreated": "2023-12-12T14:16:13.234Z",
            "dtsModified": "2023-12-12T14:16:13.234Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "comment": "External checking account",
            "accountNumber": "12345678901241",
            "routingNumber": "031101279",
            "type": "CHECKING",
            "title": "John Testman",
            "isOwn": true,
            "countryCode": "USA",
            "currency": "USD",
            "isVerified": true,
            "name": null,
            "isSyncedToServer": true,
            "accountNumberMasked": "**********1241"
        },
        {
            "AFiExternalAccountId": "ealq2i4dsikjkfssgqqgpo",
            "backOfficeId": "tabapayBOIS",
            "backOfficeName": "tabapayBOIS",
            "dtsCreated": "2023-12-12T15:32:36.691Z",
            "dtsModified": "2023-12-12T15:32:36.691Z",
            "isActive": true,
            "isEnabled": true,
            "isPending": false,
            "isPullAllowed": true,
            "isPushAllowed": true,
            "isVerified": true,
            "accountNumberMasked": "4...0004",
            "panMasked": "4...0004",
            "dtsExpires": "2026-11-01T03:59:59.999Z",
            "expiryYYYYMM": "202610",
            "name_on_card": "John Doe",
            "type": "DEBITCARD",
            "title": "John Testman",
            "currency": "USD",
            "countryCode": "US",
            "networkName": "Visa",
            "isSyncedToServer": true
        }
    ],
    "autofunding": {
        "_id": "637d688df667b2c2aba39241",
        "AFiUserId": "qweaurl8kgtlv9pc",
        "AFiExternalAccountId": "qweealasg9yq6ctybidgitimu",
        "amount": 100,
        "currency": "USD",
        "cadence": "weekly",
        "dtsModified": "2023-04-26T16:17:06.779Z",
        "weekday": "Mon",
        "dtsNext": "2023-12-18T11:00:06.779Z",
        "attempt": 0,
        "dtsExecuted": "2023-12-11T13:40:09.900Z",
        "dtsTicked": "2023-12-11T13:40:09.900Z",
        "isSyncedToServer": true
    },
    "success": true
}