GET
/
public
/
v1
/
billing-service
/
vendors
/
{external-vendor-id}
/
account-activity
curl --request GET \
  --url https://api.topsort.com/public/v1/billing-service/vendors/{external-vendor-id}/account-activity
{
  "currencyCode": "<string>",
  "lines": [
    {
      "amount": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "reasonType": "<string>"
    }
  ]
}

Path Parameters

external-vendor-id
string
required

The External ID of the Vendor to retrieve.

Minimum length: 1

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

This is the Response body for the Vendor Account Activity fetch.

currencyCode
string
required
lines
object[]
required

Account Activity Lines have 3 reason types: 1.- Credit : single lines 2.- Topup : single lines 3.- Daily Ad Spend : aggregation by day