# API: List commission plans

# getAffiliateCommisionPlans

List affiliate commission plans

TIP

This API call uses pagination for results.

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getAffiliateCommisionPlans

# PHP Samples

# Response

{
    "success": true,
    "commisions": [
        {
            "id": "1",
            "name": "10% Commission",
            "type": "Percent",
            "rate": "10.00",
            "applicable_cycles": "Daily,Biennially,Triennially,tld1",
            "applicable_products": "5497,5632,6060,6061,6062,6063,6064,6115,6116,6117,6118,6119,6120,6121,6122,6123,6124,6125,6138,6139,6140,6141,6142,6143,6144,6145,6146,6147,6148,6149,6150,6151,6174,6175,6176,6177,6178,6179,6180,6181,6182,6183,6184,6185,6186,6187,6188,6189,6190,6191,6192,6420,6421,6422,6423,6424,6425,6426,6427,6428,6429,6430,6431,6432,6433,6434,6435,6436,6616,6617,6618,6619,6620,6621,6622,6623,6624,6625,6626,6627,39,55,235,-12,29,-13,30,40,-14,32,-15,33,334,-16,34,-81,410,456,457,458,-82,411,412,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984|",
            "applicable_client_groups": "all",
            "otrates": "[]",
            "recurring": "0",
            "enable_voucher": "1",
            "notes": "",
            "enable_overcommission": "0",
            "autoassign": "",
            "default": "1"
        }
    ],
    "call": "getAffiliateCommisionPlans",
    "sorter": {
        "perpage": 25,
        "totalpages": 1,
        "sorterrecords": "1",
        "sorterpage": 1
    },
    "server_time": 1684239137
}
Last Updated: 5/22/2023, 2:31:50 PM