Team Payments

Disconnect payment processor

Changed on

Remove the payment processor connection from a team. Future ticket sales will use the platform account. Only the team owner can disconnect the payment processor.

post/teams/{key}/payment/disconnect

Request

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

Path parameters

key, string required

Team identifier (ID or slug)

Response

OK

object required

Team organization that owns promoters and venues. Multiple brands can exist under one team.

id, string required

Unique identifier for the team organization

createdAt, string date-time required

Timestamp in ISO 8601 format when the team was created

updatedAt, string date-time required

Timestamp in ISO 8601 format when the team was last updated

name, string required

Display name of the team organization. Must be between 3 and 30 characters

slug, string required

URL-friendly slug for the team organization. Must be unique within tenant and between 3 and 30 characters

supportEmail, string email

Support email address for customer inquiries. Used as reply-to address in order confirmation emails

publicBaseUrl, string uri

Optional public website base URL for team-owned event and order links. When present, it overrides the tenant public base URL.

image, object

Team image with dimensions and alt text for branding across the platform

metadata, object

Flexible key-value metadata storage for custom configuration. Similar to Stripe's metadata API. Maximum 50 keys, key names up to 40 characters, values up to 500 characters.

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

Approval status of the team. PENDING: awaiting review, APPROVED: can create promoters/venues/events, REJECTED: cannot operate

deletedAt, string date-time

Timestamp in ISO 8601 format when the team was soft deleted. Only present for deleted teams.

tenantId, string required

Tenant ID for multi-tenant isolation

isAdmin, boolean

Whether this team is the admin team for the tenant

isDemo, boolean required

Whether this team is protected seeded demo data

gateway, object

Connected payment gateway for direct payouts. When connected, funds from ticket sales go directly to the team's account with platform fees deducted.

Example response

{
  "publicBaseUrl": "https://sash.net.au",
  "image": {
    "src": "https://assets.session.services/my-image.jpg",
    "alt": "My Image",
    "width": 1080,
    "height": 1080
  }
}

Changes

    • info

      added the optional property gateway/readiness to the response with the status

    • info

      the gateway/eventIds/items response's property pattern ^evt_[0-9a-z]{26}$ was added for the status

    • info

      the id response's property pattern ^tem_[0-9a-z]{26}$ was added for the status