#teeluxiii

1 messages · Page 1 of 1 (latest)

spring notchBOT
latent cargo
#
stripe coupons retrieve testt
{
  "id": "testt",
  "object": "coupon",
  "amount_off": null,
  "created": 1706753396,
  "currency": null,
  "duration": "repeating",
  "duration_in_months": 12,
  "livemode": false,
  "max_redemptions": 1,
  "metadata": {},
  "name": "Testt",
  "percent_off": 1.0,
  "redeem_by": 1706767199,
  "times_redeemed": 0,
  "valid": true
}      ```
#
  "object": {
    "id": "testt",
    "object": "coupon",
    "amount_off": null,
    "created": 1706753396,
    "currency": null,
    "duration": "repeating",
    "duration_in_months": 12,
    "livemode": false,
    "max_redemptions": 1,
    "metadata": {
    },
    "name": "Testt",
    "percent_off": 1,
    "redeem_by": 1706767199,
    "times_redeemed": 0,
    "valid": true
  }
}```
craggy dune
#

Did you expand applies_to in your API call?

latent cargo
#

Ahhhh okay that was what I was missing! so for every coupon.created event i receive, i need to make a call back to stripe to get that coupon with the expanded applies_to