curl --request GET \
--url https://api.topsort.com/public/v1/billing-service/vendor-charges \
--header 'Authorization: Bearer <token>'{
"data": [
{
"interactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"interactionType": "Impression",
"timestamp": "2023-11-07T05:31:56Z",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"productId": "<string>",
"vendorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 123,
"externalVendorId": "<string>",
"globalId": "<string>"
}
],
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"currencyCode": "<string>"
}Endpoint to Get Vendor Charges.
Please note this is a beta API and therefore it is subject to change.
curl --request GET \
--url https://api.topsort.com/public/v1/billing-service/vendor-charges \
--header 'Authorization: Bearer <token>'{
"data": [
{
"interactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"interactionType": "Impression",
"timestamp": "2023-11-07T05:31:56Z",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"productId": "<string>",
"vendorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 123,
"externalVendorId": "<string>",
"globalId": "<string>"
}
],
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"currencyCode": "<string>"
}A valid API key generated in Topsort's UI.
The start of the date range for which to retrieve. Must include the Timezone definition.
The end of the date range for which to retrieve. Must include the Timezone definition.
Successful Response
Show child attributes
click uuid
The type of the Interaction ID used in Vendor Charge.
Impression, Click, Exclusive Campaign, Attributed Purchase timestamp of the click
Campaign ID.
The product ID in Topsort.
The vendor's internal ID in Topsort.
Charged amount for a campaign. (In Local Marketplace Currency, ISO 4217 standard)
The vendor's external ID in Marketplace.
Global identifier for grouping vendors across marketplaces.
Query start date.
Query end date.
The marketplace currency's ISO 4217 code (e.g. USD).
3Was this page helpful?