Aggregate Relationship Search
Entity Management
>
API Reference
>
v1
>
Aggregate Relationship Search
openapi: 3.0.3
info:
title: Entity Services - Aggregate Relationship Search
version: v1
description: Services related to an Entity and it's Relationships.
contact:
name: Entity Services
url: https://www.jackhenry.com/
email: DC-Operations@jackhenry.com
servers:
- url: https://banno.com
description: Production Endpoint
tags:
- name: Aggregate Relationship Search
description: Entity, Relationship, Account, and Balance search
paths:
/a/api/entity-svcs/v1/{InstitutionUniversalId}/aggregate-search/entities:
post:
operationId: searchAggregateRelationshipByEntitySearch
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships, entities, accounts, and transactions in a single call by an Entity Search Request.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- name: offset
in: query
required: false
description: |
When returning a list of results, the offset determines the number of records to skip before
returning the result. If the offset is not provided, the server will return the first set of
records.
Unlike `count`, this value is deliberately **not** validated. An offset is an opaque cursor
echoed back from a prior response's `paging.nextOffset`, so the server passes it through rather
than requiring it to look like an integer.
example: ?offset=50
schema:
type: string
default: '0'
- name: count
in: query
required: false
description: |
The count of records requested. The server may limit the number of records returned in a single
response. If the count is not provided, the server will return a default number of records.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?count=`) is accepted and leaves the
default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?count=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
- name: relationshipOffset
in: query
required: false
description: |
When returning relationships, the offset determines the number of relationship records to skip
before returning the result.
Unlike `relationshipCount`, this value is deliberately **not** validated. An offset is an opaque
cursor echoed back from a prior response's `relationshipPaging.nextOffset`, so the server passes
it through rather than requiring it to look like an integer.
example: ?relationshipOffset=50
schema:
type: string
default: '0'
- name: relationshipCount
in: query
required: false
description: |
The count of relationship records requested. The server may limit the number of records returned
in a single response.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?relationshipCount=`) is accepted and
leaves the default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?relationshipCount=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
- name: noBalance
in: query
description: |
If set to true, the response will not include the balance/transaction information.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noBalance=true`
required: false
schema:
type: string
default: 'false'
- name: noAccount
in: query
description: |
If set to true, the response will not include account information. Because balances depend on
accounts, balance/transaction information is also excluded regardless of the noBalance value.
This flag also narrows the `relationships` array itself, not just the hydrated `accounts`
sub-object: `Accounts` relationships are left out, `Cards` and `Loans` relationships are kept,
and `relationshipPaging` counts just that narrowed set. Sending `noAccount`, `noCard` and
`noLoan` all as `true` leaves no asset type to return, so `relationships` and
`relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noAccount=true`
required: false
schema:
type: string
default: 'false'
- name: noCard
in: query
description: |
If set to true, the response will not include card information.
This flag also narrows the `relationships` array itself, not just the hydrated `cards`
sub-object: `Cards` relationships are left out, `Accounts` and `Loans` relationships are kept,
and `relationshipPaging` counts just that narrowed set. This is what keeps the card token out
of the response, since a `Cards` relationship carries that token in its `assetId`. Sending
`noCard`, `noAccount` and `noLoan` all as `true` leaves no asset type to return, so
`relationships` and `relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noCard=true`
required: false
schema:
type: string
default: 'false'
- name: noLoan
in: query
description: |
If set to true, the response will not include loan information.
This flag also narrows the `relationships` array itself, not just the hydrated `loans`
sub-object: `Loans` relationships are left out, `Accounts` and `Cards` relationships are kept,
and `relationshipPaging` counts just that narrowed set. Sending `noLoan`, `noAccount` and
`noCard` all as `true` leaves no asset type to return, so `relationships` and
`relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noLoan=true`
required: false
schema:
type: string
default: 'false'
requestBody:
description: An aggregate search request by searching for the entity first. Name or TaxIdNumber is required
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: any part of a name, (first name, last name, preferred name). You can put spaces between names to denote another part of a name
minLength: 3
maxLength: 255
taxIdNumber:
type: string
description: The tax id number or ssn of the entity
nullable: true
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'404':
description: The server can not find the requested resource. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/aggregate-search/entities/{entityId}:
get:
operationId: getAggregateRelationship
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships, entities, accounts, and transactions in a single call by an EntityId.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- name: entityId
in: path
description: A unique identifier of the Entity
required: true
schema:
type: string
format: uuid
- name: relationshipOffset
in: query
required: false
description: |
When returning relationships, the offset determines the number of relationship records to skip
before returning the result.
Unlike `relationshipCount`, this value is deliberately **not** validated. An offset is an opaque
cursor echoed back from a prior response's `relationshipPaging.nextOffset`, so the server passes
it through rather than requiring it to look like an integer.
example: ?relationshipOffset=50
schema:
type: string
default: '0'
- name: relationshipCount
in: query
required: false
description: |
The count of relationship records requested. The server may limit the number of records returned
in a single response.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?relationshipCount=`) is accepted and
leaves the default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?relationshipCount=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
- name: noBalance
in: query
description: |
If set to true, the response will not include the balance/transaction information.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noBalance=true`
required: false
schema:
type: string
default: 'false'
- name: noAccount
in: query
description: |
If set to true, the response will not include account information. Because balances depend on
accounts, balance/transaction information is also excluded regardless of the noBalance value.
This flag also narrows the `relationships` array itself, not just the hydrated `accounts`
sub-object: `Accounts` relationships are left out, `Cards` and `Loans` relationships are kept,
and `relationshipPaging` counts just that narrowed set. Sending `noAccount`, `noCard` and
`noLoan` all as `true` leaves no asset type to return, so `relationships` and
`relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noAccount=true`
required: false
schema:
type: string
default: 'false'
- name: noCard
in: query
description: |
If set to true, the response will not include card information.
This flag also narrows the `relationships` array itself, not just the hydrated `cards`
sub-object: `Cards` relationships are left out, `Accounts` and `Loans` relationships are kept,
and `relationshipPaging` counts just that narrowed set. This is what keeps the card token out
of the response, since a `Cards` relationship carries that token in its `assetId`. Sending
`noCard`, `noAccount` and `noLoan` all as `true` leaves no asset type to return, so
`relationships` and `relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noCard=true`
required: false
schema:
type: string
default: 'false'
- name: noLoan
in: query
description: |
If set to true, the response will not include loan information.
This flag also narrows the `relationships` array itself, not just the hydrated `loans`
sub-object: `Loans` relationships are left out, `Accounts` and `Cards` relationships are kept,
and `relationshipPaging` counts just that narrowed set. Sending `noLoan`, `noAccount` and
`noCard` all as `true` leaves no asset type to return, so `relationships` and
`relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noLoan=true`
required: false
schema:
type: string
default: 'false'
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'404':
description: The server can not find the requested resource. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/aggregate-search/entities/semantic-search:
post:
operationId: searchAggregateRelationshipByEntitySemanticSearch
tags:
- Aggregate Relationship Search
description: |
This endpoint allows you to search for entities, their relationships and their accounts in a
single call by free text, which is interpreted by AI to return entity responses.
The asset set on this endpoint is fixed and none of the `noAccount`, `noCard` or `noBalance`
parameters are read. Accounts are always fetched; cards and balances are never fetched, and
no Cards relationship is returned. Sending one of those three names has no effect and is not
an error.
There is no `offset`. This is a top-N relevance endpoint rather than a paginated collection,
so `count` is a ceiling on the entity match set and the returned `paging` describes a single
page: `total` and `results` both equal the number of entities returned and `nextOffset` is
always null. `relationshipOffset` and `relationshipCount` page each matched entity's
relationships, which is the same independent axis the other entity endpoints use.
A query that matched nothing is a successful empty result, not a 404.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- name: count
in: query
required: false
description: |
The count of records requested. The server may limit the number of records returned in a single
response. If the count is not provided, the server will return a default number of records.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?count=`) is accepted and leaves the
default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?count=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
- name: relationshipOffset
in: query
required: false
description: |
When returning relationships, the offset determines the number of relationship records to skip
before returning the result.
Unlike `relationshipCount`, this value is deliberately **not** validated. An offset is an opaque
cursor echoed back from a prior response's `relationshipPaging.nextOffset`, so the server passes
it through rather than requiring it to look like an integer.
example: ?relationshipOffset=50
schema:
type: string
default: '0'
- name: relationshipCount
in: query
required: false
description: |
The count of relationship records requested. The server may limit the number of records returned
in a single response.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?relationshipCount=`) is accepted and
leaves the default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?relationshipCount=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
requestBody:
description: An aggregate search request by free text. semanticSearchText is required.
required: true
content:
application/json:
schema:
type: object
required:
- semanticSearchText
properties:
semanticSearchText:
type: string
description: |
Free text describing the entity being looked for, interpreted by AI to return entity
responses. Unlike `name` this is not matched against name parts.
minLength: 3
maxLength: 1031
nullable: false
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/aggregate-search/relationships:
post:
operationId: searchAggregateRelationshipByRelationshipSearch
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships, entities, accounts, and transactions in a single call by a Relationship Search Request.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- name: noBalance
in: query
description: |
If set to true, the response will not include the balance/transaction information.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noBalance=true`
required: false
schema:
type: string
default: 'false'
requestBody:
description: An aggregate search request by searching for the relationship first. AssetId (Account Id) and Asset Type are required
required: true
content:
application/json:
schema:
type: object
required:
- assetId
- assetType
properties:
assetId:
type: string
description: |
The unique identifier given to the asset, interpreted according to assetType.
When assetType is `Accounts` this is the Account Id, not the account number, and is a uuid.
When assetType is `Cards` this is the card token, which is opaque and is not necessarily a uuid.
nullable: false
assetType:
type: string
description: The Asset Type. The accepted values are Accounts and Cards.
nullable: false
example: Accounts
enum:
- Accounts
- Cards
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'404':
description: The server can not find the requested resource. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/aggregate-search/accounts:
post:
operationId: searchAggregateRelationshipByAccountSearch
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships, entities, accounts, and transactions in a single call by an Account Search Request.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- name: noBalance
in: query
description: |
If set to true, the response will not include the balance/transaction information.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noBalance=true`
required: false
schema:
type: string
default: 'false'
requestBody:
description: An aggregate search request by searching for the Account first. Account Number (Human Readable) and Account Type are required
required: true
content:
application/json:
schema:
type: object
properties:
accountNumber:
type: string
description: The human readable account number.
nullable: true
accountType:
type: string
description: The account type. lower case only
nullable: true
example: checking
enum:
- checking
- savings
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'404':
description: The server can not find the requested resource. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/aggregate-search/accounts/search:
post:
operationId: searchAggregateRelationshipByAccountQuerySearch
tags:
- Aggregate Relationship Search
description: |
This endpoint allows you to search for the entities that own an account, by a full or partial
human readable account number, in a single call. Unlike the `/accounts` endpoint, which takes
an exact account number and account type, this one matches on a partial number and returns
every entity that owns a matching account.
The account search is paged internally and exhaustively, so this endpoint takes no `count`
and no `offset`: a page of accounts does not correspond to a page of entities, because
several matching accounts can resolve to the same owner. Every matching account found is
collapsed into one result set before the owners are resolved.
An entity appears once in the response, carrying every matched account it owns. A caller
that owns several of the matched accounts therefore has more than one element in each of
`relationships`, `accounts` and `balances`, and the response `paging` counts entities rather
than accounts: `total` and `results` both equal the number of entities returned and
`nextOffset` is always null.
Note that both query parameters on this endpoint default to `true`, which is the opposite of
the `noBalance` default everywhere else in this contract. See each parameter for the reason.
A search that matched nothing is a successful empty result, not a 404.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- name: noBalance
in: query
description: |
If set to true, the response will not include the balance/transaction information.
**This parameter defaults to `true` on the account search endpoint**, unlike the `noBalance`
parameter on every other endpoint in this contract, which defaults to `false`. This is a
partial-account-number search whose callers are looking for which entities own a matching
account, so balances are opted into rather than out of: they are fetched only when
`noBalance=false` is sent explicitly.
Only the exact strings `true` and `false` are read; any other value (or its absence) leaves
the default of `true` in place. The parameter *name* is case-sensitive as well: `NoBalance` is
not read, and because this parameter defaults to `true`, a mis-cased opt-out is silently
ignored rather than rejected — the response omits balances and returns a 200.
Example: `.../resource?noBalance=false`
required: false
schema:
type: string
default: 'true'
- name: irsReportable
in: query
description: |
Restricts each matched account to its IRS-reportable owner. **Defaults to `true`**, which is
the owner this endpoint has always reported.
Set to `false` to widen the result to every owner of every matched account. An entity that
owns more than one matched account is returned once, carrying every one of those accounts, so
with the filter off a single entity's `relationships`, `accounts` and `balances` may each hold
more than one element.
Only the exact strings `true` and `false` are read; any other value (or its absence) leaves
the default of `true` in place. The parameter *name* is case-sensitive as well: `IrsReportable`
is not read, and because this parameter defaults to `true`, a mis-cased opt-out is silently
ignored rather than rejected — the result stays narrowed to the IRS-reportable owner and
returns a 200.
Example: `.../resource?irsReportable=false`
required: false
schema:
type: string
default: 'true'
requestBody:
description: An aggregate search request by a full or partial account number. accountNumber is required; productId is an optional filter.
required: true
content:
application/json:
schema:
type: object
required:
- accountNumber
properties:
accountNumber:
type: string
description: |
A full or partial human readable account number to search for. The bounds are the Account
service's own bounds on the same field: a value outside 4 to 16 characters, or containing
anything other than letters, digits, hyphens or underscores, is rejected with a 400.
This is a distinct property from `accountNumber`, which is unbounded and is used by the
exact-match account endpoint.
minLength: 4
maxLength: 16
pattern: ^[A-Za-z0-9_-]{4,16}$
example: '1234567890'
nullable: false
productId:
type: string
description: |
An optional product identifier to narrow the account search. Omitted, null and the empty
string are equivalent and all mean "no product filter".
maxLength: 64
nullable: true
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/aggregate-search/accounts/list:
post:
operationId: searchAggregateRelationshipByAccountListSearch
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships and entities by Multiple Account id in a single call by an Account Search Request. All returned entities are IRSReportable Entities
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
requestBody:
description: A list of accountIds
required: true
content:
application/json:
schema:
type: object
properties:
accountIds:
type: array
description: An array of strings
items:
type: string
format: uuid
description: AccountId
nullable: false
nullable: false
responses:
'200':
description: Successful Search, IRS reportable entities, relationships, and balance
content:
application/json:
schema:
type: object
properties:
accountsResponse:
type: array
items:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'207':
description: Partial Success of finding accounts. Accounts not found will read with an empty Entity and no relationships, with the accountNumber Account Not Found. Other accounts that are found will have the schema as 200 OK
content:
application/json:
schema:
type: object
properties:
accountsResponse:
type: array
items:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/aggregate-search/cards/list:
post:
operationId: AggregateSearchByCardList
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships and entities by Multiple Card ids in a single call by an Card Search Request.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
requestBody:
description: A list of card ids
required: true
content:
application/json:
schema:
type: object
properties:
cardIds:
type: array
description: An array of strings
items:
type: string
description: The unique token given to a card.
nullable: false
nullable: false
responses:
'200':
description: Successful Search, entities, relationships, and cards
content:
application/json:
schema:
type: object
properties:
cardsResponse:
type: array
items:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'207':
description: Partial Success of finding cards. Cards not found will read with an empty Entity and no relationships, with the MaskCard Not Found. Other cards that are found will have the schema as 200 OK
content:
application/json:
schema:
type: object
properties:
cardsResponse:
type: array
items:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/aggregate-search/loans/{loanId}:
get:
operationId: getAggregateRelationshipByLoan
tags:
- Aggregate Relationship Search
description: |
This endpoint allows you to search for the entities that own a loan, by the loan's
`loanAccountId`, in a single call. Each entity carries the loan under `loans`. No accounts,
balances or cards are fetched.
A loan that nothing relates to, and a loan the lending service does not know, are both a
successful result rather than a 404: the first returns no entities, and the second returns the
entities that relationships name, without `loans`.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- name: loanId
in: path
description: The unique identifier of the loan account (`loanAccountId`).
required: true
schema:
type: string
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/aggregate-search/loans/search:
post:
operationId: searchAggregateRelationshipByLoanSearch
tags:
- Aggregate Relationship Search
description: |
This endpoint allows you to search for loans by account number, account status and account
type, and returns the entities that own the matched loans. An entity appears once in the
response, carrying only the matched loans it owns under `loans`. No accounts, balances or
cards are fetched.
At least one of `accountNumber`, `accountStatus` and `accountType` is required; a request with
none is answered with a 400.
The caller pages loans rather than entities. `count` and `offset` are passed to the lending
service and the response `paging` is the one it returned, so `paging.results` counts the loans
on the page and not the entities in `entities`. `nextOffset` is an opaque cursor to be echoed
back as `offset`.
A search that matched nothing is a successful empty result, not a 404.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- name: offset
in: query
required: false
description: |
When returning a list of results, the offset determines the number of records to skip before
returning the result. If the offset is not provided, the server will return the first set of
records.
Unlike `count`, this value is deliberately **not** validated. An offset is an opaque cursor
echoed back from a prior response's `paging.nextOffset`, so the server passes it through rather
than requiring it to look like an integer.
example: ?offset=50
schema:
type: string
default: '0'
- name: count
in: query
required: false
description: |
The count of records requested. The server may limit the number of records returned in a single
response. If the count is not provided, the server will return a default number of records.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?count=`) is accepted and leaves the
default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?count=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
requestBody:
description: A loan search request. At least one of accountNumber, accountStatus or accountType is required.
required: true
content:
application/json:
schema:
type: object
description: |
The filter of a loan search. Every field is optional in this contract, but the lending service
requires at least one of them and answers a request carrying none with a 400.
properties:
accountNumber:
type: string
description: |
The loan account number to search for. A value of four characters is matched on the last four
digits of the account number; a longer value is matched exactly.
maxLength: 34
accountStatus:
type: string
description: The loan account status to search for.
maxLength: 32
accountType:
type: string
description: The loan account type to search for.
maxLength: 32
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/enterprise/{EnterpriseUserId}/aggregate-search/entities:
post:
operationId: searchAggregateRelationshipByEntitySearch1
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships, entities, accounts, and transactions in a single call by an Entity Search Request.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- in: path
name: EnterpriseUserId
required: true
schema:
type: string
format: uuid
description: The ID of the enterprise user.
- name: offset
in: query
required: false
description: |
When returning a list of results, the offset determines the number of records to skip before
returning the result. If the offset is not provided, the server will return the first set of
records.
Unlike `count`, this value is deliberately **not** validated. An offset is an opaque cursor
echoed back from a prior response's `paging.nextOffset`, so the server passes it through rather
than requiring it to look like an integer.
example: ?offset=50
schema:
type: string
default: '0'
- name: count
in: query
required: false
description: |
The count of records requested. The server may limit the number of records returned in a single
response. If the count is not provided, the server will return a default number of records.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?count=`) is accepted and leaves the
default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?count=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
- name: relationshipOffset
in: query
required: false
description: |
When returning relationships, the offset determines the number of relationship records to skip
before returning the result.
Unlike `relationshipCount`, this value is deliberately **not** validated. An offset is an opaque
cursor echoed back from a prior response's `relationshipPaging.nextOffset`, so the server passes
it through rather than requiring it to look like an integer.
example: ?relationshipOffset=50
schema:
type: string
default: '0'
- name: relationshipCount
in: query
required: false
description: |
The count of relationship records requested. The server may limit the number of records returned
in a single response.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?relationshipCount=`) is accepted and
leaves the default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?relationshipCount=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
- name: noBalance
in: query
description: |
If set to true, the response will not include the balance/transaction information.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noBalance=true`
required: false
schema:
type: string
default: 'false'
- name: noAccount
in: query
description: |
If set to true, the response will not include account information. Because balances depend on
accounts, balance/transaction information is also excluded regardless of the noBalance value.
This flag also narrows the `relationships` array itself, not just the hydrated `accounts`
sub-object: `Accounts` relationships are left out, `Cards` and `Loans` relationships are kept,
and `relationshipPaging` counts just that narrowed set. Sending `noAccount`, `noCard` and
`noLoan` all as `true` leaves no asset type to return, so `relationships` and
`relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noAccount=true`
required: false
schema:
type: string
default: 'false'
- name: noCard
in: query
description: |
If set to true, the response will not include card information.
This flag also narrows the `relationships` array itself, not just the hydrated `cards`
sub-object: `Cards` relationships are left out, `Accounts` and `Loans` relationships are kept,
and `relationshipPaging` counts just that narrowed set. This is what keeps the card token out
of the response, since a `Cards` relationship carries that token in its `assetId`. Sending
`noCard`, `noAccount` and `noLoan` all as `true` leaves no asset type to return, so
`relationships` and `relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noCard=true`
required: false
schema:
type: string
default: 'false'
- name: noLoan
in: query
description: |
If set to true, the response will not include loan information.
This flag also narrows the `relationships` array itself, not just the hydrated `loans`
sub-object: `Loans` relationships are left out, `Accounts` and `Cards` relationships are kept,
and `relationshipPaging` counts just that narrowed set. Sending `noLoan`, `noAccount` and
`noCard` all as `true` leaves no asset type to return, so `relationships` and
`relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noLoan=true`
required: false
schema:
type: string
default: 'false'
requestBody:
description: An aggregate search request by searching for the entity first. Name or TaxIdNumber is required
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: any part of a name, (first name, last name, preferred name). You can put spaces between names to denote another part of a name
minLength: 3
maxLength: 255
taxIdNumber:
type: string
description: The tax id number or ssn of the entity
nullable: true
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'404':
description: The server can not find the requested resource. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/enterprise/{EnterpriseUserId}/aggregate-search/entities/{entityId}:
get:
operationId: getAggregateRelationship1
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships, entities, accounts, and transactions in a single call by an EntityId.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- in: path
name: EnterpriseUserId
required: true
schema:
type: string
format: uuid
description: The ID of the enterprise user.
- name: entityId
in: path
description: A unique identifier of the Entity
required: true
schema:
type: string
format: uuid
- name: relationshipOffset
in: query
required: false
description: |
When returning relationships, the offset determines the number of relationship records to skip
before returning the result.
Unlike `relationshipCount`, this value is deliberately **not** validated. An offset is an opaque
cursor echoed back from a prior response's `relationshipPaging.nextOffset`, so the server passes
it through rather than requiring it to look like an integer.
example: ?relationshipOffset=50
schema:
type: string
default: '0'
- name: relationshipCount
in: query
required: false
description: |
The count of relationship records requested. The server may limit the number of records returned
in a single response.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?relationshipCount=`) is accepted and
leaves the default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?relationshipCount=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
- name: noBalance
in: query
description: |
If set to true, the response will not include the balance/transaction information.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noBalance=true`
required: false
schema:
type: string
default: 'false'
- name: noAccount
in: query
description: |
If set to true, the response will not include account information. Because balances depend on
accounts, balance/transaction information is also excluded regardless of the noBalance value.
This flag also narrows the `relationships` array itself, not just the hydrated `accounts`
sub-object: `Accounts` relationships are left out, `Cards` and `Loans` relationships are kept,
and `relationshipPaging` counts just that narrowed set. Sending `noAccount`, `noCard` and
`noLoan` all as `true` leaves no asset type to return, so `relationships` and
`relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noAccount=true`
required: false
schema:
type: string
default: 'false'
- name: noCard
in: query
description: |
If set to true, the response will not include card information.
This flag also narrows the `relationships` array itself, not just the hydrated `cards`
sub-object: `Cards` relationships are left out, `Accounts` and `Loans` relationships are kept,
and `relationshipPaging` counts just that narrowed set. This is what keeps the card token out
of the response, since a `Cards` relationship carries that token in its `assetId`. Sending
`noCard`, `noAccount` and `noLoan` all as `true` leaves no asset type to return, so
`relationships` and `relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noCard=true`
required: false
schema:
type: string
default: 'false'
- name: noLoan
in: query
description: |
If set to true, the response will not include loan information.
This flag also narrows the `relationships` array itself, not just the hydrated `loans`
sub-object: `Loans` relationships are left out, `Accounts` and `Cards` relationships are kept,
and `relationshipPaging` counts just that narrowed set. Sending `noLoan`, `noAccount` and
`noCard` all as `true` leaves no asset type to return, so `relationships` and
`relationshipPaging` are both omitted from each entity.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noLoan=true`
required: false
schema:
type: string
default: 'false'
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'404':
description: The server can not find the requested resource. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/enterprise/{EnterpriseUserId}/aggregate-search/entities/semantic-search:
post:
operationId: searchAggregateRelationshipByEntitySemanticSearchForEnterpriseUser
tags:
- Aggregate Relationship Search
description: |
This endpoint allows you to search for entities, their relationships and their accounts in a
single call by free text, which is interpreted by AI to return entity responses.
The asset set on this endpoint is fixed and none of the `noAccount`, `noCard` or `noBalance`
parameters are read. Accounts are always fetched; cards and balances are never fetched, and
no Cards relationship is returned. Sending one of those three names has no effect and is not
an error.
There is no `offset`. This is a top-N relevance endpoint rather than a paginated collection,
so `count` is a ceiling on the entity match set and the returned `paging` describes a single
page: `total` and `results` both equal the number of entities returned and `nextOffset` is
always null. `relationshipOffset` and `relationshipCount` page each matched entity's
relationships, which is the same independent axis the other entity endpoints use.
A query that matched nothing is a successful empty result, not a 404.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- in: path
name: EnterpriseUserId
required: true
schema:
type: string
format: uuid
description: The ID of the enterprise user.
- name: count
in: query
required: false
description: |
The count of records requested. The server may limit the number of records returned in a single
response. If the count is not provided, the server will return a default number of records.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?count=`) is accepted and leaves the
default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?count=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
- name: relationshipOffset
in: query
required: false
description: |
When returning relationships, the offset determines the number of relationship records to skip
before returning the result.
Unlike `relationshipCount`, this value is deliberately **not** validated. An offset is an opaque
cursor echoed back from a prior response's `relationshipPaging.nextOffset`, so the server passes
it through rather than requiring it to look like an integer.
example: ?relationshipOffset=50
schema:
type: string
default: '0'
- name: relationshipCount
in: query
required: false
description: |
The count of relationship records requested. The server may limit the number of records returned
in a single response.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?relationshipCount=`) is accepted and
leaves the default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?relationshipCount=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
requestBody:
description: An aggregate search request by free text. semanticSearchText is required.
required: true
content:
application/json:
schema:
type: object
required:
- semanticSearchText
properties:
semanticSearchText:
type: string
description: |
Free text describing the entity being looked for, interpreted by AI to return entity
responses. Unlike `name` this is not matched against name parts.
minLength: 3
maxLength: 1031
nullable: false
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/enterprise/{EnterpriseUserId}/aggregate-search/relationships:
post:
operationId: searchAggregateRelationshipByRelationshipSearch1
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships, entities, accounts, and transactions in a single call by a Relationship Search Request.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- in: path
name: EnterpriseUserId
required: true
schema:
type: string
format: uuid
description: The ID of the enterprise user.
- name: noBalance
in: query
description: |
If set to true, the response will not include the balance/transaction information.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noBalance=true`
required: false
schema:
type: string
default: 'false'
requestBody:
description: An aggregate search request by searching for the relationship first. AssetId (Account Id) and Asset Type are required
required: true
content:
application/json:
schema:
type: object
required:
- assetId
- assetType
properties:
assetId:
type: string
description: |
The unique identifier given to the asset, interpreted according to assetType.
When assetType is `Accounts` this is the Account Id, not the account number, and is a uuid.
When assetType is `Cards` this is the card token, which is opaque and is not necessarily a uuid.
nullable: false
assetType:
type: string
description: The Asset Type. The accepted values are Accounts and Cards.
nullable: false
example: Accounts
enum:
- Accounts
- Cards
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'404':
description: The server can not find the requested resource. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/enterprise/{EnterpriseUserId}/aggregate-search/accounts:
post:
operationId: searchAggregateRelationshipByAccountSearch1
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships, entities, accounts, and transactions in a single call by an Account Search Request.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- in: path
name: EnterpriseUserId
required: true
schema:
type: string
format: uuid
description: The ID of the enterprise user.
- name: noBalance
in: query
description: |
If set to true, the response will not include the balance/transaction information.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as false.
Example: `.../resource?noBalance=true`
required: false
schema:
type: string
default: 'false'
requestBody:
description: An aggregate search request by searching for the Account first. Account Number (Human Readable) and Account Type are required
required: true
content:
application/json:
schema:
type: object
properties:
accountNumber:
type: string
description: The human readable account number.
nullable: true
accountType:
type: string
description: The account type. lower case only
nullable: true
example: checking
enum:
- checking
- savings
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'404':
description: The server can not find the requested resource. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/enterprise/{EnterpriseUserId}/aggregate-search/accounts/search:
post:
operationId: searchAggregateRelationshipByAccountQuerySearchForEnterpriseUser
tags:
- Aggregate Relationship Search
description: |
This endpoint allows you to search for the entities that own an account, by a full or partial
human readable account number, in a single call. Unlike the `/accounts` endpoint, which takes
an exact account number and account type, this one matches on a partial number and returns
every entity that owns a matching account.
The account search is paged internally and exhaustively, so this endpoint takes no `count`
and no `offset`: a page of accounts does not correspond to a page of entities, because
several matching accounts can resolve to the same owner. Every matching account found is
collapsed into one result set before the owners are resolved.
An entity appears once in the response, carrying every matched account it owns. A caller
that owns several of the matched accounts therefore has more than one element in each of
`relationships`, `accounts` and `balances`, and the response `paging` counts entities rather
than accounts: `total` and `results` both equal the number of entities returned and
`nextOffset` is always null.
Note that both query parameters on this endpoint default to `true`, which is the opposite of
the `noBalance` default everywhere else in this contract. See each parameter for the reason.
A search that matched nothing is a successful empty result, not a 404.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- in: path
name: EnterpriseUserId
required: true
schema:
type: string
format: uuid
description: The ID of the enterprise user.
- name: noBalance
in: query
description: |
If set to true, the response will not include the balance/transaction information.
**This parameter defaults to `true` on the account search endpoint**, unlike the `noBalance`
parameter on every other endpoint in this contract, which defaults to `false`. This is a
partial-account-number search whose callers are looking for which entities own a matching
account, so balances are opted into rather than out of: they are fetched only when
`noBalance=false` is sent explicitly.
Only the exact strings `true` and `false` are read; any other value (or its absence) leaves
the default of `true` in place. The parameter *name* is case-sensitive as well: `NoBalance` is
not read, and because this parameter defaults to `true`, a mis-cased opt-out is silently
ignored rather than rejected — the response omits balances and returns a 200.
Example: `.../resource?noBalance=false`
required: false
schema:
type: string
default: 'true'
- name: irsReportable
in: query
description: |
Restricts each matched account to its IRS-reportable owner. **Defaults to `true`**, which is
the owner this endpoint has always reported.
Set to `false` to widen the result to every owner of every matched account. An entity that
owns more than one matched account is returned once, carrying every one of those accounts, so
with the filter off a single entity's `relationships`, `accounts` and `balances` may each hold
more than one element.
Only the exact strings `true` and `false` are read; any other value (or its absence) leaves
the default of `true` in place. The parameter *name* is case-sensitive as well: `IrsReportable`
is not read, and because this parameter defaults to `true`, a mis-cased opt-out is silently
ignored rather than rejected — the result stays narrowed to the IRS-reportable owner and
returns a 200.
Example: `.../resource?irsReportable=false`
required: false
schema:
type: string
default: 'true'
requestBody:
description: An aggregate search request by a full or partial account number. accountNumber is required; productId is an optional filter.
required: true
content:
application/json:
schema:
type: object
required:
- accountNumber
properties:
accountNumber:
type: string
description: |
A full or partial human readable account number to search for. The bounds are the Account
service's own bounds on the same field: a value outside 4 to 16 characters, or containing
anything other than letters, digits, hyphens or underscores, is rejected with a 400.
This is a distinct property from `accountNumber`, which is unbounded and is used by the
exact-match account endpoint.
minLength: 4
maxLength: 16
pattern: ^[A-Za-z0-9_-]{4,16}$
example: '1234567890'
nullable: false
productId:
type: string
description: |
An optional product identifier to narrow the account search. Omitted, null and the empty
string are equivalent and all mean "no product filter".
maxLength: 64
nullable: true
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/enterprise/{EnterpriseUserId}/aggregate-search/accounts/list:
post:
operationId: searchAggregateRelationshipByAccountListSearch1
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships and entities by Multiple Account id in a single call by an Account Search Request. All returned entities are IRSReportable Entities
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- in: path
name: EnterpriseUserId
required: true
schema:
type: string
format: uuid
description: The ID of the enterprise user.
requestBody:
description: A list of accountIds
required: true
content:
application/json:
schema:
type: object
properties:
accountIds:
type: array
description: An array of strings
items:
type: string
format: uuid
description: AccountId
nullable: false
nullable: false
responses:
'200':
description: Successful Search, IRS reportable entities, relationships, and balance
content:
application/json:
schema:
type: object
properties:
accountsResponse:
type: array
items:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'207':
description: Partial Success of finding accounts. Accounts not found will read with an empty Entity and no relationships, with the accountNumber Account Not Found. Other accounts that are found will have the schema as 200 OK
content:
application/json:
schema:
type: object
properties:
accountsResponse:
type: array
items:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/enterprise/{EnterpriseUserId}/aggregate-search/accounts/lookup:
post:
operationId: searchAggregateRelationshipByAccountLookupForEnterpriseUser
tags:
- Aggregate Relationship Search
description: |
This endpoint allows you to find the entities that own an asset by a full or partial human
readable account number, in a single call. The number is searched across bank accounts and
loans. Cards are never searched: a card is identified by a token rather than by the number a
caller holds, so cards are returned only as part of the full aggregation of an owner.
The owners of the matched assets are returned, whether or not the owner is IRS reportable,
subject to the search bounds described below. An entity appears once in the response,
carrying every matched asset it owns, so `accounts`, `loans` and `relationships` may each
hold more than one element. The response `paging` counts
entities rather than assets: `total` and `results` both equal the number of entities returned
and `nextOffset` is always null. This endpoint takes no `count` and no `offset`.
The search is bounded, so the result is not guaranteed to be complete. At most 50 bank
accounts and at most 50 loans are matched: the first 50 distinct accounts and the first 50
distinct loans, in the order the account and lending services return them, which this
endpoint does not control. Owners are found with a single relationship search of fixed size.
Beyond any of these bounds, assets and owners are omitted without any indication: `total` and
`nextOffset` do not reveal an omission. A short or common number is the most likely to reach a
bound, so if the result looks incomplete, search again with a longer, more specific account
number.
Set `noOtherAccounts=true` to return only the matched assets, or leave it unset to also
aggregate everything else each returned entity owns. Balances are never returned.
A search that matched nothing is a successful empty result, not a 404. This endpoint is not
offered on the institution route.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- in: path
name: EnterpriseUserId
required: true
schema:
type: string
format: uuid
description: The ID of the enterprise user.
- name: noOtherAccounts
in: query
description: |
If set to true, each returned entity carries only the assets the lookup matched: the matched
accounts under `accounts`, the matched loans under `loans`, and the relationships that name
them. No other account, loan or card the entity owns is fetched.
Left unset or set to `false`, every returned entity is also aggregated in full: all of its
accounts, cards and loans and all of its relationships are returned, with the matched assets
among them. Balances are never returned by this endpoint either way.
Only the exact string `true` enables this flag; any other value (or its absence) is treated as
false. The parameter *name* is case-sensitive: `NoOtherAccounts` is not read, and the full
aggregation is returned with a 200.
Example: `.../resource?noOtherAccounts=true`
required: false
schema:
type: string
default: 'false'
requestBody:
description: An account lookup request. accountNumber is required and is four to sixteen characters.
required: true
content:
application/json:
schema:
type: object
required:
- accountNumber
properties:
accountNumber:
type: string
description: |
A full or partial human readable account number to find. It is searched across bank accounts
and loans, never cards. The bounds are those of the Account service's own search on the same
field: a value outside 4 to 16 characters, or containing anything other than letters, digits,
hyphens or underscores, is rejected with a 400. How a number is matched is decided by the
service that owns the asset, so a loan is matched by the lending service's own rules.
minLength: 4
maxLength: 16
pattern: ^[A-Za-z0-9_-]{4,16}$
example: '5692'
nullable: false
responses:
'200':
description: Successful Lookup
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/enterprise/{EnterpriseUserId}/aggregate-search/cards/list:
post:
operationId: AggregateSearchByCardList1
tags:
- Aggregate Relationship Search
description: This endpoint allows you to search for relationships and entities by Multiple Card ids in a single call by an Card Search Request.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- in: path
name: EnterpriseUserId
required: true
schema:
type: string
format: uuid
description: The ID of the enterprise user.
requestBody:
description: A list of card ids
required: true
content:
application/json:
schema:
type: object
properties:
cardIds:
type: array
description: An array of strings
items:
type: string
description: The unique token given to a card.
nullable: false
nullable: false
responses:
'200':
description: Successful Search, entities, relationships, and cards
content:
application/json:
schema:
type: object
properties:
cardsResponse:
type: array
items:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'207':
description: Partial Success of finding cards. Cards not found will read with an empty Entity and no relationships, with the MaskCard Not Found. Other cards that are found will have the schema as 200 OK
content:
application/json:
schema:
type: object
properties:
cardsResponse:
type: array
items:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/enterprise/{EnterpriseUserId}/aggregate-search/loans/{loanId}:
get:
operationId: getAggregateRelationshipByLoanForEnterpriseUser
tags:
- Aggregate Relationship Search
description: |
This endpoint allows you to search for the entities that own a loan, by the loan's
`loanAccountId`, in a single call. Each entity carries the loan under `loans`. No accounts,
balances or cards are fetched.
A loan that nothing relates to, and a loan the lending service does not know, are both a
successful result rather than a 404: the first returns no entities, and the second returns the
entities that relationships name, without `loans`.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- in: path
name: EnterpriseUserId
required: true
schema:
type: string
format: uuid
description: The ID of the enterprise user.
- name: loanId
in: path
description: The unique identifier of the loan account (`loanAccountId`).
required: true
schema:
type: string
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
/a/api/entity-svcs/v1/{InstitutionUniversalId}/enterprise/{EnterpriseUserId}/aggregate-search/loans/search:
post:
operationId: searchAggregateRelationshipByLoanSearchForEnterpriseUser
tags:
- Aggregate Relationship Search
description: |
This endpoint allows you to search for loans by account number, account status and account
type, and returns the entities that own the matched loans. An entity appears once in the
response, carrying only the matched loans it owns under `loans`. No accounts, balances or
cards are fetched.
At least one of `accountNumber`, `accountStatus` and `accountType` is required; a request with
none is answered with a 400.
The caller pages loans rather than entities. `count` and `offset` are passed to the lending
service and the response `paging` is the one it returned, so `paging.results` counts the loans
on the page and not the entities in `entities`. `nextOffset` is an opaque cursor to be echoed
back as `offset`.
A search that matched nothing is a successful empty result, not a 404.
parameters:
- name: InstitutionUniversalId
in: path
description: A unique identifier to establish the identity of an Institution/Environment/Brand combination
required: true
schema:
type: string
- in: path
name: EnterpriseUserId
required: true
schema:
type: string
format: uuid
description: The ID of the enterprise user.
- name: offset
in: query
required: false
description: |
When returning a list of results, the offset determines the number of records to skip before
returning the result. If the offset is not provided, the server will return the first set of
records.
Unlike `count`, this value is deliberately **not** validated. An offset is an opaque cursor
echoed back from a prior response's `paging.nextOffset`, so the server passes it through rather
than requiring it to look like an integer.
example: ?offset=50
schema:
type: string
default: '0'
- name: count
in: query
required: false
description: |
The count of records requested. The server may limit the number of records returned in a single
response. If the count is not provided, the server will return a default number of records.
The value must be a non-negative integer no greater than `4294967295`. Anything else is
rejected with a 400 naming the parameter. An empty value (`?count=`) is accepted and leaves the
default in place.
The schema below bounds what it can express — digits only, at most ten of them. The
`4294967295` ceiling itself is enforced by the server, so a ten-digit value above it satisfies
the schema and is still answered with a 400.
example: ?count=25
schema:
type: string
default: '25'
pattern: ^[0-9]*$
maxLength: 10
requestBody:
description: A loan search request. At least one of accountNumber, accountStatus or accountType is required.
required: true
content:
application/json:
schema:
type: object
description: |
The filter of a loan search. Every field is optional in this contract, but the lending service
requires at least one of them and answers a request carrying none with a 400.
properties:
accountNumber:
type: string
description: |
The loan account number to search for. A value of four characters is matched on the last four
digits of the account number; a longer value is matched exactly.
maxLength: 34
accountStatus:
type: string
description: The loan account status to search for.
maxLength: 32
accountType:
type: string
description: The loan account type to search for.
maxLength: 32
responses:
'200':
description: Successful Search
content:
application/json:
schema:
type: object
properties:
entities:
type: array
items:
type: object
required:
- firstName
- lastName
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
entitySubtype:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
- entityTypesApplicable
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
entityTypesApplicable:
type: array
description: |
An array of Entity Types that this resource is applicable to.
See Entity Types resource for valid values.
The values of the property array items must be unique.
nullable: false
items:
type: string
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
taxIdNumber:
type: string
description: |
Identifies the Tax Id Number for the Entity.
Must only consist of 9 numeric characters for the following TaxIdTypes:
* `SocialSecurityNumber`
* `IndividualTaxpayerIdentificationNumber`
* `EmployerIdentificationNumber`
All other TaxIdTypes will not be validated.
nullable: true
title:
type: string
description: This attribute defines the title that should precede the name of the entity. For example, MR, MS, or DR.
nullable: true
maxLength: 31
firstName:
type: string
description: |
This attribute defines the first name associated with the entity.
Validation is based on Entity Type:
* `Individual` - A value is required.
* `Nonindividual` - Not applicable. Value must be null.
nullable: true
maxLength: 255
middleName:
type: string
description: "This attribute specifies the middle name of the entity. \nNot applicable for `Nonindividual` entity types and the value must be null.\n"
nullable: true
maxLength: 255
lastName:
type: string
description: "Defines the last name of the entity. \nFor Nonindividual types, it serves as the entityName. \nRequired for all entity types.\n"
nullable: false
maxLength: 255
preferredName:
type: string
description: This attribute defines the preferred name associated with the entity.
nullable: true
maxLength: 255
lastContactDate:
type: string
format: date-time
description: |
The timestamp of when the entity was last contacted.
Must be current date or a past date.
nullable: true
vipEntity:
type: boolean
description: This attribute represents the entity's VIP status.
nullable: true
default: false
startDate:
type: string
format: date
description: |
This attribute defines either the birth date of Individual or the start date of Nonindividual.
Must be a current date or past date.
nullable: true
insiderRole:
allOf:
- type: object
properties:
id:
type: string
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
preferredDigitalContactPointId:
type: string
description: |
The Id of the preferred digital contact point for the entity.
The value must reference an existing Digital Contact Point for the Entity.
nullable: true
format: uuid
preferredContactVoiceId:
type: string
description: |
The Id of the preferred phone number for voice calls.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactTextId:
type: string
description: |
The Id of the preferred phone number for text messages.
The value must reference an existing Phone Number for the Entity.
nullable: true
format: uuid
preferredContactEmailId:
type: string
description: |
The Id of the preferred contact method for emails.
The value must reference an existing Digital Contact Point of Type 'Email' for the Entity.
nullable: true
format: uuid
mailingAddressId:
type: string
description: The Id of the mailing address.
nullable: true
format: uuid
phoneNumbers:
type: array
description: An array of phone numbers for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- phoneNumber
- label
properties:
phoneNumber:
type: string
description: The unformatted numeric only phone number.
nullable: false
minLength: 10
maxLength: 12
extension:
type: string
description: The internal phone extension designation for a multi-line phone number.
nullable: true
maxLength: 10
countryCallingCode:
type: string
description: International country code with omitted prefix.
nullable: true
label:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
properties:
name:
type: string
description: The full name of the Phone Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
digitalContactPoints:
type: array
description: An array of digital contact points for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
details:
type: object
required:
- identifier
- type
- label
properties:
identifier:
type: string
description: The contact point identifier.
nullable: false
maxLength: 2048
type:
type: string
description: This attribute defines the Digital Contact Point Type.
nullable: false
enum:
- Email
- Website
- Twitter
- Facebook
label:
required:
- id
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
- type: object
required:
- name
properties:
name:
type: string
description: The full name of the Digital Contact Point Label.
maxLength: 255
nullable: false
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
addresses:
type: array
description: An array of addresses for the Entity.
nullable: true
items:
type: object
required:
- details
properties:
id:
type: string
format: uuid
description: The unique identifier of the resource.
readOnly: true
details:
type: object
required:
- lines
- postalCode
properties:
lines:
type: array
description: The individual lines of the address. Must have at least one element.
items:
type: string
nullable: false
maxLength: 255
city:
type: string
description: The city in which the address is located.
nullable: true
maxLength: 255
region:
type: string
description: |
The region or state in which the address is located.
Must use the unique ISO Alpha two character state (region) code for US addresses.
If the Country is not US, this can be any value.
nullable: true
maxLength: 255
postalCode:
type: string
description: |
The postal code for the address.
nullable: false
maxLength: 11
county:
type: string
description: "The county for the address. \nValid for US addresses only. \nIf the region is provided, this value must match the state (region) as per the FIPS code.\n"
nullable: true
maxLength: 255
country:
type: string
description: The unique ISO Alpha two character code for the Country.
nullable: true
maxLength: 255
geoCoordinates:
nullable: true
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
description: The number of degrees north (positive) or south (negative) from the equator.
nullable: false
minimum: -90
maximum: 90
longitude:
type: number
description: The number of degrees east (positive) or west (negative) from the prime meridian.
nullable: false
minimum: -180
maximum: 180
timeZone:
type: string
format: IANA_STD_abbreviation
description: The time zone in which the address is located.
nullable: true
maxLength: 5
description:
type: string
description: A short identifying description for the resource.
nullable: true
maxLength: 255
seasonalStartDate:
type: string
format: date
description: This attribute defines the start date for Seasonal Addresses.
nullable: true
seasonalEndDate:
type: string
format: date
description: This attribute defines the end date for Seasonal Addresses.
addressLabel:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the unique identifier of the referenced resource.
nullable: false
- type: object
required:
- name
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isForeign:
type: boolean
description: Indicates the address is in a foreign country.
nullable: true
default: false
censusTract:
type: object
properties:
stateCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the State in which the Address is located.
Must be a two digit numeric string.
minLength: 2
maxLength: 2
countyCode:
type: string
format: numeric only
description: |
This attribute defines the FIPS Code for the County in which the Address is located.
Must be a two digit numeric string.
minLength: 3
maxLength: 3
tractCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Census Tract in which the Address is located.
Must be a two digit numeric string.
minLength: 6
maxLength: 6
msaCode:
type: string
format: numeric only
description: |
This attribute defines the Code for the Metropolitan Statistical Area (MSA) in which the Address is located.
Must be a two digit numeric string.
minLength: 5
maxLength: 5
craLocation:
type: boolean
description: This attribute indicates if the Address is located in a qualifying Community Reinvestment Act (CRA) area.
default: false
optOut:
type: boolean
description: Opting out of marketing and advertising communications for this point of contact.
nullable: true
default: false
relationships:
type: array
items:
type: object
required:
- id
- entityId
- assetId
- assetType
- relationshipType
properties:
id:
type: string
format: uuid
description: The unique identifier for relationship.
readOnly: true
entityId:
type: string
format: uuid
description: |
The unique identifier given to an entity.
This value must be an existing entity identifier.
nullable: false
assetId:
type: string
description: The unique identifier given to an asset. This value must be an existing asset identifier in the service defined by assetType.
nullable: false
assetType:
type: string
description: |
Describes the domain of the asset. Identifier mapping for asset id based on asset type:
* `Accounts` - accountId
* `Cards` - cardId
* `Loans` - loanId
nullable: true
enum:
- Accounts
- Cards
- Loans
relationshipType:
allOf:
- type: object
properties:
id:
type: string
format: uuid
description: This attribute defines the relationship type Id associated to entity's account.
nullable: false
- type: object
required:
- name
- liability
- fdxReference
properties:
name:
type: string
description: Describes the name of this resource.
nullable: false
maxLength: 255
liability:
type: string
description: "This describes the types of liability. \nThe various liabilities are No, Indirect, and Direct.\n"
nullable: false
enum:
- 'No'
- Indirect
- Direct
fdxReference:
type: string
description: |
This describes the reference to the FDX AccountHolderRelationship Specification.
nullable: false
enum:
- NOT_APPLICABLE
- AUTHORIZED_USER
- BUSINESS
- FOR_BENEFIT_OF
- FOR_BENEFIT_OF_PRIMARY
- FOR_BENEFIT_OF_PRIMARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SECONDARY
- FOR_BENEFIT_OF_SECONDARY_JOINT_RESTRICTED
- FOR_BENEFIT_OF_SOLE_OWNER_RESTRICTED
- POWER_OF_ATTORNEY
- PRIMARY
- PRIMARY_BORROWER
- PRIMARY_JOINT
- PRIMARY_JOINT_TENANTS
- SECONDARY
- SECONDARY_BORROWER
- SECONDARY_JOINT
- SECONDARY_JOINT_TENANTS
- SOLE_OWNER
- TRUSTEE
- UNIFORM_TRANSFER_TO_MINOR
isInactive:
type: boolean
description: Describes the status of this resource.
nullable: false
default: false
isIrsReportable:
type: boolean
description: Indicates if the Relationship Type is IRS Reportable.
nullable: true
isOwner:
type: boolean
description: Indicates ownership to an asset. Default is true when no relationship exists for the assetId.
nullable: true
default: false
isIrsReportableEntity:
type: boolean
description: |
Indicate if the entity's TIN is going to be used for IRS reporting. Required when assetType is one of the IRS reportable types, `Accounts` or `Loans`. Ignored and returned as null when assetType is `Cards`. Must be true on the first relationship created for an assetId, and only one relationship per assetId may be true at a time.
nullable: true
accountPreferredName:
type: string
description: Preferred Name describing the account.
nullable: true
maxLength: 255
createdDate:
type: string
format: date-time
description: The timestamp of when the resource was created.
readOnly: true
accounts:
type: array
items:
type: object
required:
- id
- accountNumber
- accountType
- accountStatus
- productId
properties:
id:
type: string
format: uuid
description: This attribute defines the unique account identifier.
nullable: false
accountNumber:
type: string
description: This attribute defines the account number assigned to an account.
minLength: 6
maxLength: 34
nullable: false
accountType:
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountTypeDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
accountStatus:
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
accountStatusDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
productId:
type: string
format: uuid
description: 'This attribute defines the productId of a product assigned to an account. Attributes that can be defined are: cycle day, OD/NSF charges, fees, dormant days, accrual methods if interest is paid, etc.'
nullable: false
cycleDay:
type: integer
description: This attribute defines the day of the month when all account activity will be cycled to assess services charges, pay interest (if applicable), and generate an account statement.
nullable: false
format: int32
minimum: 1
maximum: 31
openedDate:
type: string
format: date-time
nullable: false
description: This attribute defines the date the account was opened.
closedDate:
type: string
format: date-time
nullable: true
description: This attribute defines the date the account was closed.
dormantDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to dormant.
nullable: true
escheatDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to escheat.
nullable: true
inactiveDate:
type: string
format: date-time
description: This attribute defines the date the account status changed to inactive.
nullable: true
chargedOffDate:
type: string
format: date-time
description: This attribute defines the date the account is charged off.
nullable: true
chargedOffAmount:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
autoClose:
type: boolean
description: This attribute defines if the account will automatically close when brought to a zero balance. This attribute will work in conjunction with the Number of Days at a zero balance before closing.
nullable: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
regEOptInDisplay:
type: string
description: This attribute defines the display value for the associated enum.
nullable: false
waiveOdNsfFees:
type: boolean
description: This attribute defines if an account is set to waive all OD/NSF fees.
nullable: true
waiveServiceCharge:
type: boolean
description: This attribute defines whether service charges can be waived on an account.
nullable: true
waiveServiceChargeReason:
type: string
description: This attribute defines the reason an account is set to waive service charges.
nullable: true
federalWithholdingFlag:
type: boolean
description: This attribute defines whether federal withholding is taken from interest accrual.
nullable: true
stateWithholdingFlag:
type: boolean
description: This attribute defines whether state withholding is taken from interest accrual.
nullable: true
interestRate:
type: number
format: float64
description: This attribute defines the interest rate of the account.
nullable: true
balances:
type: array
items:
type: object
properties:
accountId:
description: This attribute defines the identifier of the Account.
type: string
format: uuid
nullable: false
accountNumber:
description: This attribute defines the account number associated with the account identifier.
type: string
nullable: false
maxLength: 34
accountType:
nullable: false
type: string
description: This enum attribute defines the account type.
enum:
- checking
- savings
accountStatus:
nullable: false
type: string
description: This enum attribute defines the account status.
enum:
- new
- active
- inactive
- restricted
- no_debits
- no_credits
- dormant
- escheat
- pending_close
- closed
- charged_off
availableBalCalcSettingId:
type: string
format: uuid
description: This attribute defines the Unique identifier that represents the available balance calculation setting.
nullable: false
description:
type: string
maxLength: 50
description: This attribute defines the description of the available balance calculation setting.
nullable: true
currentBalance:
description: This attribute defines the current balance of the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
holds:
description: This attribute defines total holds for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
float:
description: This attribute defines the total float amount for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
pendingDeposits:
description: This attribute defines the pending deposits (promise balance) for the account.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceExcludeOverdraft:
description: This attribute defines the available balance that excludes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
overdraftLimit:
description: This attribute defines the amount the account can overdraw.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
availableBalanceIncludeOverdraft:
description: This attribute dfines the available balance that includes overdraft protection.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
regEOptIn:
nullable: true
type: string
description: This enum attributre defines the account RegEOptIn setting.
enum:
- decline
- accept
- ineligible
availableBalanceRegEOptIn:
description: This attribute defines the available balance based on the RegEOptIn value calculation. If the value is accept the overdraftLimit is included. If the value is NOT accept overdraftLimit is excluded.
type: object
properties:
value:
type: string
description: This defines the amount value.
nullable: false
currencyType:
type: string
description: The ISO 4217 three character currency type. USD is the default value.
nullable: true
default: usd
additionalProperties: false
cards:
type: array
items:
type: object
properties:
CardToken:
type: string
description: The unique token given to a card.
nullable: false
CardProductId:
type: string
format: uuid
description: The identifier given to a card product.
nullable: false
CardHolderId:
type: string
format: uuid
description: The entityId given to a card hold.
nullable: false
CardHolderAddressId:
type: string
format: uuid
description: The unique identifier for and address.
nullable: false
ExpirationDate:
type: string
description: The expiration date of the card in MM/YY format.
pattern: /^([0-9]{4})$
example: '1225'
nullable: false
Accounts:
type: array
items:
type: object
properties:
accountId:
type: string
format: uuid
description: The unique identifier given to an account.
nullable: false
linkType:
type: string
description: The type of link between the account and the card.
example: Primary
nullable: false
InstitutionId:
type: string
format: uuid
description: The unique identifier given to an institution.
nullable: false
PINSet:
type: boolean
description: A value indicating whether a PIN has been set on the card.
nullable: false
PINOffset:
type: string
description: The number of days from today when the PIN was last set.
example: '30'
nullable: true
Status:
type: string
description: The status of the card.
example: Active
enum:
- Active
- Inactive
- Closed
- Frozen
- Lost
- Stolen
- Pending
nullable: false
MaskedCard:
type: string
description: The masked card number.
example: '****-****-****-1111'
nullable: false
loans:
type: array
items:
type: object
description: A loan account, as the lending service reports it. Money amounts are strings.
properties:
loanAccountId:
type: string
description: The unique identifier given to the loan account.
nullable: false
accountNumber:
type: string
description: The human readable loan account number.
nullable: false
accountType:
type: string
description: The loan account type.
nullable: false
accountStatus:
type: string
description: The loan account status.
nullable: false
lendingProductId:
type: string
description: The identifier of the lending product the loan was opened under.
nullable: false
productVersion:
type: integer
format: int64
description: The version of the lending product the loan was opened under.
nullable: false
currency:
type: string
description: The currency of the loan.
example: USD
nullable: false
creditLimit:
type: string
description: The credit limit, as a decimal string. Omitted when the loan has none.
originalPrincipal:
type: string
description: The original principal, as a decimal string. Omitted when the loan has none.
principalBalance:
type: string
description: The current principal balance, as a decimal string.
nullable: false
accountTitle:
type: string
description: The title of the loan account. Omitted when the loan has none.
cycleDayOfMonth:
type: integer
format: int64
description: The day of the month the billing cycle closes. Omitted when the loan has no cycle.
paymentDueDaysAfterCycleClose:
type: integer
format: int64
description: The number of days after the cycle closes that a payment is due. Omitted when the loan has no cycle.
openedAt:
type: string
description: When the loan was opened. Omitted when it has not been.
closedAt:
type: string
description: When the loan was closed. Omitted while it is open.
createdAt:
type: string
description: When the loan account record was created.
nullable: false
updatedAt:
type: string
description: When the loan account record was last updated.
nullable: false
relationshipPaging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
accountNumber:
type: string
nullable: true
accountId:
type: string
nullable: true
maskedCardNumber:
type: string
nullable: true
cardId:
type: string
nullable: true
paging:
type: object
properties:
nextOffset:
description: 'The next offset is the start position of the read pointer for pagination '
type: string
results:
description: The number of records sent for pagination
type: integer
total:
description: The total number of records requested for pagination
type: integer
'400':
description: The server could not understand the request due to an invalid request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
'401':
description: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
'403':
description: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the clients identity is known to the server.
'500':
description: An unexpected internal server error occurred while processing the request.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- details
properties:
type:
description: A string path which uniquely classifies the domain of the error.
type: string
nullable: false
example: jackhenry/operation-failed
title:
description: A end-user readable string title of the error type.
nullable: false
type: string
details:
description: An array of end-user readable strings which provide additional details for the error message.
type: array
nullable: false
items:
type: string
data:
type: object
description: |
Additional data that could be useful to a developer or for handling the error programmatically. The schema for the data in this object is intentionally left undefined.
nullable: true
examples:
internalServerError:
summary: Internal server error
value:
type: general/internal-server-error
title: Internal server error
details:
- Unexpected internal server error
Did this page help you?
Why was this page helpful?
Why wasn't this page helpful?
Thank you for your feedback!
Last updated Mon Oct 19 2026