code: '''The coupon object {
    "id": "Z4OV52SU",
    "object": "coupon",
    "amount_off": null,
    "created": 1659519093,
    "currency": "usd",
    "duration": "repeating",
    "duration_in_months": 3,
    "livemode": false,
    "max_redemptions": null,
    "metadata": {},
    "name": "25.5% off",
    "percent_off": 25.5,
    "redeem_by": null,
    "times_redeemed": 0,
    "valid": true
  }
  '''
nl: The coupon objectAttributes id string Unique identifier for the object. amount_off positive integer Amount (in the currency specified) that will be taken off the subtotal of any invoices for this customer. currency currency If amount_off has been set, the three-letter ISO code for the currency of the amount to take off. duration enum One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.Possible enum valuesonce repeating forever  duration_in_months positive integer If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once. metadata hash Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. name string Name of the coupon displayed to customers on for instance invoices or receipts. percent_off decimal Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon. For example, a coupon with percent_off of 50 will make a €100 invoice €50 instead.More attributesExpand all  object string, value is "coupon"   applies_to hash expandable   created timestamp   currency_options hash expandable preview feature   livemode boolean   max_redemptions positive integer   redeem_by timestamp   times_redeemed positive integer or zero   valid boolean