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

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Path Parameters

external-vendor-id
string
required

The External ID of the Vendor to retrieve.

Minimum length: 1

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

Response body for the Vendor Account Activity fetch.

currencyCode
string
required
lines
AccountActivityLine · object[]
required