Hello Lionel,
Your intuition here about why `discount` is null in the response is correct. The response we send you back is not just "what was created" per se and more the state of the subscription at the end of the request, representing what you'd record in your database. Since the coupon is one-time use, it is applied to the subscription's first invoice and immediately "consumed" and removed so it's not returned back. Similarly, the customer can have a coupon that is one-time use applied as a discount that would apply to the first invoice and the subscription would have `discount: null` too.
What you should consider here is to use the Expand feature [1] when creating the Subscription. This will let you get details about the latest invoice by retrieving whole Invoice object back and seeing the discount(s) applied to that Invoice. The one-time discount would be reflected back on the Invoice in that case.
I hope this helps!
Best,
Remi