dtoMemberAccount

MemberAccount is a single account a member holds, as returned by "List Accounts".

  • AccountType splits accounts the way the core banking systems do: deposit and share accounts, whose transactions are debit, versus credit card and loan accounts, whose transactions are credit.

    values
    ACCOUNT_TYPE_UNKNOWNACCOUNT_TYPE_DEBITACCOUNT_TYPE_CREDIT
  • account_uuid is the identifier every other endpoint expects. Despite the name it is not a UUID: it is the member id followed by the zero-padded share id (member_id + share_id below). Echo it back verbatim rather than reconstructing it.

  • customer_uuid is the canonical member identifier this account resolved to, suitable for the customer_uuid argument on the other endpoints.

  • description is the account's core description, falling back to its nickname. Suitable as the display label in an account picker.

  • holder_type is this member's ownership of the account, e.g. "Primary", "Joint", or "Beneficiary". Not a closed set: some core banking systems pass their own relationship text through verbatim, so new values can appear without notice.

  • member_id is the member/CIF number: the leading component of account_uuid.

  • opened_at is the epoch timestamp the account was opened, 0 when the core does not report a parseable open date.

  • share_id is the account's id within the member (share or loan), zero-padded to 4 digits: the trailing component of account_uuid.