Account

"Account" refers to a Customer's account.

Property Type Required Description
sourceAccountId string Required Unique identifier for the account
sourceCustomerIds string[] Required Unique identifier for all customers associated with the account
primarySourceCustomerId string Required Unique identifier for the primary account owner
status AccountStatus Required Account status
type AccountType Required Account type
sourcePortfolioId string Required Unique identifier of the portfolio in which the account is enrolled
accountOpenDate string Required Date and time of account creation in ISO-8601 format
accountCloseDate string Not required Date and time of account closure in ISO-8601 format, if account is CLOSED. Null if account is OPEN
cards Card[] Required Array of Cards

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
    "accounts": [
        {
            "sourceAccountId": "42c57311-25f9-4501-b9db-e78afa73c0e3",
            "sourceCustomerIds": ["afa2r21-25f9-4501-b9db-e78afa73c0e3" , "2e052a88-6ae1-4b78-8d96-f3a037402567"],
            "primarySourceCustomerId": "afa2r21-25f9-4501-b9db-e78afa73c0e3",
            "status": "OPEN",
            "type": "DDA",
            "sourcePortfolioId": "76afcd28-b494-4b29-b7f2-3eb614a92f97",
            "accountOpenDate": "2017-02-13T22:00:28Z",
            "accountCloseDate": null,
            "cards": [
                {
                    "sourceAccountId": "42c57311-25f9-4501-b9db-e78afa73c0e3",
                    "sourceCustomerId": "afa2r21-25f9-4501-b9db-e78afa73c0e3",
                    "last4": "2345",
                    "iin": "123456",
                    "cardType": "CREDIT",
                    "status": "OPEN",
                    "networkIdentifier": 3,
                    "openDate": "2017-02-13T22:00:28Z",
                    "closeDate": null
                }
            ]
        }
    ]
}