GET
/
public
/
v1
/
billing-service
/
vendor-charges
Get Vendor Charges
curl --request GET \
  --url https://api.topsort.com/public/v1/billing-service/vendor-charges \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Query Parameters

start_date
string<date-time>
required

The start of the date range for which to retrieve. Must include the Timezone definition.

end_date
string<date-time>
required

The end of the date range for which to retrieve. Must include the Timezone definition.

Response

Successful Response

currencyCode
string
required

The marketplace currency's ISO 4217 code (e.g. USD).

Required string length: 3
data
VendorCharge · object[]
required
endDate
string<date-time>
required

Query end date.

startDate
string<date-time>
required

Query start date.