Skip to content

Reference

Settlement

The statement of what an event took, kept back, refunded, owes the organizer and has paid out (owners and admins). Payouts are recorded by a person or agent and move no money.

View as Markdown

Every operation below is also in the OpenAPI document. One that names an MCP tool can be called through the MCP server; one that names none cannot.

The settlement statement: totals, payouts and what is still owed#

GET /v1/settlement

Operation id getSettlement. MCP tool get_settlement. SDK tickets.settlement.retrieve.

The settlement statement for an event or series: what it took, what was kept back as fees, refunded, owed to the organizer and already paid out.

Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has settlement.read (owner, admin).

ParameterInTypeDescription
eventquerystringAn id starting with evt_.
seriesquerystringEvery event with this series tag (one currency).
fromquerystring (date-time)Money records on or after this instant (an order's own payment counts at its paid time).
toquerystring (date-time)Money records before this instant.

Answers 200. The totals.

Fields (Settlement)

FieldTypeDescription
object *"settlement"
event *string | nullAn id starting with evt_.
series *string | null
events *array of stringThe events on the statement (one, or the series').
currency *CurrencyAn ISO 4217 currency in lower case. Every one listed has two minor digits.
from *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
to *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
as_of *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
totals *SettlementTotals
held_by_organizer *SettlementHeldThe totals' money on one side of who holds it. The two sides add up to the totals.
held_by_processor *SettlementHeldThe totals' money on one side of who holds it. The two sides add up to the totals.
processor_fees *objectWhat the card processor kept. Its own line: it is on no money record, so totals and lines do not include it.
platform_fee *objectWhat the platform keeps of these sales, out of the organizer's net. Its own line: it is on no money record, so totals and lines do not include it. Zero everywhere for an org with no platform fee.
fees_on_organizer_held *integerFees charged on money the organizer holds (held_by_organizer.fees). Stated on its own, and not taken off still_owed.
in_flight *objectMoney on its way, as of now, whatever the period.
payouts *object
still_owed *integer | nullheld_by_processor.net_to_organizer − payouts.received: money a processor holds and has not paid out, before any platform fee (what is left after it is platform_fee.net_after). Below 0 means more was paid out than it hol…
owed_to_others *integer | nullPass-through money (refund protection) held for someone else, in all: what buyers paid for it, less what was given back. Owed to them, never to the organizer, and not taken off by a payout. It does not reflect anything…
still_owed_exact *booleanfalse when some lines have no fee and tax split (totals.unsplit_*), or still_owed is null.
net_off_by_at_most *integer | nullHow far net_to_organizer and still_owed can be from the truth because of lines with no split: on each order with one, that money plus the fees it still shows. 0 with none. Null for a period, where the fees such a line t…
notes *array of stringWhat to know to read these figures, in words.

* required

The statement's lines: every order's money records#

GET /v1/settlement/lines

Operation id getSettlementLines. MCP tool get_settlement_lines. SDK tickets.settlement.lines.

The statement's lines: one per order with every money record on it. Page with cursor (this list pages forward only).

Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has settlement.read (owner, admin).

ParameterInTypeDescription
eventquerystringAn id starting with evt_.
seriesquerystringEvery event with this series tag (one currency).
fromquerystring (date-time)Money records on or after this instant (an order's own payment counts at its paid time).
toquerystring (date-time)Money records before this instant.
limitqueryintegerOrders per page, 1 to 100 (a page holds every line of those orders).
cursorquerystringnext_cursor of the page before.

Answers 200. A page of orders' lines.

Fields (SettlementLines)

FieldTypeDescription
object *"settlement_lines"
data *array of SettlementLine
has_more *boolean
next_cursor *string | nullPass as cursor for the page after; null on the last page.

* required

Recorded payouts#

GET /v1/settlement/payouts

Operation id listSettlementPayouts. MCP tool list_settlement_payouts. SDK tickets.settlement.payouts.

Payouts that have been recorded, filtered by event or series, voided ones included.

Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has settlement.read (owner, admin).

ParameterInTypeDescription
limitqueryintegerHow many to return, 1 to 100 (default 20).
starting_afterquerystringAn id from the page before: the page after it.
ending_beforequerystringAn id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other…
eventquerystringAn id starting with evt_.
seriesquerystring

Answers 200. A page of payouts, voided ones included.

Fields

FieldTypeDescription
object *"list"
data *array of SettlementPayoutThis page, newest first.
has_more *booleanTrue when there is another page: pass the last id as starting_after.
url *"/v1/settlement/payouts"The path this list came from (/v1/settlement/payouts).

* required

Record a payout (moves no money; the Idempotency-Key header is required)#

POST /v1/settlement/payouts

Operation id recordSettlementPayout. MCP tool record_settlement_payout. SDK tickets.settlement.recordPayout.

Records a payout someone made outside the system (it moves no money). Idempotency-Key is required, so a retry never records it twice.

Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has org.manage (owner, admin).

Request body (RecordPayoutInput)

FieldTypeDescription
eventstringAn id starting with evt_.
seriesstring
amount *MoneyAn amount of money: whole minor units (cents) and a currency. Never a float.
paid_on *stringA calendar date, YYYY-MM-DD, with no time and no zone (it never shifts a day).
method *"bank_transfer" | "check" | "cash" | "external" | "other"
referencestring
notestring

* required

JSON
{
  "event": "evt_yrd2027",
  "amount": {
    "amount": 20000,
    "currency": "usd"
  },
  "paid_on": "2027-03-05",
  "method": "bank_transfer",
  "reference": "ACH 1042"
}

Answers 201. The payout.

Fields (SettlementPayout)

FieldTypeDescription
object *"settlement_payout"
id *stringAn id starting with pyo_.
mode *"test" | "live"
event *string | nullAn id starting with evt_.
series *string | null
amount *MoneyAn amount of money: whole minor units (cents) and a currency. Never a float.
paid_on *stringThe day the money left (a date, never a time).
method *"bank_transfer" | "check" | "cash" | "external" | "other"
reference *string | nullThe bank reference, check number or similar.
note *string | null
status *"recorded" | "voided"
recorded_by *ActorWho made a change.
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
voided_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
voided_by *Actor | null
void_reason *string | null

* required

Errors of its own. currency_mismatch. The errors every operation can answer are on the errors page.

Void a payout recorded by mistake#

POST /v1/settlement/payouts/{id}/void

Operation id voidSettlementPayout. MCP tool void_settlement_payout. SDK tickets.settlement.voidPayout.

Voids a payout that was recorded by mistake, with a reason. The record stays, marked void.

Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has org.manage (owner, admin).

ParameterInTypeDescription
id *pathstringAn id starting with pyo_.

Request body (VoidPayoutInput)

FieldTypeDescription
reason *string

* required

JSON
{
  "reason": "Entered twice"
}

Answers 200. The voided payout.

Fields (SettlementPayout)

FieldTypeDescription
object *"settlement_payout"
id *stringAn id starting with pyo_.
mode *"test" | "live"
event *string | nullAn id starting with evt_.
series *string | null
amount *MoneyAn amount of money: whole minor units (cents) and a currency. Never a float.
paid_on *stringThe day the money left (a date, never a time).
method *"bank_transfer" | "check" | "cash" | "external" | "other"
reference *string | nullThe bank reference, check number or similar.
note *string | null
status *"recorded" | "voided"
recorded_by *ActorWho made a change.
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
voided_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
voided_by *Actor | null
void_reason *string | null

* required

Errors of its own. invalid_state_transition. The errors every operation can answer are on the errors page.