---
title: "GET /api/third/exchange/validate"
method: GET
path: "/api/third/exchange/validate"
tags: ["api", "third"]
---

# GET /api/third/exchange/validate

`GET /api/third/exchange/validate`

Validate a ticket by its barcode

## Query parameters

- `barcode` string — The barcode of the ticket to be validated
- `ticketId` string — The ID of the ticket to be validated
- `eventId` string — The ID of the event that the ticket is for

## Response `200`

OK

- GETThirdValidateATicketByItsBarcode200Response
  - `id` string, required — The ID of the ticket
  - `_id` string, required — The ID of the ticket
  - `barcode` string, required — The barcode of the ticket
  - `swappable` boolean, required — If the ticket is swappable or not
  - `valid` boolean, required — If the ticket is valid or not
  - `event` object — The corresponding event to the ticket
    - `id` string, required — The ID of the event
    - `name` string, required — The name of the event
    - `start` string, date-time, required — The end date of the event
    - `end` string, date-time, required — The start date of the event
    - `eventUrl` string, uri — The URL to the ticketshop
  - `type` object — Tickettype of the found ticket
    - `id` string, required — The ID of the tickettype
    - `name` string, required — The name of the tickettype
    - `price` number, float, required — The base price of the tickettype
    - `fee` number, float, required — The service fee on top of the base price
    - `currency` 'EUR' | 'USD' | 'GBP' | 'AUD' | 'CHF' | 'THB' | 'ILS' | 'COP' | 'MXN' | 'DKK' | 'NOK' | 'SEK' | 'QAR' | 'CAD' | 'ISK' | 'GTQ' | 'INR' | 'DOP' | 'SGD' | 'PLN' | 'SAR' | 'TTD' | 'ZAR' | 'KYD' | 'HKD' | 'CZK' | 'KRW' | 'JPY' | 'NZD' | 'AED' | 'MAD' | 'TWD' | 'BRL' | 'BWP' | 'NAD' | 'KES' | 'SCR' | 'TRY' | 'SZL' | 'LSL' | 'TZS' | 'UGX' | 'ZMW' | 'ZWG' | 'GHS' | 'NGN' | 'SLE' | 'LRD' | 'XOF' | 'XAF' | 'GEL' | 'IDR' | 'ARS' | 'CRC' | 'HUF' | 'EGP' | 'MYR' | 'VND' | 'PHP' | 'MWK' — The currency for the prices

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
