{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/qualpay/json-schema/qualpay-aus-cancel-response-schema.json",
  "title": "AusCancelResponse",
  "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/AusCancelResponse",
  "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
    },
    "data": {
      "$ref": "#/$defs/CancelAccountUpdaterResponse"
    }
  },
  "$defs": {
    "CancelAccountUpdaterResponse": {
      "type": "object",
      "properties": {
        "request_id": {
          "type": "integer",
          "description": "<strong>Format: </strong>Variable length, up to 10 N<br><strong>Description: </strong>The unique ID assigned to the Account Updater request.",
          "format": "int64",
          "readOnly": true
        },
        "merchant_id": {
          "type": "integer",
          "description": "<strong>Format: </strong>Variable length, up to 16 N<br><strong>Description: </strong>The unique ID assigned to a merchant.",
          "format": "int64",
          "readOnly": true
        },
        "status": {
          "type": "string",
          "description": "<strong>Format: </strong>Variable length, up to 10 A<br><strong>Description: </strong> The status of the Account Updater request: <ul><li>`INPROGRESS` - The Account Updater request has been validated, and the request is ready to be sent to the Account Updater engine. If needed, the request can be canceled. </li><li>`QUEUED` - The Account Updater request is queued in the Account Updater service. The request can no longer be canceled. </li><li>`COMPLETED` - The Account Updater request has completed.</li> <li>`CANCELED` - The Account Updater request has been canceled.</li></ul>",
          "readOnly": true,
          "enum": [
            "INPROGRESS",
            "QUEUED",
            "COMPLETED",
            "CANCELED"
          ]
        },
        "cnt_request": {
          "type": "integer",
          "description": "<strong>Format: </strong>Variable length, up to 10 N<br><strong>Description: </strong>Number of cards in this request.",
          "format": "int32",
          "readOnly": true
        },
        "cnt_response": {
          "type": "integer",
          "description": "<strong>Format: </strong>Variable length, up to 10 N<br><strong>Description: </strong>Number of cards in this request that were reviewed by the Account Updater service. (This should match the `cnt_request`.) The `cnt_response` value will be `0` if the status field is not `COMPLETED`.",
          "format": "int32",
          "readOnly": true
        },
        "cnt_update": {
          "type": "integer",
          "description": "<strong>Format: </strong>Variable length, up to 10 N<br><strong>Description: </strong>Number of cards in this request that were updated by the Account Updater service. The `cnt_update` field will be `0` if the status field is not `COMPLETED` or if there are no updates by the Account Updater service.",
          "format": "int32",
          "readOnly": true
        },
        "request_date": {
          "type": "string",
          "description": "<strong>Format: </strong>Variable length, up to 10 AN, in  YYYY-MM-DD format<br><strong>Description: </strong>The Account Updater request date, the date when a harvest request was sent to the Account Updater service.",
          "readOnly": true
        }
      }
    }
  }
}