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.
Attribute | Description |
---|---|
account_number_safe string | The last four digits of the account number for the bank account. |
account_number | Bank account numbers are sensitive information and are not included in API responses by default. Modern Treasury advises using the |
account_number_type | One of the below Use |
live_mode | This field will be true if this object was created with a production API key or false if created with a test API key. |
Here are the Account Number Types we support at MT. Make sure you're using the right account_number_type
based on the locations of the both accounts and what's needed by the payment_type
.
| Country | Format |
---|---|---|
| Australia | 12-15 digits |
| Mexico | 18 digits |
| Hong Kong | XXXXXX-YYY Note: Only use this when you have a suffix, |
| Any (IBAN) | Upto 34 letters depending on country |
| Indonesia | 6-16 Digits |
| New Zealand | 15-16 Digits |
| Any (Generic) | Only Digits |
| Any (Cards) | 12-19 Digits |
| Singapore | 6-34 Digits |
| Any (Wallet) | Wallet Provider Specific Format |
{
"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"
}