code: '''The discount object {
    "id": "di_17G0M72eZvKYlo2ClYl5y9Fl",
    "object": "discount",
    "checkout_session": null,
    "coupon": {
      "id": "MmtYHtx6",
      "object": "coupon",
      "amount_off": 99,
      "created": 1449638350,
      "currency": "usd",
      "duration": "once",
      "duration_in_months": null,
      "livemode": false,
      "max_redemptions": 1,
      "metadata": {},
      "name": null,
      "percent_off": null,
      "redeem_by": 1452230350,
      "times_redeemed": 1,
      "valid": false
    },
    "customer": "cus_8TEMHVY5moxIPI",
    "end": null,
    "invoice": null,
    "invoice_item": null,
    "promotion_code": null,
    "start": 1449638351,
    "subscription": null
  }
  '''
nl: The discount objectAttributes id string The ID of the discount object. Discounts cannot be fetched by ID. Use expand[]=discounts in API calls to expand discount IDs in an array. coupon hash, coupon object Hash describing the coupon applied to create this discount. customer string expandable  The ID of the customer associated with this discount. end timestamp If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null. start timestamp Date that the coupon was applied. subscription string The subscription that this coupon is applied to, if it is applied to a particular subscription.More attributesExpand all  object string, value is "discount"   checkout_session string   invoice string   invoice_item string   promotion_code string expandable 