Payouts

Update a payout

Changed on

Update payout status or approval. Use approval field to approve or reject payouts.

patch/payouts/{id}

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Path parameters

id, string required

Unique identifier of the payout to update.

Example:pyt_01jps5cgsfv2wre6hd0rc4w4t8

Request body

object required
status, 'CANCELLED'

Optional new payment status for the payout. Only CANCELLED is allowed for manual updates.

approval, 'PENDING' | 'APPROVED' | 'REJECTED'

Optional new approval status for the payout. PENDING: awaiting approval, APPROVED: approved for processing, REJECTED: rejected.

Example request

{
  "status": "CANCELLED",
  "approval": "APPROVED"
}

Response

OK

Payout required

payout

id, string required

A unique identifier for this payout.

createdAt, string date-time required

Timestamp in ISO 8601 format when this payout was created.

updatedAt, string date-time required

Timestamp in ISO 8601 format when this payout was last updated.

statementPending, boolean

Whether the completed payout is awaiting its accounting statement snapshot.

statementVersion, integer

Version of the immutable issued statement, absent on legacy payouts.

paidAt, string date-time

Timestamp in ISO 8601 format when this payout was completed.

dueAt, string date-time

Earliest timestamp in ISO 8601 format when this payout can be picked up for processing. This is not a guaranteed bank arrival time.

status, 'UPCOMING' | 'FAILED' | 'PROCESSING' | 'PAID' | 'CANCELLED' required

Current payment status of this payout.

method, 'AIRWALLEX' | 'STRIPE' | 'MANUAL' required

The payout channel used for disbursing funds.

failedAttempts, integer

Failures since approval. After four failures an administrator must explicitly retry the payout. Absent on legacy payouts.

approval, 'PENDING' | 'APPROVED' | 'REJECTED' required

Approval status for this payout.

frequency, 'DAILY' | 'WEEKLY' | 'AFTER_EVENT' | 'ON_DEMAND'

Schedule on which this payout is generated.

structure, string required

Data structure defining how funds are allocated in this payout.

transfers, object[] required

List of individual transfer records included in this payout.

deductions, object[]

Deprecated legacy deductions applied before calculating the payout total. New recovery amounts are exposed through payout adjustments.

price, object required

Summary of event/order-derived amounts for this payout.

unsettled, object

Completed sales assigned to this payout that are still awaiting settlement.

unsettledCount, integer

Number of orders still awaiting settlement.

recovery, object

Optional recovery metadata when this payout exists to return settlement-proven recovered funds.

event, object required

Information about the event associated with this payout.

timeline, object[]

Chronological list of status changes and notes for this payout.

eventId, string required

Identifier of the event for which this payout was generated.

teamId, string required

Team receiving this payout. BREAKING CHANGE: Replaced promoterId/promoterSlug.

Example response

{
  "id": "pyt_01jps5cgsfv2wre6hd0rc4w4t8",
  "createdAt": "2026-12-02T02:43:23.597Z",
  "updatedAt": "2026-12-02T02:43:23.597Z",
  "paidAt": "2026-12-02T02:43:23.597Z",
  "dueAt": "2026-12-02T02:43:23.597Z",
  "status": "PAID",
  "method": "MANUAL",
  "approval": "APPROVED",
  "frequency": "AFTER_EVENT",
  "structure": "DEFAULT",
  "transfers": [
    {
      "id": "xfr_01jq8s6c38f97w9yfrfcdhf47v",
      "createdAt": "2026-12-02T02:43:23.597Z",
      "kind": "TICKETS",
      "amount": 1000,
      "currency": "AUD",
      "feeCurrency": "AUD",
      "reference": "XYZ",
      "gateway": "AIRWALLEX",
      "gatewayId": "fe33fb0f-d9d8-47cd-8eef-6a19bd6223eb",
      "beneficiary": "My Bank Account",
      "beneficiaryId": "ben_01jps5cgse5n6mg1ymkew9tsfh",
      "status": "SCHEDULED",
      "settlementAmount": 3550,
      "settlementCurrency": "USD"
    }
  ],
  "deductions": [
    {
      "id": "pdn_01jq8s6c38f97w9yfrfcdhf47v",
      "createdAt": "2026-12-02T02:43:23.597Z",
      "updatedAt": "2026-12-02T02:43:23.597Z",
      "amount": -1000,
      "currency": "AUD",
      "description": "Legacy payout deduction",
      "gateway": "AIRWALLEX",
      "gatewayId": "fe33fb0f-d9d8-47cd-8eef-6a19bd6223eb",
      "beneficiary": "My Bank Account",
      "beneficiaryId": "ben_01jps5cgse5n6mg1ymkew9tsfh"
    }
  ],
  "price": {
    "net": 1000,
    "total": 1000,
    "gross": 1000,
    "base": 1000,
    "currency": "AUD"
  },
  "unsettled": {
    "net": 1000,
    "total": 1000,
    "gross": 1000,
    "base": 1000,
    "currency": "AUD"
  },
  "event": {
    "id": "evt_01jps5cgsenjrazw6wswmyspa3",
    "name": "Test Event",
    "slug": "test-event",
    "location": "Watson's EQ"
  },
  "timeline": [
    {
      "id": "tl_01jgxyz123abc",
      "createdAt": "2026-12-02T02:43:23.597Z",
      "kind": "CREATED",
      "description": "Payout was created after event settlement",
      "author": "System",
      "userId": "usr_01jps5cgsd4tzjghtnt45qnhn0",
      "externalId": "airwallex:transfer_abc123:completed"
    }
  ],
  "eventId": "evt_01jps5cgsenjrazw6wswmyspa3"
}

Changes

    • breaking

      the createdAt response's property format changed from date-time to no format for status

    • breaking

      the deductions/items/amount response's property type changed from integer to number for status

    • breaking

      the deductions/items/createdAt response's property format changed from date-time to no format for status

    37 more changes in this revision