Modern Treasury · Schema

account_detail

FintechPaymentsACHWiresTreasury

Properties

Name Type Description
id string
object string
live_mode boolean This field will be true if this object exists in the live environment or false if it exists in the test environment.
created_at string
updated_at string
discarded_at string
account_number string The account number for the bank account.
account_number_type string One of `iban`, `clabe`, `wallet_address`, or `other`. Use `other` if the bank account number is in a generic format.
account_number_safe string The last 4 digits of the account_number.
View JSON Schema on GitHub

JSON Schema

modern-treasury-account-detail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/account_detail",
  "title": "account_detail",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "object": {
      "type": "string"
    },
    "live_mode": {
      "type": "boolean",
      "description": "This field will be true if this object exists in the live environment or false if it exists in the test environment."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "discarded_at": {
      "type": "string",
      "format": "date-time",
      "nullable": true
    },
    "account_number": {
      "type": "string",
      "description": "The account number for the bank account."
    },
    "account_number_type": {
      "type": "string",
      "enum": [
        "au_number",
        "base_address",
        "card_token",
        "clabe",
        "ethereum_address",
        "hk_number",
        "iban",
        "id_number",
        "nz_number",
        "other",
        "pan",
        "polygon_address",
        "sg_number",
        "solana_address",
        "wallet_address"
      ],
      "description": "One of `iban`, `clabe`, `wallet_address`, or `other`. Use `other` if the bank account number is in a generic format."
    },
    "account_number_safe": {
      "type": "string",
      "description": "The last 4 digits of the account_number."
    }
  },
  "additionalProperties": false,
  "minProperties": 8,
  "maxProperties": 9,
  "required": [
    "id",
    "object",
    "live_mode",
    "created_at",
    "updated_at",
    "discarded_at",
    "account_number_type",
    "account_number_safe"
  ]
}