EDD REST API - Discounts

The EDD REST API provides the /discounts/ endpoint, which allows you to retrieve information about your the discounts that exist in your store. A basic discounts query looks like this:

http://example.com/edd-api/discounts/?key=c281cf0a95be875d9eeb284fb004c938&token=5f9432f3ffa5945755ebc66179810d70
A sample discounts response looks like this:
{
    "discounts": [
        {
            "ID": 158,
            "name": "Taco Tuesday",
            "code": "TACOTUESDAY",
            "amount": 5,
            "min_price": 0,
            "type": "flat",
            "uses": 0,
            "max_uses": 0,
            "start_date": "",
            "exp_date": "",
            "status": "inactive",
            "product_requirements": [
                114
            ],
            "requirement_condition": "all",
            "global_discount": false,
            "single_use": false
        },
        {
            "ID": 157,
            "name": "10% Off",
            "code": "10PERCENT",
            "amount": 10,
            "min_price": 0,
            "type": "percent",
            "uses": 0,
            "max_uses": 0,
            "start_date": "",
            "exp_date": "",
            "status": "active",
            "product_requirements": {
                "1": 68
            },
            "requirement_condition": "all",
            "global_discount": false,
            "single_use": false
        }
    ],
    "request_speed": 0.039878129959106
}