Public Commission Sample Data - Wildfire Support Center

Public Commission Sample Data

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 API Description

Retrieve a sample set of commission data

GET

Request

Query Parameters

Parameter Type Description
limit Number Optional: Number of records to include in the result (default is 100)

Response Details Response Details

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

You can find the other description of fields in the following article: Syncing Commission Data via API and Callbacks

Get Sample Commission Data

Ruby Code Example

require "uri"
require "net/http"

url = URI("https://api.wfi.re/v5/public/commission?limit=10")

https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Accept"] = "application/json"

response = https.request(request)
puts response.read_body

Responses

200

{
  "Commissions": [
    {
      "CommissionID": 1234569625,
      "ApplicationID": 0,
      "MerchantID": 1234569625,
      "DeviceID": 0,
      "DeviceXID": "0189ABEF",
      "SaleAmount": {
        "Amount": "10.49",
        "Currency": "BRL"
      },
      "Amounts": [
        {
          "Amount": "0",
          "Currency": "USD",
          "SplitPart": "DEVICE",
          "BaseCommissionAmount": "0",
          "BoostedCommissionAmount": "0"
        }
      ],
      "Status": "READY",
      "TrackingCode": "012345-6780a-bcdef0-50527",
      "EventDate": "2025-05-09T17:57:08Z",
      "LockingDate": "2025-05-09T17:57:08Z",
      "CreatedDate": "2025-05-09T17:57:08.580189Z",
      "ModifiedDate": "2025-05-09T18:02:08.580189Z",
      "MerchantOrderID": "1234513110",
      "MerchantSKU": "C62-2770-006-04",
      "CouponCodes": "",
      "ShoppingTripCode": "stc-79066"
    }
  ]
}