{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recurly/json-schema/recurly-coupon-redemption-create-schema.json",
  "title": "CouponRedemptionCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recurly-coupon-redemption-api-openapi.yml#/components/schemas/CouponRedemptionCreate",
  "type": "object",
  "properties": {
    "coupon_id": {
      "type": "string",
      "title": "Coupon ID"
    },
    "currency": {
      "type": "string",
      "title": "Currency",
      "description": "3-letter ISO 4217 currency code.",
      "maxLength": 3
    },
    "subscription_id": {
      "type": "string",
      "title": "Subscription ID"
    }
  },
  "required": [
    "coupon_id"
  ]
}