{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/payments-ai/json-schema/payments-ai-public-api-checkout-payment-confirmation-response-schema.json",
  "title": "PublicApiCheckoutPaymentConfirmationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/payments-ai-checkout-api-openapi.yml#/components/schemas/PublicApiCheckoutPaymentConfirmationResponse",
  "type": "object",
  "required": [
    "paymentId",
    "clientSecret",
    "status"
  ],
  "properties": {
    "transactionId": {
      "type": "string",
      "description": "Internal PAI transaction id (UUID v7) when the payment row exists in Payments AI."
    },
    "paymentId": {
      "type": "string",
      "description": "Deprecated Whop payment id (`pay_…`). Removed on 2027-01-15.",
      "deprecated": true
    },
    "clientSecret": {
      "type": "string"
    },
    "status": {
      "type": "string"
    }
  }
}