Account Details

An account_detail object represents all account numbers related to a specific bank account. Often bank accounts will only have a single number but having multiple is more common outside the United States. For example in some countries, the IBAN is used for international routing but domestic payments will use a separate unformatted account number. Modern Treasury allows you to provide both account numbers and our software will choose the correct one in all cases.

AttributeDescription
account_number_safe
string
The last four digits of the account number for the bank account.
account_number
string
Bank account numbers are sensitive information and are not included in API responses by default. Modern Treasury advises using the account_number_safe field instead. Learn more about changing your settings here.
account_number_type
string
One of iban, clabe, wallet_address, hk_number, nz_number or other. Use other if the bank account number is in a generic format.
live_mode
boolean
This field will be true if this object was created with a production API key or false if created with a test API key.
{
  "id": "f3552822-38f5-4dd5-aa10-a5a2fce00ed6",
  "object": "account_detail",
  "account_number_safe": "0934",
  "account_number_type": "other",
  "live_mode": true,
  "created_at": "2019-11-09T00:11:07Z",
  "updated_at": "2019-11-09T00:11:07Z"
}