code: '''The promotion code object {
    "id": "promo_1HMxuf2eZvKYlo2CmGXSyhRx",
    "object": "promotion_code",
    "active": true,
    "code": "TS0EQJHH",
    "coupon": {
      "id": "123",
      "object": "coupon",
      "amount_off": null,
      "created": 1507799684,
      "currency": null,
      "duration": "repeating",
      "duration_in_months": 3,
      "livemode": false,
      "max_redemptions": 14,
      "metadata": {
        "teste": "test"
      },
      "name": null,
      "percent_off": 34.0,
      "redeem_by": null,
      "times_redeemed": 0,
      "valid": true
    },
    "created": 1599060617,
    "customer": null,
    "expires_at": null,
    "livemode": false,
    "max_redemptions": null,
    "metadata": {
      "order_id": "1"
    },
    "restrictions": {
      "first_time_transaction": false,
      "minimum_amount": null,
      "minimum_amount_currency": null
    },
    "times_redeemed": 0
  }
  '''
nl: The promotion code objectAttributes id string Unique identifier for the object. code string The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for each customer. coupon hash, coupon object Hash describing the coupon for this promotion code. 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.More attributesExpand all  object string, value is "promotion_code"   active boolean   created timestamp   customer string expandable    expires_at timestamp   livemode boolean   max_redemptions positive integer   restrictions hash   times_redeemed positive integer or zero