GET
/
public
/
v1
/
billing-service
/
vendor-charges
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"
}

Query Parameters

start_date
string
required

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

end_date
string
required

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

Response

200
application/json
Successful Response
currencyCode
string
required

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

Required string length: 3
data
object[]
required
endDate
string
required

Query end date.

startDate
string
required

Query start date.