v1

latestOpenAPI 3.0.12026-07-243407211.3 MB
Enrollments

Gets Enrollment Details (Encrypted)

Retrieves enrollment details for an account. The response is encrypted.

get/programs/{programCode}/enrollments/accounts/{accountIdentifier}

Path parameters

programCodestring required

The Program code for the enrollment flow.

accountIdentifierstring required

The Account identifier to retrieve.

Headers

X-GD-RequestIdstring required

The nique request identifier for tracking and logging.

Response

OK

Example response

{
  "account": {
    "accountIdentifier": "d83854b4-4954-4e59-a608-397e8582ed22",
    "accountReferenceNumber": "BUZ1858668",
    "productCode": "50001",
    "currency": "USD",
    "status": "normal",
    "statusReasons": [
      "healthy"
    ],
    "accountStatusChangedDateTime": "2022-02-02T23:25:53.827Z",
    "directDepositInformation": {
      "accountNumber": "101011149772758",
      "routingNumber": "096017418"
    },
    "purses": [
      {
        "purseIdentifier": "0a2210e8-8daf-4dea-bc03-bbf0ea48f3af",
        "purseType": "primary",
        "availableBalance": 0,
        "ledgerBalance": 0,
        "availableBalanceAsOfDateTime": "2022-02-02T21:25:51Z",
        "ledgerBalanceAsOfDateTime": "2022-02-02T21:25:51Z",
        "isHidden": false,
        "status": "active"
      }
    ],
    "accountHolders": [
      {
        "paymentInstruments": [
          {
            "paymentIdentifier": "8eb3d742-2ced-45fd-8bf7-510f140feb8e",
            "paymentInstrumentIdentifier": "dfb9582f-ab16-4ed1-9e09-6c8014e04eec",
            "paymentInstrumentType": "virtual",
            "status": "activated",
            "isPinSet": true,
            "last4Pan": "5645",
            "activatedDateTime": "2022-02-02T23:25:51Z",
            "issuedDateTime": "2022-02-02T23:25:51Z",
            "isPrivateDataViewable": true
          },
          {
            "paymentIdentifier": "8eb3d742-2ced-45fd-8bf7-510f140feb8e",
            "paymentInstrumentIdentifier": "dad27830-7918-4718-a87c-5eb3d1a910b4",
            "paymentInstrumentType": "contactlessEmv",
            "status": "notActivated",
            "isPinSet": true,
            "last4Pan": "5645",
            "issuedDateTime": "2022-02-02T23:25:52Z",
            "isPrivateDataViewable": false
          }
        ],
        "user": {
          "firstName": "BbSqbeCl",
          "lastName": "axuUMkEH",
          "dobStatus": "matched",
          "last4Identity": "9444",
          "identityType": "ssn",
          "userIdentifier": "17cb5e9d-7752-4c76-b553-aab9c5763738",
          "peerTransferAcceptPreference": "manual",
          "status": "active",
          "isPrimaryAccountHolder": true,
          "kycStateData": {
            "ofacStatus": "passed",
            "kycStatus": "passed",
            "kycPendingGate": "healthy"
          }
        },
        "accountHolderIdentifier": "9d4c9d5e-bfe4-41ea-9252-94ab00907036"
      }
    ],
    "termsAcceptances": [
      {
        "termsIdentifier": "privPlcy",
        "termsAcceptanceDateTime": "2022-02-02T15:25:48.443Z",
        "termsAcceptanceFlag": false
      },
      {
        "termsIdentifier": "daa",
        "termsAcceptanceDateTime": "2022-02-02T15:25:48.443Z",
        "termsAcceptanceFlag": true
      },
      {
        "termsIdentifier": "eca",
        "termsAcceptanceDateTime": "2022-02-02T15:25:48.443Z",
        "termsAcceptanceFlag": true
      }
    ],
    "accountCycleDay": 2
  },
  "responseDetails": [
    {
      "code": 0,
      "subCode": 0,
      "description": "Success",
      "url": "http://tbd"
    }
  ]
}