---
title: "tips.interaction.cancelled@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/tips.interaction.cancelled"
updated: null
---

# tips.interaction.cancelled@1 · OpenVibe.Services

HTML: [tips.interaction.cancelled@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/tips.interaction.cancelled)

# TipsInteractionCancelledPayload `tips.interaction.cancelled@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: tips
- Visibility: first-party
- Status: active
- Compatibility: backward
- Decision: [ADR-012](/docs/adr/ADR-012)
- Schema: [`https://openvibe.network/contracts/events/payloads/tips.interaction.cancelled.v1.json`](/docs/contracts/tips.interaction.cancelled.json)

tips.interaction.cancelled v1 (OpenVibe.Tips server/domain/interactions.js failPayment, cancelQueued). Undelivered effects were cancelled: the payment failed before settling (reason payment\_failed, with the Billing error code), Billing reversed it (payment\_reversed) or an effect came up while the payment was no longer settled (payment\_not\_settled). Envelope: subject { type: interaction, id: tint\_… }, visibility internal, priority important, actor service:tips. Never emitted for tests or imports.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `interaction_id` | string | yes |  | - `pattern ^tint_[0-9A-HJKMNP-TV-Z]{26}$` |
| `creator` | [identity.subject-ref](/docs/contracts/identity.subject-ref) | yes |  |  |
| `supporter` | one of | yes | The supporter, null when external, anonymous or unmapped. |  |
| `supporter_name` | string \| null | yes | Display name at the time. |  |
| `kind` | enum | yes |  | - `one of "tip", "paid_message", "tts", "media_request", "sound"` |
| `amount` | integer | yes | Integer amount in currency minor units (Vibes bits). | - `minimum 1` |
| `currency` | string | yes | vibes-bits today. |  |
| `settlement` | enum | yes |  | - `one of "billing", "external", "simulated", "imported"` |
| `payment_state` | enum | yes |  | - `one of "pending", "settled", "reversed", "failed"` |
| `delivery_state` | enum | yes |  | - `one of "awaiting_payment", "queued", "delivered", "failed", "cancelled"` |
| `billing_txn_id` | string \| null | yes | The Billing transaction (txn\_…) that settled it. |  |
| `test` | boolean | yes | Simulations never emit events, so false in practice. |  |
| `reason` | enum | yes |  | - `one of "payment_failed", "payment_reversed", "payment_not_settled"` |
| `code` | string |  | Only with reason payment\_failed: the Billing problem code (billing.insufficient\_funds, billing.funding\_reversed, billing.refused…). |  |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: payment-failed

~~~~
{
  "interaction_id": "tint_01JAB3C4D5E6F7G8H9J0K1MNPQ",
  "creator": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "supporter": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR"
  },
  "supporter_name": "Generous Fan",
  "kind": "tip",
  "amount": 500,
  "currency": "vibes-bits",
  "settlement": "billing",
  "payment_state": "failed",
  "delivery_state": "cancelled",
  "billing_txn_id": null,
  "test": false,
  "reason": "payment_failed",
  "code": "billing.insufficient_funds"
}
~~~~

Valid: payment-reversed

~~~~
{
  "interaction_id": "tint_01JAB3C4D5E6F7G8H9J0K1MNPQ",
  "creator": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "supporter": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR"
  },
  "supporter_name": "Generous Fan",
  "kind": "tip",
  "amount": 500,
  "currency": "vibes-bits",
  "settlement": "billing",
  "payment_state": "reversed",
  "delivery_state": "cancelled",
  "billing_txn_id": "txn_01JAB3C4D5E6F7G8H9J0K1MNPR",
  "test": false,
  "reason": "payment_reversed"
}
~~~~

Rejected: unknown-reason

~~~~
{
  "interaction_id": "tint_01JAB3C4D5E6F7G8H9J0K1MNPQ",
  "creator": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "supporter": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR"
  },
  "supporter_name": "Generous Fan",
  "kind": "tip",
  "amount": 500,
  "currency": "vibes-bits",
  "settlement": "billing",
  "payment_state": "settled",
  "delivery_state": "cancelled",
  "billing_txn_id": "txn_01JAB3C4D5E6F7G8H9J0K1MNPR",
  "test": false,
  "reason": "creator_cancelled"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('tips.interaction.cancelled@1', value);   // { valid, errors: [{ path, message }] }
~~~~
