Per-transaction and aggregate views of the split described in How commission works when you run your own network, for your own connections only. Reads need reports:read; enqueueing an export needs reports:write. Continuing the Verve Skincare example from that section — Northshore Media’s owner key, one confirmed €10.00 sale plus one order still awaiting accrual:
curl — GET /subnetwork/reporting/transactions
curl -sS -G "https://app.affilitera.com/api/v1/subnetwork/reporting/transactions" \
-H "Authorization: Bearer $AFFILITERA_API_KEY" \
--data-urlencode "from=2026-05-01" \
--data-urlencode "to=2026-05-31"
response
{
"data_as_of": "2026-06-01T00:00:00Z",
"data": [
{
"transaction_id": "txn_84213",
"network": "awin",
"instance_id": "7c06a219-...",
"instance_public_id": "inst_9ViVV9aGEXa",
"brand_id": 50412,
"brand_name": "Verve Skincare",
"merchant_id": 501419,
"merchant_domain": "verveskincare.com",
"sn_sub": "creator_amy",
"sub_affiliate_number": 3,
"sn_sub_dimensions": null,
"sn_sub_resolution": "not_encoded",
"order_value": "200.00",
"declined_order_value": "0",
"remaining_order_value": "200.00",
"currency": "EUR",
"status": "approved",
"status_bucket": "confirmed",
"transaction_date": "2026-05-18",
"pool_commission": "10.00",
"original_commission": "10.00",
"declined_commission": "0",
"remaining_commission": "10.00",
"computed_owner_split": "6.00",
"computed_sub_split": "2.00",
"split_currency": "EUR"
},
{
"transaction_id": "txn_84240",
"network": "awin",
"instance_id": "7c06a219-...",
"instance_public_id": "inst_9ViVV9aGEXa",
"brand_id": 50412,
"brand_name": "Verve Skincare",
"merchant_id": 501419,
"merchant_domain": "verveskincare.com",
"sn_sub": "creator_amy",
"sub_affiliate_number": 3,
"sn_sub_dimensions": null,
"sn_sub_resolution": "not_encoded",
"order_value": "64.00",
"declined_order_value": "0",
"remaining_order_value": "64.00",
"currency": "EUR",
"status": "pending",
"status_bucket": "pending",
"transaction_date": "2026-05-31",
"pool_commission": null,
"original_commission": null,
"declined_commission": null,
"remaining_commission": null,
"computed_owner_split": null,
"computed_sub_split": null,
"split_currency": null
}
],
"next_cursor": null,
"has_more": false,
"total": null,
"limit": 50,
"limit_clamped": false,
"limit_max": 100,
"request_id": "req_b3a8ef61ded34b9b",
"_note": "Informational only — Affilitera does not disburse SubNetwork commission; owners are paid by their own networks. Per-currency, never cross-summed."
}
txn_84213 is the confirmed Verve Skincare sale from the guide above — read computed_owner_split (€6.00) against split_currency (EUR), not the sibling currency field. txn_84240 placed on May 31st and has not accrued yet, so all four split fields are null — not €0.00 — exactly as the guide above describes.
instance_public_id is the durable handle for the network connection this sale ran through — the same value GET /instance, /brands, /products and /feeds emit, so you can join a transaction back to your catalogue without holding the internal instance_id uuid. sn_sub_resolution is null only when the row carries no sn_sub at all; otherwise it is not_encoded for a plain sub-id like creator_amy, or resolved/unresolved when sn_sub packs several registered sub-ids and this row states whether that pack could be decoded — unresolved is the value worth alerting on, since it means a packed sub-id arrived that could not be trusted.
brand_id is the brand’s number: a positive integer that stays the same when a network is disconnected and reconnected, so it is safe to store. It is the only brand id the API serves, and the only one every brand_id parameter accepts — a uuid or a brd_ handle is refused with a 400. Affiliate ids work the same way: affiliate_id on /v1/affiliate/* is the affiliate’s number. An affiliate in your own network keeps the name you give it (sn_sub) and also has a number, sub_affiliate_number, which you may send instead of the name.
merchant_id is the network’s own id for the advertiser, and its type is integer | string | null. The type varies by network because network ids do: where the id is genuinely an integer it is a JSON integer (501419), and where it is not it is the network’s string, unchanged. One connection can serve both kinds on different rows, so check the type per row. Leading zeros, a sign or whitespace keep an id a string ("007" is not 7), and any id above 9007199254740991 is always a string, because a JSON number that large loses digits. The same rule applies on every endpoint that carries merchant_id.
For Impact, merchant_id is the AdvertiserId (the brand), not the CampaignId (the program). One Impact advertiser can run several programs, each its own row with its own brand_id, so several rows can carry the same merchant_id. That is correct, not a duplicate: key per program on brand_id. Linkbux works the same way: merchant_id is its advertiser id, mid, not the program mcid.
For every other network, merchant_id is the id that network itself gives the brand: an advertiser, program or offer id, depending on how that network keys its catalogue. It is never one of our ids. Our own identifiers have their own fields (brand_id, merchant_number) and never appear in merchant_id. So a brand no network issued an id to, such as an advertiser running its program directly on Affilitera, has merchant_id: null.
GET /subnetwork/reporting/summary aggregates the same underlying rows, grouped by whatever you ask for (brand, sn_sub, date), still within currency and still per your own instances:
curl — GET /subnetwork/reporting/summary
curl -sS -G "https://app.affilitera.com/api/v1/subnetwork/reporting/summary" \
-H "Authorization: Bearer $AFFILITERA_API_KEY" \
--data-urlencode "group_by=brand" \
--data-urlencode "from=2026-05-01" \
--data-urlencode "to=2026-05-31"
response
{
"data_as_of": "2026-06-01T00:00:00Z",
"group_by": ["brand"],
"data": [
{
"group": {
"network": "awin",
"instance_id": "7c06a219-...",
"instance_public_id": "inst_9ViVV9aGEXa",
"brand_id": 50412,
"brand_name": "Verve Skincare",
"merchant_id": 501419,
"merchant_domain": "verveskincare.com"
},
"currency": "EUR",
"orders": 2,
"orders_accrued": 1,
"orders_not_yet_accrued": 1,
"orders_accrual_unresolved": 0,
"commission_totals_partial": true,
"order_value_total": "264.00",
"declined_order_value_total": "0.00",
"remaining_order_value_total": "264.00",
"pool_commission_total": "10.00",
"computed_owner_split_total": "6.00",
"computed_sub_split_total": "2.00",
"by_status": { "confirmed": "6.00", "pending": "0.00", "reversed": "0.00" }
}
],
"truncated": false,
"next_cursor": null,
"has_more": false,
"total": 1,
"limit": 50,
"limit_clamped": false,
"limit_max": 10000,
"request_id": "req_e114a2f9c8b64a11",
"_note": "Informational only — Affilitera does not disburse SubNetwork commission; owners are paid by their own networks. Per-currency, never cross-summed."
}
A bucket total is a total over orders_accrued, never over orders
orders counts every order in the bucket. The commission figures — pool_commission_total, computed_owner_split_total, computed_sub_split_total and all three by_status values — only ever received a contribution from the orders that have actually accrued. An order we have not resolved a split for yet contributes nothing, so it is counted in orders and absent from the money. Three counts tell you exactly how the bucket divides:
orders_accrued — a split was resolved in the bucket’s currency and its amounts are in the totals. This may legitimately be a €0.00 contribution: that means we resolved the split and the answer was genuinely nothing.orders_not_yet_accrued — no split yet, most commonly a sale from the last day or two. This resolves itself; ask again later.orders_accrual_unresolved — a split exists but not in this bucket’s currency, so we decline to fold it in rather than guess. This does not resolve itself. If you ever see a non-zero count here, tell us.
The three always sum to orders. commission_totals_partial is the derived shortcut — true whenever orders_accrued is less than orders, which is your signal that the commission figures in this bucket are a subtotal rather than a period total. order_value_total is never partial: order value comes from the order itself and does not wait on accrual.
When orders_accrued is 0, the commission figures are null, not "0.00". Nothing contributed, so there is no sum — and reporting one as zero is precisely the coercion this API tells you never to make. Read null here the same way you read a null split on GET /subnetwork/reporting/transactions: we do not have this yet.
On rare occasions this endpoint and GET /subnetwork/reporting/transactions classify one order differently — an order whose only split is in a currency other than the one it resolved to is counted orders_accrual_unresolved here, while the per-transaction view still shows you its single unambiguous split. Both are accurate about their own figure: the aggregate really did leave that order out of the total, and the row really does have a readable split.
Superseded 2026-08-25. This section previously carried a Known limitation notice stating that the bucket above folded txn_84240 in as if it contributed €0.00, that nothing in the response said so, and that you should pull /subnetwork/reporting/transactions and sum the non-null rows yourself if you needed to tell “not yet accrued” from “confirmed zero”. That disclosure was accurate when written. The fields above replace it: the response now states its own coverage, and the manual workaround is no longer necessary.
A reversed order (status_bucket: "reversed") carries negative split amounts, clawing back what was previously accrued — not a deletion of the original row. Summing a currency’s by_status.reversed is how you see the clawback total for that bucket.