Skip to main content

Bank Accounts

Where claim payments are sent, by ACH. Accounts are registered at the owner level here; which account a building pays to is configured on the property (bank_account_external_id). A building with no explicit account pays to the owner's default.

See the Onboarding overview for the array, result, and upsert conventions this endpoint shares.

A request carries between 1 and 100 accounts.

Register bank accounts​

POST /partners/{owner_slug}/bank_accounts
Content-Type: application/json
[
{ "external_system_id": "acme-bank-88",
"display_name": "Hudson primary operating",
"routing_number": "021000021",
"account_number": "483902117" },
{ "external_system_id": "acme-bank-89",
"display_name": "Hudson East region",
"routing_number": "021000021",
"account_number": "580441022" }
]

Request fields​

FieldRequiredNotes
external_system_idevery callYour own identifier. The upsert key, referenced by bank_account_external_id on properties. Must not reuse an identifier you have given a property or unit
display_nameevery callA label for operations and claim records, not the legal account holder name. Make it recognizable to the owner
routing_numberon createExactly 9 digits, and a valid ABA routing number: the check digit is verified. Omit it on update to keep the stored value
account_numberon createDigits only, up to 20. Never returned in responses; only the last four digits are echoed back. Omit it on update to keep the stored value
defaultnoBoolean. The owner's first account is the default automatically, even if you send false on it. true on a later account moves the default to it. false on the current default is rejected: the default must always point somewhere

Response​

{
"status_code": 200,
"results": [
{ "external_system_id": "acme-bank-88",
"action": "created",
"display_name": "Hudson primary operating",
"routing_number": "021000021",
"account_number_last4": "2117",
"default": true },
{ "external_system_id": "acme-bank-89",
"action": "created",
"display_name": "Hudson East region",
"routing_number": "021000021",
"account_number_last4": "1022",
"default": false }
],
"meta": { "created": 2, "updated": 0, "failed": 0 },
"request_id": "6f1c2b9e-7d4a-4c1e-9a55-0b8f3d2e1a77"
}

The first account you register becomes the default automatically. For most owners that single call is the entire setup: every building without its own account pays to it, including buildings added later. Portfolios that route by region or group register additional accounts and reference them from the property items. Send default: true on a later account to move the default; buildings without an explicit account follow it.

The account_number is never echoed back. Responses carry only account_number_last4.

Behavior and constraints​

  • Numbers are checked for form, not ownership. Greenlight rejects a routing number that fails the ABA checksum, but does not verify that the account exists or belongs to the owner, and pays claims to the values you send. Correctness is the sender's responsibility.
  • Numbers are locked once claims are paid against them. Changing routing_number or account_number on an account that already has claims attached fails the item. Register a new account and point the buildings, or the default, at it instead.
  • Register accounts before the properties that reference them. A bank_account_external_id that Greenlight does not recognize fails the property item. For a default only setup, order does not affect payout correctness, but registering accounts before going live allows the first claim to pay out on the day it is approved.
  • Accounts cannot be deleted through this API. Reassign the buildings, or move the default, and the unused account is retired by Greenlight.
  • For an owner with an existing Greenlight relationship, its buildings usually already have payout accounts in Greenlight. Coordinate with your Partner Success Manager before sending bank details or account references for them.

Item errors​

A failed item carries an error whose details name each refused field (see Errors); the other items still apply.

Detail codefieldCause
blankexternal_system_id, display_nameMissing value
blankrouting_number, account_numberOne sent without the other
wrong_lengthrouting_numberNot exactly 9 digits
not_a_numberrouting_number, account_numberContains a character other than a digit
invalidrouting_numberFails the ABA check digit
too_longaccount_numberMore than 20 digits
names_another_recordexternal_system_idThe identifier is already in use for a property or unit
already_linkedexternal_system_idThe identifier already names a different account
not_a_booleandefaultNot true or false
default_requireddefaultdefault: false sent on the owner's default account; send default: true on the account that should hold it
locked_by_claimsrouting_number, account_numberClaims are attached to the account; register a new account instead

Next steps​

  • Properties: reference an account from a building with bank_account_external_id