#SCIF
1 messages ยท Page 1 of 1 (latest)
There is no standalone Discounts Retrieval API, but it's possible to expand the discounts object on Invoice Retrieval API: https://stripe.com/docs/api/expanding_objects
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yeah, that's the single way I found on my own ๐ฆ got it
Yup! Expanding the object is the only way ๐
Reference from https://stripe.com/docs/api/discounts/object#discount_object-id:
Discounts cannot be fetched by ID. Use expand[]=discounts in API calls to expand discount IDs in an array.