{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dpf-it-com/json-schema/dpf-it-com-purchase-credits-response-schema.json",
  "title": "PurchaseCreditsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dpf-it-com-account-api-openapi.yml#/components/schemas/PurchaseCreditsResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "Present if payment was charged off-session (saved payment method)"
        },
        "url": {
          "type": "string",
          "description": "Present if user needs to complete payment via Stripe Checkout"
        },
        "creditAmount": {
          "type": "integer"
        }
      }
    }
  }
}