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
{
"currencyCode": "<string>",
"data": [
{
"amount": 123,
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalVendorId": "<string>",
"interactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"interactionType": "Impression",
"productId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"vendorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"endDate": "2023-11-07T05:31:56Z",
"startDate": "2023-11-07T05:31:56Z"
}
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
The response is of type object
.
curl --request GET \
--url https://api.topsort.com/public/v1/billing-service/vendor-charges
{
"currencyCode": "<string>",
"data": [
{
"amount": 123,
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalVendorId": "<string>",
"interactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"interactionType": "Impression",
"productId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"vendorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"endDate": "2023-11-07T05:31:56Z",
"startDate": "2023-11-07T05:31:56Z"
}
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
{
"currencyCode": "<string>",
"data": [
{
"amount": 123,
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalVendorId": "<string>",
"interactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"interactionType": "Impression",
"productId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"vendorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"endDate": "2023-11-07T05:31:56Z",
"startDate": "2023-11-07T05:31:56Z"
}
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
The response is of type object
.
curl --request GET \
--url https://api.topsort.com/public/v1/billing-service/vendor-charges
{
"currencyCode": "<string>",
"data": [
{
"amount": 123,
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalVendorId": "<string>",
"interactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"interactionType": "Impression",
"productId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"vendorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"endDate": "2023-11-07T05:31:56Z",
"startDate": "2023-11-07T05:31:56Z"
}