Skip to main content

Resources

This page documents the JSON:API resource schemas related to deposit accounts.

DepositAccount​

The DepositAccount resource represents a deposit account.

For the complete resource schema including all attributes and relationships, see DepositAccount.

Top-level fields​

NameTypeDescription
idstringIdentifier of the deposit account resource.
typestringAlways depositAccount.
attributesobjectDeposit account data.
relationshipsJSON:API relationships objectRelationship data for owners (customer or customers).

Key Attributes​

NameTypeDescription
createdAtRFC3339 date-time stringResource creation time.
updatedAtRFC3339 date-time string (optional)Last update time.
namestringAccount holder / account display name.
depositProductstringDeposit product name.
routingNumberstringRouting number (9 digits).
accountNumberstring (optional)Account number (10-12 digits), together with routing number identifies the account on ACH rails.
secondaryAccountNumberobject (optional)Secondary account/routing pair.
secondaryAccountNumber.routingNumberstringSecondary routing number (9 digits).
secondaryAccountNumber.accountNumberstringSecondary account number (10-12 digits).
currencystringCurrency (currently always USD).
balanceintegerBalance in cents.
holdintegerHeld amount in cents.
availableintegerAvailable amount in cents (balance - hold).
overdraftLimitinteger (optional)Overdraft limit in cents.
tagsobjectSee Tags.
statusstringOpen, Frozen, or Closed.
interestTermsobject (optional)Interest terms. Included when extraFields[account]=interestTerms is requested.
freezeReasonstring (optional)Human-readable freeze reason.
closeReasonstring (optional)Close reason code (for example ByCustomer, Fraud, ByBank, NegativeBalance, etc.).
closeReasonTextstring (optional)Optional free-text close reason details.
fraudReasonstring (optional)Fraud subtype when close reason is fraud.
maskedAccountNumberstring (optional)Masked account number. Included when extraFields[account]=maskedAccountNumber is requested.
isOverdrawnWithinLimitboolean (optional)Whether account is overdrawn but still within configured overdraft limit.
dacaStatusstring (optional)DACA status: Entered or Activated.
dacaOperatorsarray of strings (optional)DACA operators, values from Org, Unit, Bank.
Note

Monetary values are in cents.

Relationships​

NameTypeDescription
customerJSON:API relationship (optional)Present for single-owner account.
customersJSON:API relationship array (optional)Present for multi-owner account.

Exactly one of customer or customers is expected for a deposit account owner model.

Example DepositAccount​

{
"type": "depositAccount",
"id": "1",
"attributes": {
"createdAt": "2000-05-11T10:19:30.409Z",
"updatedAt": "2000-05-12T10:19:30.409Z",
"name": "Peter Parker",
"status": "Open",
"depositProduct": "checking",
"routingNumber": "812345678",
"accountNumber": "1000000002",
"currency": "USD",
"balance": 10000,
"hold": 0,
"available": 10000,
"overdraftLimit": 0,
"tags": {
"purpose": "checking"
}
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "45555"
}
}
}
}

AccountEndOfDay​

The AccountEndOfDay resource represents an account's balance at the end of a business day. This is useful for tracking balance history over time and creating balance charts.

For the complete resource schema including all attributes and relationships, see AccountEndOfDay.

Key Attributes​

AttributeTypeDescription
dateISO Local Date stringThe date of the end-of-day balance.
balanceintegerThe account balance (in cents) at the end of the day.
availableintegerThe available balance (in cents) at the end of the day.
holdintegerThe held amount (in cents) at the end of the day.