Skip to content

REST API v2. Authenticate with a Bearer JWT in the Authorization header unless an endpoint is marked public.

Servers​

https://v2-staging.tscheckout.comCurrent host

Get sales report summary (KPI cards with prior-period delta and sparkline)​

GET
/api/v2/report/sales/summary

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

Sales summary data

application/json
JSON
"string"

Playground​

Authorization

Samples​


Get per-day sales aggregation for charting (revenue or tickets)​

GET
/api/v2/report/sales/charts

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

Chart data points

application/json
JSON
"string"

Playground​

Authorization

Samples​


Get sales datatable (per-event breakdown with fees; default sort revenue desc)​

GET
/api/v2/report/sales/sales

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

Sales data

application/json
JSON
"string"

Playground​

Authorization

Samples​


Get transaction datatable (per-transaction line items)​

GET
/api/v2/report/sales/transaction

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

Transaction data

application/json
JSON
"string"

Playground​

Authorization

Samples​


Get revenue datatable (per-event revenue metrics)​

GET
/api/v2/report/sales/revenue

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

Revenue data

application/json
JSON
"string"

Playground​

Authorization

Samples​


Get VAT datatable (per-transaction VAT breakdown)​

GET
/api/v2/report/sales/vat

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

VAT data

application/json
JSON
"string"

Playground​

Authorization

Samples​


Export a report type as a downloadable CSV​

GET
/api/v2/report/sales/export

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Query Parameters

type*

Which datatable to export.

Type
string
Required
Valid values
"sales""transaction""revenue""vat"

Responses​

CSV file download (async=0) or export job record (async=1)

text/csv

Playground​

Authorization
Variables
Key
Value

Samples​


Powered by VitePress OpenAPI