{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/woolworths-group/json-schema/woolworths-group-cnp-capture-request-schema.json",
  "title": "CnpCaptureRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/woolworths-group-capture-api-openapi.yml#/components/schemas/CnpCaptureRequest",
  "type": "object",
  "properties": {
    "amount": {
      "maximum": 99999999,
      "minimum": 1,
      "type": "integer",
      "description": "Amount of the capture operation in cents. 1499 is $14.99",
      "format": "int32"
    },
    "webhookUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "Webhook URL that will be called by Cards Connect to deliver notifications about the status of the transaction."
    }
  },
  "additionalProperties": false
}