{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/leap-labs-com/json-schema/leap-labs-com-purchase-credits-response-schema.json",
  "title": "PurchaseCreditsResponse",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/disco-openapi.json#/components/schemas/PurchaseCreditsResponse",
  "properties": {
    "purchased_credits": {
      "type": "integer",
      "title": "Purchased Credits",
      "description": "Credits purchased in this transaction"
    },
    "total_credits": {
      "type": "integer",
      "title": "Total Credits",
      "description": "Total credits available after purchase"
    },
    "charge_amount_usd": {
      "type": "number",
      "title": "Charge Amount Usd",
      "description": "Amount charged in USD"
    },
    "stripe_payment_id": {
      "type": "string",
      "title": "Stripe Payment Id",
      "description": "Stripe payment intent ID"
    }
  },
  "type": "object",
  "required": [
    "purchased_credits",
    "total_credits",
    "charge_amount_usd",
    "stripe_payment_id"
  ]
}