{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gsma/json-schema/gsma-validate-payment-schema.json",
  "title": "ValidatePayment",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gsma-two-step-payment-api-openapi.yml#/components/schemas/ValidatePayment",
  "type": "object",
  "required": [
    "authorizationId",
    "code"
  ],
  "properties": {
    "authorizationId": {
      "type": "string",
      "description": "Unique authorization identifier for a specific payment."
    },
    "code": {
      "type": "string",
      "description": "Code received via SMS to validate and authorize a specific payment, only needed when business case requires it. Sending of this code is outside this specification."
    }
  }
}