List discounts
Returns reusable discounts for the organization. One-off discounts are excluded.
Editor interactivo de filter
Utiliza este editor para generar un valor que puedes usar en el parámetro filter del query string.
Para relaciones, grupos lógicos y más ejemplos, consulta la guía de filtros.
Authorizations
Organization API key using Authorization: Bearer sk_....
Query Parameters
Filter fields encoded with qs bracket notation.
Pagination offset.
x >= 00
Pagination limit.
1 <= x <= 10020
Sort fields encoded with qs bracket notation.
Response
Discounts list
Unique identifier of the discount.
"disc_1234567890abcdefghij"
When the discount was created.
"2025-01-01T00:00:00.000Z"
When the discount was last updated.
"2025-01-01T00:00:00.000Z"
When the discount was deleted, if applicable.
null
Display name of the discount.
"Buen Fin 20%"
Optional description of the discount.
null
Identifier of the owning organization.
"org_1234567890abcdefghij"
Whether the discount is a fixed amount (FIXED) or a percentage (PERCENTAGE).
FIXED, PERCENTAGE "PERCENTAGE"
Fixed discount amount in minor currency units. Only set when type is FIXED.
30000
Percentage to discount. Only set when type is PERCENTAGE.
20
Whether the discount is currently available for new applications.
true
Whether this discount was created for a single-use custom charge.
false
Optional date after which the discount can no longer be applied.
null
Maximum total number of times this discount can be applied across all customers.
3