{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/qualpay/json-schema/qualpay-aus-updated-response-schema.json",
  "title": "AusUpdatedResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/qualpay-account-updater-api-openapi.yml#/components/schemas/AusUpdatedResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer",
      "description": "<strong>Format: </strong>Fixed length, 1 N<br><strong>Description: </strong>Response code from the API. `0` indicates success. Refer to <a href=\"/docs/api-conventions#platform-api-response-codes\" target=\"_blank\">Platform API Response Codes</a> for the entire list of return codes.",
      "format": "int32",
      "readOnly": true
    },
    "message": {
      "type": "string",
      "description": "<strong>Format: </strong>Variable length AN<br><strong>Description: </strong>A short description of the API response code.",
      "readOnly": true
    },
    "totalPages": {
      "type": "integer",
      "description": "<strong>Format: </strong>Variable length N<br><strong>Description: </strong>Total number of pages. ",
      "format": "int32",
      "readOnly": true
    },
    "totalRecords": {
      "type": "integer",
      "description": "<strong>Format: </strong>Variable length, up to 3 N<br><strong>Description: </strong>Total number of records up to a maximum of 100.",
      "format": "int32",
      "readOnly": true
    },
    "data": {
      "type": "array",
      "description": "An array of the resource object.",
      "readOnly": true,
      "items": {
        "$ref": "#/$defs/AusResponse"
      }
    }
  },
  "$defs": {
    "AusResponse": {
      "type": "object",
      "properties": {
        "card_id": {
          "type": "string",
          "description": "<strong>Format: </strong>Variable length, up to 32 AN<br>The card ID of the card."
        },
        "card_number": {
          "type": "string",
          "description": "The full card number."
        },
        "exp_date": {
          "type": "string",
          "description": "The card expiration date in MMYY format."
        },
        "reason_code": {
          "type": "string",
          "description": "The type of response code. For all types, please refer to <a href=\"/docs/api-conventions#account-updater-server-response-code\" target=\"_blank\">Account Updater Server Response Code</a>."
        },
        "card_number_new": {
          "type": "string",
          "description": "The new full card number."
        },
        "exp_date_new": {
          "type": "string",
          "description": "The new card expiration date in MMYY format."
        }
      }
    }
  }
}