Get sales terms and fees
curl --request GET \
--url https://private-api.tixyapp.com/sales/terms \
--header 'Authorization: Bearer <token>'import requests
url = "https://private-api.tixyapp.com/sales/terms"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://private-api.tixyapp.com/sales/terms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://private-api.tixyapp.com/sales/terms",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://private-api.tixyapp.com/sales/terms"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://private-api.tixyapp.com/sales/terms")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://private-api.tixyapp.com/sales/terms")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"default_fee": {
"percentage": 123,
"fixed": 123
},
"default_service_charge": {
"percentage": 123,
"fixed": 123
},
"event_specific_terms": [
{
"event_id": "<string>",
"event_name": "<string>",
"organizer_fee": {
"percentage": 123,
"fixed": 123
},
"service_charge": {
"percentage": 123,
"fixed": 123
}
}
]
}{
"message": "<string>",
"code": "<string>"
}{
"message": "<string>",
"code": "<string>"
}{
"message": "<string>",
"code": "<string>"
}{
"message": "<string>",
"code": "<string>"
}Sales endpoints
Get sales terms and fees
Fetches all information related to sales terms and fees with Tixy. Includes: - Default fees paid by the organizer. - Default service charges paid by users purchasing tickets on the Tixy platform. - Specific services and fees applied to each event.
GET
/
sales
/
terms
Get sales terms and fees
curl --request GET \
--url https://private-api.tixyapp.com/sales/terms \
--header 'Authorization: Bearer <token>'import requests
url = "https://private-api.tixyapp.com/sales/terms"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://private-api.tixyapp.com/sales/terms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://private-api.tixyapp.com/sales/terms",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://private-api.tixyapp.com/sales/terms"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://private-api.tixyapp.com/sales/terms")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://private-api.tixyapp.com/sales/terms")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"default_fee": {
"percentage": 123,
"fixed": 123
},
"default_service_charge": {
"percentage": 123,
"fixed": 123
},
"event_specific_terms": [
{
"event_id": "<string>",
"event_name": "<string>",
"organizer_fee": {
"percentage": 123,
"fixed": 123
},
"service_charge": {
"percentage": 123,
"fixed": 123
}
}
]
}{
"message": "<string>",
"code": "<string>"
}{
"message": "<string>",
"code": "<string>"
}{
"message": "<string>",
"code": "<string>"
}{
"message": "<string>",
"code": "<string>"
}Authorizations
Custom Bearer token authentication for accessing private organizer endpoints.
Response
Successful response containing the sales terms and fee details.
Default fee structure paid by the organizer.
Show child attributes
Show child attributes
Default service charge structure paid by ticket buyers.
Show child attributes
Show child attributes
Specific terms and fees applied to each event.
Show child attributes
Show child attributes
⌘I