{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azupay/main/json-schema/azupay-account-status-obj-schema.json",
  "title": "AccountStatusObj",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azupay-check-accounts-api-openapi.yml#/components/schemas/AccountStatusObj",
  "type": "object",
  "properties": {
    "AccountStatus": {
      "type": "object",
      "required": [
        "nppReachable",
        "paytoReachable"
      ],
      "properties": {
        "nppReachable": {
          "type": "boolean",
          "description": "True if the account can accept deposits via NPP. Does not check if the account is closed or has \nsanctions that may prevent deposits clearing.\n"
        },
        "accountServices": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of NPP services that can be used to send to deposits to this account. eg x2p1- OSKO, \nsct- Single Credit Transfer.\n"
        },
        "validBsb": {
          "type": "boolean",
          "description": "Whether the bsb provided in the parameter matches with the account attached to the PayID"
        },
        "validAccountNumber": {
          "type": "boolean",
          "description": "Whether the accountNumber provided in the parameter matches with the account attached to the PayID\n"
        },
        "bic11": {
          "type": "string",
          "description": "The BIC11 of the bank where the account is held. Only provided when both `bsb` and `accountNumber` is \nprovided in the parameters\n"
        }
      }
    }
  }
}