---
updatedAt: 2026-02-06T00:24:43.000Z
agentTools:
  projectIndex: https://developer.greendot.com/embedded-finance/llms.txt
---

# Gets Enrollment Details (Encrypted)

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

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "BaaS APIs",
    "description": "Green Dot BaaS Partner API",
    "version": "v1",
    "x-generated-timestamp-utc": "2026-02-05T01:14:54.4774970Z"
  },
  "paths": {
    "/programs/{programCode}/enrollments/accounts/{accountIdentifier}": {
      "get": {
        "tags": [
          "Enrollments"
        ],
        "summary": "Gets Enrollment Details (Encrypted)",
        "description": "Retrieves enrollment details for an account. The response is encrypted.",
        "operationId": "Enrollments_GET_GetEnrollment",
        "parameters": [
          {
            "name": "X-GD-RequestId",
            "in": "header",
            "description": "The nique request identifier for tracking and logging.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "programCode",
            "in": "path",
            "description": "The Program code for the enrollment flow.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accountIdentifier",
            "in": "path",
            "description": "The Account identifier to retrieve.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEnrollmentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEnrollmentResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEnrollmentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEnrollmentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEnrollmentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEnrollmentResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEnrollmentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEnrollmentResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Account": {
        "type": "object",
        "properties": {
          "accountIdentifier": {
            "type": "string",
            "description": "The unique identifier assigned to the account. Used for all account-related operations and references.",
            "nullable": true
          },
          "accountReferenceNumber": {
            "type": "string",
            "description": "The reference number associated with the account, typically used for display or reporting purposes.",
            "nullable": true
          },
          "partnerConsumerId": {
            "type": "string",
            "description": "Gets or sets the identifier for the partner's consumer.",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "description": "The product code that identifies the type of account or product (e.g., card program, account type).",
            "nullable": true
          },
          "productTierKey": {
            "type": "integer",
            "description": "The tier key for the product, indicating the account's product tier or level.",
            "format": "int32"
          },
          "cipLevel": {
            "type": "string",
            "description": "The Customer Identification Program (CIP) level for the account, indicating the level of identity verification completed.",
            "nullable": true
          },
          "productMaterialType": {
            "type": "string",
            "description": "The material type of the product (e.g., \"plastic\", \"virtual\").",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "description": "The ISO 4217 currency code for the account (e.g., \"USD\").",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "The current status of the account.",
            "nullable": true
          },
          "instantIssue": {
            "type": "boolean",
            "description": "Indicates whether the account was issued instantly."
          },
          "statusReasons": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of reasons for the current account status, if any.",
            "nullable": true
          },
          "statusCure": {
            "type": "string",
            "description": "The action or process required to cure the current account status, if applicable.",
            "nullable": true
          },
          "accountStatusChangedDateTime": {
            "type": "string",
            "description": "The date and time when the account status last changed.",
            "nullable": true
          },
          "activationDate": {
            "type": "string",
            "description": "The date and time when the account was activated.",
            "nullable": true
          },
          "directDepositInformation": {
            "$ref": "#/components/schemas/DirectDepositInformation"
          },
          "purses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Purse"
            },
            "description": "The list of purses (sub-accounts or balances) associated with the account, including primary and additional purses.",
            "nullable": true
          },
          "additionalPurses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Purse"
            },
            "description": "Additional purses associated with the account, if any.",
            "nullable": true
          },
          "accountHolders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountHolder"
            },
            "description": "The list of account holders associated with the account, including primary and secondary users.",
            "nullable": true
          },
          "termsAcceptances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TermsAcceptance"
            },
            "description": "The list of terms and conditions acceptances for the account.",
            "nullable": true
          },
          "fraudData": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Optional. A dictionary of key/value pairs containing fraud detection data associated with the account.",
            "nullable": true
          },
          "accountType": {
            "type": "string",
            "description": "The type of account (e.g., \"personal\", \"business\", \"joint\").",
            "nullable": true
          },
          "language": {
            "type": "string",
            "description": "The preferred language for the account (e.g., \"en\", \"es\").",
            "nullable": true
          },
          "accountCycleDay": {
            "type": "integer",
            "description": "The account cycle day, if applicable (e.g., billing or statement cycle day).",
            "format": "int32",
            "nullable": true
          },
          "accountEligibility": {
            "$ref": "#/components/schemas/AccountEligibility"
          },
          "upgradeKycStateData": {
            "$ref": "#/components/schemas/KycStateData"
          },
          "targetUserType": {
            "type": "string",
            "description": "The type of user targeted by the account (e.g., \"primary\", \"secondary\", \"authorized user\").",
            "nullable": true
          },
          "partnerAccountId": {
            "type": "string",
            "description": "The partner-specific account identifier, if the account is linked to a partner system.",
            "nullable": true
          },
          "productClass": {
            "type": "string",
            "description": "The product class for the account, indicating the broader product grouping or classification.",
            "nullable": true
          },
          "enrollmentSource": {
            "type": "string",
            "description": "The source of enrollment for the account (e.g., \"web\", \"mobile\", \"partner\").",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a Green Dot account, including identifiers, product and status information, account holders, purses, eligibility, and related metadata.\r\nThis class is used to provide a comprehensive view of an account's state, configuration, and associated entities for account management, transfer, and reporting operations."
      },
      "AccountEligibility": {
        "type": "object",
        "properties": {
          "contactChangeEligibility": {
            "$ref": "#/components/schemas/ContactChangeEligibility"
          }
        },
        "additionalProperties": false,
        "description": "Represents the eligibility status of a Green Dot account for specific actions or changes.\r\nContains information about whether the account is eligible to update contact details such as address, email, or phone number."
      },
      "AccountHolder": {
        "type": "object",
        "properties": {
          "paymentInstruments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentInstrument"
            },
            "description": "A list of payment instruments (e.g., cards, payment methods) associated with the account holder.",
            "nullable": true
          },
          "user": {
            "$ref": "#/components/schemas/User"
          },
          "accountHolderIdentifier": {
            "type": "string",
            "description": "The unique identifier for the account holder.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents an account holder associated with an account.\r\nContains user information and a list of payment instruments linked to the account holder.\r\nUsed to provide details about each individual or entity that holds or has access to an account, including their payment methods."
      },
      "ContactChangeEligibility": {
        "type": "object",
        "properties": {
          "address": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of address types (e.g., \"home\", \"mailing\") that are eligible for update on the account.\r\nIf the list is empty or missing, address changes may not be allowed.",
            "nullable": true
          },
          "email": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of email types (e.g., \"primary\", \"secondary\") that are eligible for update on the account.\r\nIf the list is empty or missing, email changes may not be allowed.",
            "nullable": true
          },
          "phone": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of phone types (e.g., \"mobile\", \"home\", \"work\") that are eligible for update on the account.\r\nIf the list is empty or missing, phone number changes may not be allowed.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the eligibility of a Green Dot account to update specific contact information.\r\nContains lists of eligible or ineligible contact types (address, email, phone) that can be changed,\r\nbased on business rules, account status, or regulatory requirements."
      },
      "DirectDepositInformation": {
        "type": "object",
        "properties": {
          "accountNumber": {
            "type": "string",
            "description": "The account number used for receiving direct deposits via ACH.",
            "nullable": true
          },
          "routingNumber": {
            "type": "string",
            "description": "The routing number of the financial institution for ACH direct deposits.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the direct deposit information for an account.\r\nContains the account number and routing number required to receive ACH direct deposits.\r\nUsed to provide customers and partners with the necessary banking details for setting up direct deposit transactions."
      },
      "EncryptedData": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string",
            "description": "The version of the encryption algorithm used to encrypt the data (e.g., \"v1\", \"v2\").",
            "nullable": true
          },
          "ephemeralPublicKey": {
            "type": "string",
            "description": "The ephemeral public key used in the encryption process, typically for key exchange or session establishment.",
            "nullable": true
          },
          "publicKeyHash": {
            "type": "string",
            "description": "The hash of the public key used to verify the integrity and authenticity of the encryption key.",
            "nullable": true
          },
          "data": {
            "type": "string",
            "description": "The encrypted data payload, typically base64-encoded, containing the sensitive information.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a container for encrypted data used in secure data transfer operations.\r\nContains the encrypted payload and associated cryptographic metadata, including encryption version, ephemeral public key, and public key hash.\r\nUsed to securely transmit sensitive information such as user data, ensuring confidentiality and integrity during transport."
      },
      "Expiration": {
        "type": "object",
        "properties": {
          "month": {
            "type": "string",
            "description": "Represents the expiration details for a payment instrument, such as a card.",
            "nullable": true
          },
          "year": {
            "type": "string",
            "description": "The year of expiration in four-digit format (e.g., \"2027\").",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Container for expiration details"
      },
      "GetEnrollmentResponse": {
        "type": "object",
        "properties": {
          "account": {
            "$ref": "#/components/schemas/Account"
          },
          "responseDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseDetail"
            },
            "description": "Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the response returned after a successful enrollment retrieval operation.\r\nContains the full account details, including identifiers, product information, status, holders, purses, eligibility, and related metadata.\r\nInherits standard response metadata from Gd.Bos.DataTransfer.Response.ResponseBase.",
        "example": {
          "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"
            }
          ]
        }
      },
      "KycStateData": {
        "type": "object",
        "properties": {
          "ofacStatus": {
            "type": "string",
            "description": "The OFAC (Office of Foreign Assets Control) screening status for the user.\r\nTypical values: \"Passed\", \"Failed\", \"Pending\", or other business-specific status indicators.",
            "nullable": true
          },
          "kycStatus": {
            "type": "string",
            "description": "The overall KYC (Know Your Customer) status for the user.\r\nTypical values: \"Verified\", \"Pending\", \"Failed\", or other business-specific status indicators.",
            "nullable": true
          },
          "kycPendingGate": {
            "type": "string",
            "description": "The name or code of any pending KYC gate or step that must be completed for full verification.\r\nExample: \"DocumentVerification\", \"AddressCheck\", or null if no gates are pending.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the Know Your Customer (KYC) state data for a user.\r\nContains information about OFAC (Office of Foreign Assets Control) screening status, overall KYC status, and any pending KYC gates.\r\nUsed to track regulatory compliance and the current state of user verification during onboarding or account management."
      },
      "PaymentInstrument": {
        "type": "object",
        "properties": {
          "encryptedPrivatePaymentInstrumentData": {
            "$ref": "#/components/schemas/EncryptedData"
          },
          "privatePaymentInstrumentData": {
            "$ref": "#/components/schemas/PrivateCardData"
          },
          "paymentIdentifier": {
            "type": "string",
            "description": "Unique identifier for the payment (may be used for transaction tracking).",
            "nullable": true
          },
          "paymentInstrumentIdentifier": {
            "type": "string",
            "description": "Base class for payment instrument details.",
            "nullable": true
          },
          "paymentInstrumentType": {
            "type": "string",
            "description": "The type of payment instrument (e.g., \"card\", \"virtualCard\").",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "The current status of the payment instrument (e.g., \"active\", \"inactive\", \"blocked\").",
            "nullable": true
          },
          "statusReasons": {
            "type": "array",
            "items": {
              "enum": [
                "Damaged",
                "NeverReceived",
                "ReturnedMail",
                "Expired",
                "UnusedCard",
                "LostStolen",
                "Upgraded",
                "NameChange",
                "SuspiciousActivity",
                "MassCompromised",
                "Lost",
                "Stolen",
                "UnauthorizedUse",
                "Compromised",
                "UpgradeToPerso",
                "OptInEmv",
                "AccountBlocked",
                "CustomerInitiatedHold"
              ],
              "type": "string",
              "description": "Specifies the reason for the current status of a payment instrument (such as a card or payment method).\r\nUsed to provide additional context for status changes, such as damage, loss, upgrade, suspicious activity, or customer-initiated actions.\r\nSupports compliance, risk management, and customer service workflows by categorizing the cause of status changes."
            },
            "description": "The list of reasons for the current status of the payment instrument.",
            "nullable": true
          },
          "isPinSet": {
            "type": "boolean",
            "description": "Indicates whether the PIN has been set for this payment instrument."
          },
          "last4Pan": {
            "type": "string",
            "description": "The last four digits of the payment instrument's PAN (Primary Account Number).",
            "nullable": true
          },
          "activatedDateTime": {
            "type": "string",
            "description": "The date and time when the payment instrument was activated, if applicable.",
            "nullable": true
          },
          "cardPausedDateTime": {
            "type": "string",
            "description": "The date and time when the payment instrument was paused, if applicable.",
            "nullable": true
          },
          "issuedDateTime": {
            "type": "string",
            "description": "The date and time when the payment instrument was issued.",
            "nullable": true
          },
          "isOverIssuedDaysLimit": {
            "type": "boolean",
            "description": "Indicates if the instrument is over the allowed days since issuance.",
            "nullable": true
          },
          "isPrivateDataViewable": {
            "type": "boolean",
            "description": "Indicates if private card data is viewable in the response."
          },
          "embossedName": {
            "type": "string",
            "description": "The name embossed on the card, if applicable.",
            "nullable": true
          },
          "customCardImageIdentifier": {
            "type": "string",
            "description": "Identifier for a custom card image, if used.",
            "nullable": true
          },
          "paymentInstrumentLevel": {
            "enum": [
              "personalized",
              "nonpersonalized"
            ],
            "type": "string",
            "description": "The level of the payment instrument (e.g., personalized, nonpersonalized).",
            "nullable": true
          },
          "productMaterialType": {
            "type": "string",
            "description": "The product material type (e.g., \"plastic\", \"virtual\").",
            "nullable": true
          },
          "cardIssueSource": {
            "type": "string",
            "description": "The source of card issuance (e.g., \"online\", \"branch\").",
            "nullable": true
          },
          "paymentIdentifierBin": {
            "type": "string",
            "description": "The BIN (Bank Identification Number) associated with the payment instrument.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a payment instrument (such as a card or payment method) associated with an account holder.\r\nInherits common properties from Gd.Bos.DataTransfer.PaymentInstrumentBase and adds encrypted and plain card data, as well as a unique payment identifier.\r\nUsed to provide detailed information about each payment method, including sensitive card data (encrypted or plain) and its unique identifier."
      },
      "PrivateCardData": {
        "type": "object",
        "properties": {
          "pan": {
            "type": "string",
            "description": "The primary account number (PAN) of the card, typically a 16-digit number.",
            "nullable": true
          },
          "cvv": {
            "type": "string",
            "description": "Card Verification Value (CVV) of the card.",
            "nullable": true
          },
          "expiration": {
            "$ref": "#/components/schemas/Expiration"
          }
        },
        "additionalProperties": false,
        "description": "Represents sensitive card data associated with a payment instrument.\r\nContains the primary account number (PAN), card verification value (CVV), and expiration details.\r\nUsed to securely store and transmit card information for payment processing, typically in encrypted or restricted contexts."
      },
      "Purse": {
        "type": "object",
        "properties": {
          "purseIdentifier": {
            "type": "string",
            "description": "The unique identifier for the purse.",
            "nullable": true
          },
          "purseType": {
            "type": "string",
            "description": "The type of purse (e.g., \"Savings\", \"Spending\", \"Goal\").",
            "nullable": true
          },
          "purseDescription": {
            "type": "string",
            "description": "A human-readable description of the purse.",
            "nullable": true
          },
          "availableBalance": {
            "type": "number",
            "description": "The available balance in the purse, representing funds that can be spent or withdrawn.",
            "format": "double"
          },
          "ledgerBalance": {
            "type": "number",
            "description": "The ledger balance in the purse, representing the total balance including pending transactions.",
            "format": "double"
          },
          "availableBalanceAsOfDateTime": {
            "type": "string",
            "description": "The date and time when the available balance was last updated.",
            "nullable": true
          },
          "ledgerBalanceAsOfDateTime": {
            "type": "string",
            "description": "The date and time when the ledger balance was last updated.",
            "nullable": true
          },
          "isHidden": {
            "type": "boolean",
            "description": "Indicates whether the purse is hidden from the user interface."
          },
          "status": {
            "type": "string",
            "description": "The current status of the purse.",
            "nullable": true
          },
          "goalAmount": {
            "type": "number",
            "description": "The goal amount set for the purse, if applicable (e.g., for savings goals).",
            "format": "double",
            "nullable": true
          },
          "goalDate": {
            "type": "string",
            "description": "The target date for achieving the goal amount.",
            "nullable": true
          },
          "iconName": {
            "type": "string",
            "description": "The name of the icon associated with the purse for display purposes.",
            "nullable": true
          },
          "createDate": {
            "type": "string",
            "description": "The date and time when the purse was created.",
            "format": "date-time",
            "nullable": true
          },
          "changeDate": {
            "type": "string",
            "description": "The date and time when the purse was last changed or updated.",
            "format": "date-time",
            "nullable": true
          },
          "purseNumber": {
            "type": "string",
            "description": "The purse number, which may be used for display or reference purposes.",
            "nullable": true
          },
          "interestRateTierIdentifier": {
            "type": "string",
            "description": "The identifier for the interest rate tier applied to the purse, if applicable.",
            "nullable": true
          },
          "interestRateTier": {
            "type": "string",
            "description": "The name or description of the interest rate tier applied to the purse.",
            "nullable": true
          },
          "interestYieldStartDate": {
            "type": "string",
            "description": "The start date for interest yield calculation.",
            "nullable": true
          },
          "interestYieldEndDate": {
            "type": "string",
            "description": "The end date for interest yield calculation.",
            "nullable": true
          },
          "APY": {
            "type": "number",
            "description": "The annual percentage yield (APY) for the purse, if applicable.",
            "format": "double",
            "nullable": true
          },
          "purseSubType": {
            "type": "string",
            "description": "The subtype of the purse, providing additional categorization (e.g., \"RoundUp\", \"EmergencyFund\").",
            "nullable": true
          },
          "interestRate": {
            "type": "number",
            "description": "The interest rate applied to the purse, if applicable.",
            "format": "double",
            "nullable": true
          },
          "isRoundUp": {
            "type": "boolean",
            "description": "Indicates whether the purse is configured for round-up savings functionality."
          }
        },
        "additionalProperties": false,
        "description": "Represents a purse (sub-account or balance container) associated with a user's account.\r\nContains identifiers, type, balances, status, goal information, interest details, and display attributes.\r\nUsed to provide detailed information about each purse, including available and ledger balances, status, and configuration for savings, spending, or other financial goals."
      },
      "ResponseDetail": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The primary status or error code for the response (e.g., 200 for success, 400 for validation error).",
            "format": "int32"
          },
          "subCode": {
            "type": "integer",
            "description": "An optional subcode providing more granular detail about the response or error.",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A human-readable description of the response, error, or status.",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "A URL linking to documentation or a web page with more information about the response code.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a detailed status or error message for an API response.\r\nContains a code, optional subcode, human-readable description, and a URL for more information.\r\nUsed to provide granular feedback about the outcome of an operation, including success, warnings, or errors."
      },
      "TermsAcceptance": {
        "type": "object",
        "properties": {
          "termsIdentifier": {
            "type": "string",
            "description": "The unique identifier for the terms and conditions that were presented to the user.",
            "nullable": true
          },
          "termsAcceptanceDateTime": {
            "type": "string",
            "description": "The date and time when the user accepted the terms, typically in ISO 8601 format (e.g., \"2023-07-01T12:34:56Z\").",
            "nullable": true
          },
          "termsAcceptanceFlag": {
            "type": "boolean",
            "description": "Indicates whether the user accepted the terms (true) or declined (false).",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a record of a user's acceptance of specific terms and conditions.\r\nContains the identifier of the terms, the date and time of acceptance, and a flag indicating whether the terms were accepted.\r\nUsed to track user consent for legal, compliance, or business requirements during onboarding or other operations."
      },
      "User": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "description": "The user's first name.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "The user's last name.",
            "nullable": true
          },
          "dobStatus": {
            "type": "string",
            "description": "The status of the user's date of birth verification.",
            "nullable": true
          },
          "last4Identity": {
            "type": "string",
            "description": "The last four digits of the user's identity number.",
            "nullable": true
          },
          "identityType": {
            "type": "string",
            "description": "The type of identity document or number provided (e.g., \"SSN\", \"Passport\", \"DriverLicense\").",
            "nullable": true
          },
          "userIdentifier": {
            "type": "string",
            "description": "The unique identifier assigned to the user within the system.",
            "nullable": true
          },
          "peerTransferAcceptPreference": {
            "type": "string",
            "description": "The user's preference for accepting peer-to-peer transfers (e.g., \"AutoAccept\", \"ManualAccept\").",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "The current status of the user (e.g., \"Active\", \"Inactive\", \"Suspended\").",
            "nullable": true
          },
          "isPrimaryAccountHolder": {
            "type": "boolean",
            "description": "Indicates whether the user is the primary account holder."
          },
          "kycStateData": {
            "$ref": "#/components/schemas/KycStateData"
          },
          "partnerConsumerId": {
            "type": "string",
            "description": "The partner consumer identifier associated with the user.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents user profile information associated with an account holder.\r\nContains personal details, identity information, account status, and KYC (Know Your Customer) state data.\r\nUsed to provide a comprehensive view of the user's identity, preferences, and compliance status within the system."
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "bearer token",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "samples-languages": [
      "csharp",
      "java",
      "python",
      "node",
      "objectivec"
    ]
  }
}
```