{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/auditae-app/json-schema/auditae-app-top-up-paid-schema.json",
  "title": "TopUpPaid",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/auditae-app-billing-api-openapi.yml#/components/schemas/TopUpPaid",
  "type": "object",
  "required": [
    "paid_usd",
    "payment_id",
    "balance_cents",
    "credit_status"
  ],
  "properties": {
    "paid_usd": {
      "type": "number"
    },
    "payment_id": {
      "type": "string"
    },
    "balance_cents": {
      "type": [
        "integer",
        "null"
      ],
      "description": "New balance; null while the credit is pending."
    },
    "credit_status": {
      "type": "string",
      "enum": [
        "applied",
        "pending"
      ]
    },
    "note": {
      "type": "string",
      "description": "Present when pending. Don't pay again."
    }
  }
}