{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/squaredup-com/json-schema/squaredup-com-post-v1-billing-buy-request-schema.json",
  "title": "PostV1BillingBuyRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/squaredup-com-openapi-generated.yml#/components/schemas/PostV1BillingBuyRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Credit type (v0, gateway, or agent)"
    },
    "amount": {
      "type": "integer",
      "description": "Number of credits to purchase (positive integer)"
    }
  },
  "required": [
    "type",
    "amount"
  ]
}