---
title: Public Commission Sample Data
slug: public-commission-sample-data
description: Learn how to obtain sample commission data for testing purposes with this helpful document. Explore two options: requesting sample commissions for an existing Wildfire Application ID and Secret, or using a pre-defined sample set of commission data. Discov
docTags: 
createdAt: 2023-03-09T16:53:39.000Z
---

If you need a set of sample commission data to test against, there are a few options available:

1. If you already have a Wildfire Application ID and Secret, you can request sample commissions be created for your application.  These sample commissions include a very small set of data with a single record in each possible status.
2. Alternatively, if you need a larger, more diverse set of data, or if you don't have an application created yet, you can use a sample set of commission data.

This page describes this second option.

# API Description

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://api.wfi.re/v5/public/commission?limit=100",
  "name": "Get Sample Commission Data",
  "method": "GET",
  "request": {
    "pathParameters": [],
    "queryParameters": [
      {
        "kind": "optional",
        "name": "limit",
        "type": "Number",
        "children": [],
        "description": "Number of records to include in the result (default is 100)"
      }
    ],
    "headerParameters": [],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "XwOOFlkK8fbNz9i_iQXgn",
        "code": "{\n    \"Commissions\": [\n        {\n            \"CommissionID\": 1234569625,\n            \"ApplicationID\": 0,\n            \"MerchantID\": 1234569625,\n            \"DeviceID\": 0,\n            \"DeviceXID\": \"0189ABEF\",\n            \"SaleAmount\": {\n                \"Amount\": \"10.49\",\n                \"Currency\": \"BRL\"\n            },\n            \"Amounts\": [\n                {\n                    \"Amount\": \"0\",\n                    \"Currency\": \"USD\",\n                    \"SplitPart\": \"DEVICE\",\n                    \"BaseCommissionAmount\": \"0\",\n                    \"BoostedCommissionAmount\": \"0\"\n                }\n            ],\n            \"Status\": \"READY\",\n            \"TrackingCode\": \"012345-6780a-bcdef0-50527\",\n            \"EventDate\": \"2025-05-09T17:57:08Z\",\n            \"LockingDate\": \"2025-05-09T17:57:08Z\",\n            \"CreatedDate\": \"2025-05-09T17:57:08.580189Z\",\n            \"ModifiedDate\": \"2025-05-09T18:02:08.580189Z\",\n            \"MerchantOrderID\": \"1234513110\",\n            \"MerchantSKU\": \"C62-2770-006-04\",\n            \"CouponCodes\": \"\",\n            \"ShoppingTripCode\": \"stc-79066\"\n        }\n    ]\n}",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "XwOOFlkK8fbNz9i_iQXgn"
  },
  "examples": {
    "languages": [
      {
        "id": "xPTlckcwwG_iAA8FdRR0X",
        "code": "curl --location --request GET 'https://api.wfi.re/v5/public/commission?limit=10' \\\n--header 'Accept: application/json'",
        "language": "curl",
        "customLabel": ""
      },
      {
        "id": "fXCWA_Vb2YL2ZASPims6O",
        "code": "var request = require('request');\nvar options = {\n   'method': 'GET',\n   'url': 'https://api.wfi.re/v5/public/commission?limit=10',\n   'headers': {\n      'Accept': 'application/json'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "language": "nodejs",
        "customLabel": ""
      },
      {
        "id": "MmbDAbKF6lfJn6zXG3D_G",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.wfi.re/v5/public/commission?limit=10\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "language": "javascript",
        "customLabel": ""
      },
      {
        "id": "JzgXvfqqg7vaVaz3NMNHi",
        "code": "import requests\n\nurl = \"https://api.wfi.re/v5/public/commission?limit=10\"\n\npayload={}\nheaders = {\n   'Accept': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "language": "python",
        "customLabel": ""
      },
      {
        "id": "HI3bF2sS7_ChKleny9gwi",
        "code": "require \"uri\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.wfi.re/v5/public/commission?limit=10\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Accept\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "language": "ruby",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "HI3bF2sS7_ChKleny9gwi"
  },
  "description": "Retrieve a sample set of commission data",
  "currentNewParameter": {
    "label": "Query Parameter",
    "value": "queryParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "get-sample-commission-data",
  "legacyHash": "eigDXMfeUtuQnPrZoekuj"
}
```
:::

## Response Details

These records will represent a normal commission with the following exceptions:

- The ApplicationID will always show as 0
- The Device ID will always show as 0
- The Status is randomized (you'll see cases where a brand new commission record is marked PAID which would never happen in the practice)

You can find the other description of fields in the following article: [Syncing Commission Data via API and Callbacks](docId\:FoivJE6XuUwEwq2YcJqh_)&#x20;













