Billing API
string · enuminteger · int32integer · uint32stringinteger · uint64
Discounts
Gain simplified access to key information about discounts, including creation dates, and remaining, used, and total values
List discounts
GET
https://api.scaleway.com
/billing/v2beta1/discounts
List all discounts for your Organization and usable categories, products, offers, references, regions and zones where the discount can be applied. As a reseller:
- If you do not specify an
organization_idyou will list the discounts applied to your own Organization and your customers - If you indicate your
organization_idyou will list only the discounts applied to your Organization - If you indicate
the organization_idof one of your customers, you will list the discounts applied to their Organization.
query Parameters
order_byOrder discounts in the response by their description.
Enum values:
creation_date_desc
creation_date_asc
start_date_desc
start_date_asc
stop_date_desc
stop_date_asc
Default: creation_date_desc
pagePositive integer to choose the page to return.
page_sizePositive integer lower or equal to 100 to select the number of items to return.
organization_idID of the organization. (UUID format)
List discounts › Responses
200
total_countTotal number of discounts.
Paginated returned discounts.