List offers for a community (admin+).
curl --request GET \
--url https://tryno.io/api/communities/{handle}/offers \
--cookie __session=const options = {method: 'GET', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/communities/{handle}/offers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/communities/{handle}/offers"
headers = {"cookie": "__session="}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"priceCents": 123,
"priceCurrency": "BRL",
"billingType": "one_time",
"provider": "stripe"
}
]{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}payments
List offers for a community (admin+).
GET
/
communities
/
{handle}
/
offers
List offers for a community (admin+).
curl --request GET \
--url https://tryno.io/api/communities/{handle}/offers \
--cookie __session=const options = {method: 'GET', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/communities/{handle}/offers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/communities/{handle}/offers"
headers = {"cookie": "__session="}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"priceCents": 123,
"priceCurrency": "BRL",
"billingType": "one_time",
"provider": "stripe"
}
]{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Autorizações
Clerk-managed session cookie (or the first-party tryno_session bridge cookie). Sent automatically by browsers on same-origin requests.

