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
| Field | Required | Notes |
|---|---|---|
external_system_id | every call | Your 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_name | every call | A label for operations and claim records, not the legal account holder name. Make it recognizable to the owner |
routing_number | on create | Exactly 9 digits, and a valid ABA routing number: the check digit is verified. Omit it on update to keep the stored value |
account_number | on create | Digits 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 |
default | no | Boolean. 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_numberoraccount_numberon 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_idthat 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 code | field | Cause |
|---|---|---|
blank | external_system_id, display_name | Missing value |
blank | routing_number, account_number | One sent without the other |
wrong_length | routing_number | Not exactly 9 digits |
not_a_number | routing_number, account_number | Contains a character other than a digit |
invalid | routing_number | Fails the ABA check digit |
too_long | account_number | More than 20 digits |
names_another_record | external_system_id | The identifier is already in use for a property or unit |
already_linked | external_system_id | The identifier already names a different account |
not_a_boolean | default | Not true or false |
default_required | default | default: false sent on the owner's default account; send default: true on the account that should hold it |
locked_by_claims | routing_number, account_number | Claims are attached to the account; register a new account instead |
Next steps
- Properties: reference an account from a building with
bank_account_external_id