Check a discount code
Discount Codes
Check a discount code
Checks that a discount code exists, hasn’t been used yet, is still valid, and is for the given kind of service, and returns its terms. With teamID, this needs the billing.manage permission.
GET
Check a discount code
Authorizations
Send your API token as Authorization: Bearer <api-token>.
Query Parameters
Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.
Pattern:
^[0-9a-fA-F]{24}$Available options:
project, database, mailServer, bucket, vm, ai Response
The discount code's terms.
