Deutsch DE
API-Referenz
API-Referenz

Bestellungen und Abos

Refund order

POST / v1 / orders / {order_id} / refund

Refunds a paid one-time order in full through its payment provider (Stripe, PayPal or Mollie). The buyer gets the money back, loses access and gets an email with a credit note if the order has an invoice. A checkout with order bumps is refunded as a whole.

Not possible for:

  • subscriptions and installment plans (single payments are refunded in the Tentary app)
  • free orders
  • orders older than 179 days
  • orders with a dispute

Partial refunds are only possible in the Tentary app.

After the call: the account owner confirms at the confirm_url within 5 minutes. Then check the result with GET /v1/confirmations/{confirmation_id}.

Braucht deine Bestätigung MCP-Werkzeug refund_order

Ändert nichts sofort. Die Antwort enthält einen Link, den die Kontoinhaberin oder der Kontoinhaber in Tentary bestätigt. Bestätigungen

Autorisierung

  • Authorization string Header erforderlich

    Bearer tnt_… · A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Einführung

Pfad-Parameter

  • order_id integer erforderlich

    The id from list_orders or get_order (not the order number).

    min. 1 Beispiel: 1003

Antwort

Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.

The action waits for the seller's confirmation.

  • status string

    Nothing happened yet.

    Mögliche Werte: needs_confirmation

  • confirmation_id integer

    For get_confirmation.

  • confirm_url string<uri>

    The seller opens it while logged in to Tentary and confirms.

  • expires_at string<date-time>

    UTC, like 2026-01-31T14:05:00Z. The link works until then.

  • summary string

    What the seller confirms.

  • message string

    Next steps for the AI app.

Tippe, um zu suchen.