{% extends "pretixcontrol/event/base.html" %} {% load i18n %} {% block title %}{% trans "Resale partner API" %}{% endblock %} {% block content %}

{% trans "Official resale partner API" %}

{% blocktrans %}The standard integration contract marketplaces like Tixel, TicketSwap and Twickets use with primary ticketers: they validate a barcode, and on sale we void the seller's ticket and reissue it to the buyer at face value — screenshots and wallet passes die instantly. Give the marketplace the key below; every completed resale is logged with the partner's name so any commission owed is reconcilable.{% endblocktrans %}

{% csrf_token %}
{% if api_key %}
POST {{ validate_url }}{% trans "body" %} {"secret": "…"} → {% trans "valid? item, face value" %}
POST {{ resale_url }}{"secret", "buyer_name", "buyer_email", "price", "reference"} → {% trans "voids old barcode, returns the new one + pass link" %}

{% blocktrans %}Resales above face value are rejected. Partner resales so far: {{ sold }}.{% endblocktrans %}

{% endif %} {% endblock %}