{"openapi":"3.1.0","info":{"title":"CollegeSeats Broker API","version":"1.0.0","description":"Send inventory files and settle sales from your own system. Operations marked x-status: preview are designed but not live yet. Docs: https://collegeseats.com/developers","contact":{"email":"support@collegeseats.com"}},"servers":[{"url":"https://api.collegeseats.com"}],"tags":[{"name":"inventory","description":"Inventory files"},{"name":"listings","description":"Your listings"},{"name":"matching","description":"Games, sections and matches"},{"name":"sales","description":"Sales to confirm, decline and deliver"},{"name":"payouts","description":"Weekly payouts"}],"paths":{"/broker/feed/upload/{token}":{"put":{"operationId":"inventoryUploadLink","summary":"Send a file to your upload link","description":"Send your whole current inventory as a CSV. The file is applied before the response returns.\n\nThe body is the file itself, not a form. Everything in the file is listed or updated, and any listing of yours that is not in the file is taken down, so always send your full inventory.\n\nNo API key: the token in the link is the credential. Make the link in the portal; it is shown once, and making a new one turns the old one off at once.","tags":["inventory"],"x-status":"live","security":[],"parameters":[{"name":"token","in":"path","required":true,"description":"Your upload link token, starting bkf_.","schema":{"type":"string","description":"Your upload link token, starting bkf_."}},{"name":"file_name","in":"query","required":false,"description":"Shown on the Feed screen so you can tell files apart.","schema":{"type":"string","description":"Shown on the Feed screen so you can tell files apart."}}],"requestBody":{"required":true,"content":{"text/csv":{"schema":{"type":"string","description":"The inventory file."},"example":"TicketID,Event,Venue,EventDate,EventTime,Section,Row,SeatFrom,SeatThru,Quantity,Price,InHandDate,Format,SplitType,Notes\n48117,Georgia vs. Tennessee,Sanford Stadium,09/11/2027,3:30 PM,214,8,3,4,2,78.00,09/04/2027,mobile_transfer,None,Aisle\n48126,Georgia vs. Tennessee,Sanford Stadium,09/11/2027,3:30 PM,227,30,1,6,6,41.00,,mobile_transfer,NeverLeaveOne,"}}},"responses":{"200":{"description":"The file object. A file we could not read at all also returns 200, with status failed and no listing changed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/File"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"upload_link_not_found: The link was replaced or never existed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"file_too_large: Over 10 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: More than 30 files in 10 minutes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker/feed/check":{"post":{"operationId":"inventoryCheck","summary":"Check a file","description":"See how we would read a file before you send it for real. No account needed; nothing is stored.\n\nUse it while you build your export: it reports which of your headers we read, which we ignore, every row we would skip and why, and the first rows as we read them. Game and section matching needs your account, so it is not part of a check.\n\nThe file checker in these docs is this endpoint.","tags":["inventory"],"x-status":"live","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","description":"The file’s text, up to 10 MB."},"file_name":{"type":"string","description":"For your own reference."}},"required":["content"]},"example":{"file_name":"inventory.csv","content":"TicketID,EventDate,Section,Row,Quantity,Price\n48117,09/11/2027,214,8,2,78.00\n"}}}},"responses":{"200":{"description":"The file check object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileCheck"}}}},"429":{"description":"rate_limited: More than 20 checks in 10 minutes from one address.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/inventory":{"put":{"operationId":"inventorySend","summary":"Send a file with your API key","description":"The upload link, authenticated with your API key instead of a token in the URL.\n\nSame file, same rules and the same response as the upload link. Use whichever fits your system.","tags":["inventory"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"file_name","in":"query","required":false,"description":"Shown on the Feed screen.","schema":{"type":"string","description":"Shown on the Feed screen."}}],"requestBody":{"required":true,"content":{"text/csv":{"schema":{"type":"string","description":"The inventory file."},"example":"TicketID,Event,Venue,EventDate,EventTime,Section,Row,SeatFrom,SeatThru,Quantity,Price,InHandDate,Format,SplitType,Notes\n48117,Georgia vs. Tennessee,Sanford Stadium,09/11/2027,3:30 PM,214,8,3,4,2,78.00,09/04/2027,mobile_transfer,None,Aisle\n48126,Georgia vs. Tennessee,Sanford Stadium,09/11/2027,3:30 PM,227,30,1,6,6,41.00,,mobile_transfer,NeverLeaveOne,"}}},"responses":{"200":{"description":"The file object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/File"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"file_too_large: Over 10 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/inventory/files":{"get":{"operationId":"inventoryFiles","summary":"List files","description":"Your recent files, newest first.","tags":["inventory"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"1 to 100. Default 25.","schema":{"type":"integer","description":"1 to 100. Default 25."}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string","description":"next_cursor from the previous page."}}],"responses":{"200":{"description":"A page of file objects, without their issues.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/File"}},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}}}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/inventory/files/{file_id}":{"get":{"operationId":"inventoryFile","summary":"Retrieve a file","description":"One file, with every issue.","tags":["inventory"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"file_id","in":"path","required":true,"description":"The file’s id.","schema":{"type":"string","format":"uuid","description":"The file’s id."}}],"responses":{"200":{"description":"The file object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/File"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"feed_file_not_found: No file of yours has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/listings":{"get":{"operationId":"listingsList","summary":"List listings","description":"Your ticket groups as buyers see them.","tags":["listings"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"event_id","in":"query","required":false,"description":"Only this game.","schema":{"type":"string","format":"uuid","description":"Only this game."}},{"name":"status","in":"query","required":false,"description":"Only this status.","schema":{"type":"string","enum":["active","partially_sold","held","sold","removed"],"description":"Only this status."}},{"name":"limit","in":"query","required":false,"description":"1 to 100. Default 25.","schema":{"type":"integer","description":"1 to 100. Default 25."}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string","description":"next_cursor from the previous page."}}],"responses":{"200":{"description":"A page of listing objects.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Listing"}},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}}}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/listings/{your_id}":{"patch":{"operationId":"listingsUpdate","summary":"Update a listing","description":"Change one group’s price or quantity between files.\n\nYour next file wins: send the same change in it, or the file sets the group back.","tags":["listings"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"your_id","in":"path","required":true,"description":"Your ticket ID.","schema":{"type":"string","description":"Your ticket ID."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"price":{"type":"string","pattern":"^\\d+\\.\\d{2}$","description":"New price per ticket. At least 6.00."},"quantity":{"type":"integer","description":"Tickets still available. Lower only."}},"required":[]},"example":{"price":"74.00"}}}},"responses":{"200":{"description":"The listing object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Listing"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"listing_not_found: No listing of yours has this ID.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"listingsWithdraw","summary":"Take a listing down","description":"Take one group down at once, between files, when it sells somewhere else.\n\nThe fastest way to avoid selling seats you no longer have. Declined sales count toward your record; a listing taken down cannot be bought.","tags":["listings"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"your_id","in":"path","required":true,"description":"Your ticket ID.","schema":{"type":"string","description":"Your ticket ID."}}],"responses":{"200":{"description":"The listing object, status removed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Listing"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"listing_not_found: No listing of yours has this ID.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"sale_in_progress: A buyer is checking out. Decline the sale instead if it reaches you.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/matches/needed":{"get":{"operationId":"matchingUnmatched","summary":"List rows that need a match","description":"Rows from your latest file that we could not place on a game or a section.","tags":["matching"],"x-status":"preview","security":[{"apiKey":[]}],"responses":{"200":{"description":"Each row, with what is missing and our best candidates.","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/matches/event":{"post":{"operationId":"matchingEvent","summary":"Match an event","description":"Say which game your event text means. Remembered for every later file.","tags":["matching"],"x-status":"preview","security":[{"apiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"event_text":{"type":"string","description":"The Event column exactly as your file has it."},"event_date":{"type":"string","format":"date","description":"The date in your file."},"event_id":{"type":"string","format":"uuid","description":"Our game. See List games."}},"required":["event_text","event_date","event_id"]},"example":{"event_text":"UGA v AUB","event_date":"2027-10-02","event_id":"5a3f0c2e-1f8b-4e2a-9c67-0e8d1b7a2c55"}}}},"responses":{"200":{"description":"The match. Your next file uses it.","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"event_not_found: No such game.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/matches/section":{"post":{"operationId":"matchingSection","summary":"Match a section","description":"Say which section on our map your section name means, at that venue.","tags":["matching"],"x-status":"preview","security":[{"apiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"event_id":{"type":"string","format":"uuid","description":"Any game at the venue."},"section":{"type":"string","description":"Your section name."},"section_code":{"type":"string","description":"Ours. See List sections."}},"required":["event_id","section","section_code"]},"example":{"event_id":"0b4d0e43-6d55-4b8e-a0f4-8d0a7f2c4b10","section":"227 Upper","section_code":"227"}}}},"responses":{"200":{"description":"The match.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"section_not_found: That section is not on the venue’s map.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"event_not_found: No such game.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/events":{"get":{"operationId":"eventsList","summary":"List games","description":"Games on CollegeSeats, to find the id for a match.","tags":["matching"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"date","in":"query","required":false,"description":"Games on this local date.","schema":{"type":"string","format":"date","description":"Games on this local date."}},{"name":"q","in":"query","required":false,"description":"Team or venue words, for example \"georgia\".","schema":{"type":"string","description":"Team or venue words, for example \"georgia\"."}},{"name":"sport","in":"query","required":false,"description":"football, basketball, womens_basketball and so on.","schema":{"type":"string","description":"football, basketball, womens_basketball and so on."}},{"name":"limit","in":"query","required":false,"description":"1 to 100. Default 25.","schema":{"type":"integer","description":"1 to 100. Default 25."}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string","description":"next_cursor from the previous page."}}],"responses":{"200":{"description":"A page of event objects.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}}}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/events/{event_id}/sections":{"get":{"operationId":"eventsSections","summary":"List sections","description":"The sections on a game’s stadium map, with their rows.","tags":["matching"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"description":"The game.","schema":{"type":"string","format":"uuid","description":"The game."}}],"responses":{"200":{"description":"Every sellable section.","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"event_not_found: No such game.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/sales":{"get":{"operationId":"salesList","summary":"List sales","description":"Your sales, oldest first. Poll this as a fallback to webhooks.","tags":["sales"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"status","in":"query","required":false,"description":"Only this status.","schema":{"type":"string","enum":["awaiting_confirmation","confirmed","delivered","declined","expired","cancelled"],"description":"Only this status."}},{"name":"since","in":"query","required":false,"description":"Created at or after.","schema":{"type":"string","format":"date-time","description":"Created at or after."}},{"name":"limit","in":"query","required":false,"description":"1 to 100. Default 25.","schema":{"type":"integer","description":"1 to 100. Default 25."}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string","description":"next_cursor from the previous page."}}],"responses":{"200":{"description":"A page of sale objects.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Sale"}},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}}}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/sales/{sale_id}":{"get":{"operationId":"salesRetrieve","summary":"Retrieve a sale","description":"One sale.","tags":["sales"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"sale_id","in":"path","required":true,"description":"The sale, for example sl_7Q2K9.","schema":{"type":"string","description":"The sale, for example sl_7Q2K9."}}],"responses":{"200":{"description":"The sale object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sale"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"sale_not_found: No sale of yours has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/sales/{sale_id}/confirm":{"post":{"operationId":"salesConfirm","summary":"Confirm a sale","description":"Accept the sale. The buyer is charged now, and you are committed to deliver.\n\nSafe to retry: confirming a confirmed sale returns it unchanged. Confirm before confirm_by, or the sale expires and the buyer is not charged.","tags":["sales"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"sale_id","in":"path","required":true,"description":"The sale, for example sl_7Q2K9.","schema":{"type":"string","description":"The sale, for example sl_7Q2K9."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seats":{"type":"array","items":{"type":"string","description":"The seats you will deliver, when your file did not say. One per ticket."},"description":"The seats you will deliver, when your file did not say. One per ticket."}},"required":[]},"example":{"seats":["3","4"]}}}},"responses":{"200":{"description":"The sale object, status confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sale"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"payment_failed: The buyer’s card could not be charged. The sale is cancelled; nothing is owed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"sale_not_found: No sale of yours has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"sale_not_pending: Already declined, expired or cancelled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/sales/{sale_id}/decline":{"post":{"operationId":"salesDecline","summary":"Decline a sale","description":"Turn the sale down. The buyer is not charged.\n\nDeclines count toward your record. Take listings down as soon as they sell elsewhere to avoid them.","tags":["sales"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"sale_id","in":"path","required":true,"description":"The sale, for example sl_7Q2K9.","schema":{"type":"string","description":"The sale, for example sl_7Q2K9."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","enum":["sold_elsewhere","price_error","other"],"description":"Why."},"note":{"type":"string","description":"Anything we should know."}},"required":["reason"]},"example":{"reason":"sold_elsewhere"}}}},"responses":{"200":{"description":"The sale object, status declined.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sale"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"sale_not_found: No sale of yours has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"sale_not_pending: Already confirmed, expired or cancelled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/sales/{sale_id}/delivery":{"post":{"operationId":"salesDeliver","summary":"Report a delivery","description":"Tell us the tickets went out: a transfer you sent, a transfer link, or PDF files.\n\nFor PDFs, send multipart/form-data with one file per ticket in files[] and method=pdf. Keep proof of every transfer; we may ask for it.","tags":["sales"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"sale_id","in":"path","required":true,"description":"The sale, for example sl_7Q2K9.","schema":{"type":"string","description":"The sale, for example sl_7Q2K9."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"method":{"type":"string","enum":["mobile_transfer","transfer_link","pdf","mobile_qr"],"description":"How you delivered."},"sent_at":{"type":"string","format":"date-time","description":"When the transfer was sent. Default now."},"transfer_link":{"type":"string","description":"The link, for transfer_link."}},"required":["method"]},"example":{"method":"mobile_transfer","sent_at":"2027-09-02T14:05:00Z"}}}},"responses":{"200":{"description":"The sale object, status delivered.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sale"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"sale_not_found: No sale of yours has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"sale_not_confirmed: Confirm the sale first.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/payouts":{"get":{"operationId":"payoutsList","summary":"List payouts","description":"Your weekly payouts, newest first.","tags":["payouts"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"1 to 100. Default 25.","schema":{"type":"integer","description":"1 to 100. Default 25."}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string","description":"next_cursor from the previous page."}}],"responses":{"200":{"description":"A page of payout objects.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Payout"}},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}}}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/broker-api/v1/payouts/{payout_id}":{"get":{"operationId":"payoutsRetrieve","summary":"Retrieve a payout","description":"One payout, with the sales and adjustments in it.","tags":["payouts"],"x-status":"preview","security":[{"apiKey":[]}],"parameters":[{"name":"payout_id","in":"path","required":true,"description":"The payout, for example po_3M8XQ.","schema":{"type":"string","description":"The payout, for example po_3M8XQ."}}],"responses":{"200":{"description":"The payout object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payout"}}}},"401":{"description":"invalid_api_key: The key is missing, revoked or wrong.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"broker_not_approved: The broker account is not approved, or is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"payout_not_found: No payout of yours has this id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: Over the rate limit. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"csk_live_ or csk_test_ key from the portal."}},"schemas":{"File":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The file’s id."},"received_via":{"type":"string","enum":["upload_link","portal","sftp","api"],"description":"How the file reached us."},"file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The name you sent with it, if any."},"status":{"type":"string","enum":["processed","failed","held","released","superseded"],"description":"processed: we read the file and applied it, even if some rows were skipped. failed: we could not read it at all, and none of your listings changed. held: an automated file that would take down more than half of your listings (and more than 20), so nothing changed; apply it from the portal, or send a full file and it replaces this one (superseded). released: a held file you applied."},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Why a failed file failed, for example missing_columns."},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The same, written to show a person."},"rows_total":{"type":"integer","description":"Data rows in the file."},"rows_listed":{"type":"integer","description":"Ticket groups for sale after this file."},"rows_created":{"type":"integer","description":"Groups listed for the first time."},"rows_updated":{"type":"integer","description":"Groups whose price, seats or details changed."},"rows_removed":{"type":"integer","description":"Your listings taken down because this file no longer has them."},"rows_skipped":{"type":"integer","description":"Rows not listed. Each has an issue."},"rows_held":{"type":"integer","description":"Groups on file but shown through another exchange’s cheaper copy of the same seats. See Seats on other exchanges."},"received_at":{"type":"string","format":"date-time","description":"When the file arrived."},"issues":{"type":"array","items":{"$ref":"#/components/schemas/Issue"},"description":"Every row we skipped or listed with a caveat, in line order."}},"required":["id","received_via","status","rows_total","rows_listed","rows_created","rows_updated","rows_removed","rows_skipped","rows_held","received_at","issues"],"description":"One inventory file you sent, and what it did to your listings. Returned by every upload, and listed on the Feed screen in the portal."},"Issue":{"type":"object","properties":{"line":{"type":"integer","description":"The line in your file, counting the header as line 1."},"ticket_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your ticket ID for the row, when it had one."},"code":{"type":"string","description":"A stable code to branch on. See Results and issues for every code."},"severity":{"type":"string","enum":["skipped","warning"],"description":"skipped: the row was not listed. warning: it was listed, with a caveat."},"message":{"type":"string","description":"What happened, written to show a person."}},"required":["line","code","severity","message"],"description":"A row of a file that was not listed, or was listed with a caveat."},"FileCheck":{"type":"object","properties":{"status":{"type":"string","enum":["ok","failed"],"description":"failed when the file cannot be read at all."},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Why it failed."},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The same, for a person."},"columns":{"type":"object","additionalProperties":{"type":"string"},"description":"Each field we read, and the header in your file it was read from, for example {\"price\": \"List Price\"}."},"ignored_columns":{"type":"array","items":{"type":"string","description":"Headers we do not use."},"description":"Headers we do not use."},"rows_total":{"type":"integer","description":"Data rows in the file."},"rows_ok":{"type":"integer","description":"Rows that read cleanly."},"issues":{"type":"array","items":{"$ref":"#/components/schemas/Issue"},"description":"Rows that would be skipped, first 500."},"sample":{"type":"array","items":{"type":"object"},"description":"The first five rows as we read them: dates, seats, format and the quantities a buyer could take."}},"required":["status","columns","ignored_columns","rows_total","rows_ok","issues","sample"],"description":"How a file would be read, with no account and nothing stored. Matching rows to games needs your account, so a check does not include it."},"Listing":{"type":"object","properties":{"your_id":{"type":"string","description":"Your ticket ID from the file."},"event":{"$ref":"#/components/schemas/Event","description":"The game it is listed for."},"section":{"type":"string","description":"Our section code when it is on the map, otherwise your spelling."},"on_map":{"type":"boolean","description":"Whether buyers see it on the stadium map."},"row":{"type":"string","description":"The row."},"seats":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The seats, when your file gave a range that fits."}},{"type":"null"}],"description":"The seats, when your file gave a range that fits."},"quantity":{"type":"integer","description":"Tickets in the group."},"available":{"type":"integer","description":"Tickets still for sale."},"price":{"type":"string","pattern":"^\\d+\\.\\d{2}$","description":"Your price per ticket, before our buyer fee."},"status":{"type":"string","enum":["active","partially_sold","held","sold","removed"],"description":"held: another exchange’s cheaper copy of the same seats is shown instead."},"updated_at":{"type":"string","format":"date-time","description":"Last changed by a file or the API."}},"required":["your_id","event","section","on_map","row","quantity","available","price","status","updated_at"],"description":"One of your ticket groups as buyers see it on CollegeSeats."},"Sale":{"type":"object","properties":{"sale_id":{"type":"string","description":"Our id for the sale, starting sl_."},"your_id":{"type":"string","description":"Your ticket ID from the file."},"event":{"$ref":"#/components/schemas/Event","description":"The game."},"section":{"type":"string","description":"Section."},"row":{"type":"string","description":"Row."},"quantity":{"type":"integer","description":"Tickets sold."},"price":{"type":"string","pattern":"^\\d+\\.\\d{2}$","description":"Your price per ticket."},"payout":{"type":"string","pattern":"^\\d+\\.\\d{2}$","description":"What you are paid for the sale, after any seller fee."},"status":{"type":"string","enum":["awaiting_confirmation","confirmed","delivered","declined","expired","cancelled"],"description":"Where the sale is. expired: not confirmed in time; the buyer was not charged."},"confirm_by":{"type":"string","format":"date-time","description":"Confirm or decline before this: up to 12 hours after the sale, shorter as kickoff gets close."},"deliver_by":{"type":"string","format":"date-time","description":"When delivery is due under the broker terms."},"buyer":{"type":"object","properties":{"name":{"type":"string","description":"The buyer’s name."},"email":{"type":"string","description":"The email to transfer the tickets to."}},"required":["name","email"],"description":"Who to transfer to."},"created_at":{"type":"string","format":"date-time","description":"When the buyer paid."}},"required":["sale_id","your_id","event","section","row","quantity","price","payout","status","confirm_by","deliver_by","buyer","created_at"],"description":"A buyer’s purchase of one of your listings. The buyer’s card is held, not charged, until you confirm."},"Payout":{"type":"object","properties":{"id":{"type":"string","description":"Our id for the payout, starting po_."},"period_start":{"type":"string","format":"date","description":"The Sunday the week starts."},"period_end":{"type":"string","format":"date","description":"The Saturday it ends."},"amount":{"type":"string","pattern":"^\\d+\\.\\d{2}$","description":"Paid to your bank."},"sales":{"type":"integer","description":"Sales in the payout."},"adjustments":{"type":"string","pattern":"^\\d+\\.\\d{2}$","description":"Charges and credits under the broker terms, negative for a charge."},"status":{"type":"string","enum":["scheduled","paid","failed"],"description":"Where the payment is."},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When it left us."}},"required":["id","period_start","period_end","amount","sales","adjustments","status"],"description":"A weekly payment to your bank: the sales you delivered Sunday through Saturday (Eastern), paid the following Wednesday once each buyer's payment has cleared. A sale that has not cleared by the Tuesday moves to the next payout, and a bank holiday moves payday to the next business day."},"Event":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Our id for the game."},"name":{"type":"string","description":"Home team vs. away team."},"sport":{"type":"string","description":"football, basketball, womens_basketball, baseball and so on."},"starts_at":{"type":"string","format":"date-time","description":"Kickoff or tip-off, in UTC."},"time_confirmed":{"type":"boolean","description":"false while the start time is still TBA."},"venue":{"type":"object","properties":{"id":{"type":"string","description":"Our venue code."},"name":{"type":"string","description":"Venue name."},"city":{"type":"string","description":"City."},"state":{"type":"string","description":"Two-letter state."}},"required":["id","name","city","state"],"description":"Where it is played."}},"required":["id","name","sport","starts_at","time_confirmed","venue"],"description":"A game on CollegeSeats. Use the id to match a row of yours by hand."},"Error":{"type":"object","properties":{"detail":{"type":"object","properties":{"code":{"type":"string","description":"Stable. Safe to branch on."},"message":{"type":"string","description":"May change wording. Show it, do not parse it."}},"required":["code","message"],"description":"The error."}},"required":["detail"],"description":"Every error has the same shape: a stable code to branch on and a message to show a person."}}}}