Skip to main content
GET
/
sales
/
events
Retrieve sales report for events by status
curl --request GET \
  --url https://private-api.tixyapp.com/sales/events \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "income": {
      "nettIncome": 123,
      "grossIncome": 123,
      "vatAmount": 123
    },
    "commission": {
      "amount": 123,
      "percentage": 123
    },
    "returns": {
      "nettReturns": 123,
      "grossReturns": 123,
      "returnedTicketsCount": 123,
      "returnedTicketsPercentage": 123
    },
    "vatRate": "<string>",
    "ticketSales": [
      {
        "poolName": "<string>",
        "combinedName": "<string>",
        "ticketName": "<string>",
        "ticketPrice": 123,
        "ticketSoldAmount": 123,
        "grossSales": 123,
        "tixyFee": 123,
        "withdraw": 123
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Custom Bearer token authentication for accessing private organizer endpoints.

Query Parameters

status
enum<string>

The status of the events to retrieve sales report for. If not specified, it defaults to all. Valid values are:

  • all: Fetch sales report for all events.
  • published: Fetch sales report for events currently published.
  • pastdue: Fetch sales report for events whose dates have passed.
Available options:
all,
published,
pastdue
from
string

The from date in the range of dates for the request. Must be a 24-character hexadecimal string. Note: dates should be in the format YYYY-MM-DD. If not provided, defaults to the earliest date available.

Example:

"2024-12-31"

to
string

The end date in the range of dates for the request. Must be a 24-character hexadecimal string. Note: dates should be in the format YYYY-MM-DD. If not provided, defaults to the current date.

Response

Successful response containing sales report for the specified events.

id
string
required

Unique identifier for the event.

name
string
required

Name of the event.

slug
string
required

Unique identifier for the event.

income
object
required

Default service charge structure paid by ticket buyers.

commission
object
required
returns
object
required
vatRate
string

VAT rate for the event.

ticketSales
object[]

Details about ticket sales including pricing, revenue, and fees.