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

# tips.interaction@1 · OpenVibe.Services

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

# TipsInteraction `tips.interaction@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
- Schema: [`https://openvibe.network/contracts/tips/interaction.v1.json`](/docs/contracts/tips.interaction.json)

tips.interaction@1: a tip interaction on OpenVibe.Tips (server/domain/interactions.js present): one act of support (a tip, a paid chat message, text-to-speech or a media request) with two separate states: payment (mirrored from OpenVibe.Billing: pending, settled, reversed or failed) and delivery (awaiting\_payment, queued, delivered, failed or cancelled). Only the supporter sees who an anonymous supporter is; public is what may be shown to the public and privacy the supporter's choices. A checkout-funded interaction adds checkout; the creator and services also get effects, provider, provider\_ref and legacy\_source. Amounts are Vibes bits.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `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 | null for an anonymous supporter (to anyone but them), an erased one, a simulation or an external tip without one. |  |
| `supporter_name` | string \| null | yes |  |  |
| `kind` | enum | yes |  | - `one of "tip", "paid_message", "tts", "media_request", "sound"` |
| `amount` | integer | yes |  | - `minimum 1` |
| `currency` | string | yes | vibes-bits. |  |
| `message` | string \| null | yes |  |  |
| `tts` | one of | yes |  |  |
| `media` | one of | yes |  |  |
| `sound` | one of |  | Kind sound: the sound the overlay plays. |  |
| `goal_id` | string \| null | yes | The goal the supporter picked. |  |
| `funding` | enum | yes |  | - `one of "credit", "checkout", "provider", "external", "none"` |
| `settlement` | enum | yes |  | - `one of "billing", "external", "simulated", "imported"` |
| `origin` | enum | yes |  | - `one of "tips", "billing", "billing-external", "external", "import"` |
| `test` | boolean | yes | A simulation or Billing test money: never counted. |  |
| `privacy` | object | yes |  |  |
| `privacy.anonymous` | boolean | yes |  |  |
| `privacy.hide_amount` | boolean | yes |  |  |
| `privacy.private_message` | boolean | yes |  |  |
| `public` | [tips.public-interaction](/docs/contracts/tips.public-interaction) | yes |  |  |
| `erased_at` | string \| null | yes | When the supporter erased their data from it. |  |
| `moderation` | object | yes |  |  |
| `moderation.state` | enum | yes |  | - `one of "visible", "held", "hidden"` |
| `moderation.filtered` | boolean | yes |  |  |
| `moderation.at` | string \| null | yes |  |  |
| `payment` | object | yes |  |  |
| `payment.state` | enum | yes |  | - `one of "pending", "settled", "reversed", "failed"` |
| `payment.billing_txn_id` | string \| null | yes |  |  |
| `payment.reversal_txn_ids` | array of string | yes |  |  |
| `payment.reversed_amount` | integer | yes |  | - `minimum 0` |
| `payment.failure` | string \| null | yes |  |  |
| `payment.settled_at` | string \| null | yes |  |  |
| `payment.reversed_at` | string \| null | yes |  |  |
| `delivery` | object | yes |  |  |
| `delivery.state` | enum | yes |  | - `one of "awaiting_payment", "queued", "delivered", "failed", "cancelled"` |
| `delivery.delivered_at` | string \| null | yes |  |  |
| `created_at` | string | yes |  |  |
| `updated_at` | string | yes |  |  |
| `checkout` | object |  | Checkout-funded interactions only. |  |
| `checkout.url` | string \| null | yes |  |  |
| `checkout.ref` | string \| null | yes |  |  |
| `checkout.provider` | string \| null | yes |  |  |
| `checkout.intent_id` | string \| null | yes |  |  |
| `effects` | array of object |  | The creator and services only: the delivery effects. |  |
| `effects[].effect` | enum | yes |  | - `one of "chat_line", "paid_message", "tts", "media_request", "overlay_alert"` |
| `effects[].adapter` | string | yes |  |  |
| `effects[].state` | enum | yes |  | - `one of "queued", "delivered", "failed", "cancelled"` |
| `effects[].attempts` | integer | yes |  | - `minimum 0` |
| `effects[].last_error` | string \| null | yes |  |  |
| `effects[].updated_at` | string | yes |  |  |
| `provider` | string \| null |  |  |  |
| `provider_ref` | string \| null |  |  |  |
| `legacy_source` | string \| null |  |  |  |

## Examples

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

 Valid: pending-checkout

~~~~
{
  "id": "tint_01JAB2C3D4E5F6G7H8J9K0MNQ7",
  "creator": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "supporter": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR"
  },
  "supporter_name": "moosefan",
  "kind": "tip",
  "amount": 1000,
  "currency": "vibes-bits",
  "message": null,
  "tts": null,
  "media": null,
  "goal_id": null,
  "funding": "checkout",
  "settlement": "billing",
  "origin": "tips",
  "test": false,
  "privacy": {
    "anonymous": false,
    "hide_amount": false,
    "private_message": false
  },
  "public": {
    "interaction_id": "tint_01JAB2C3D4E5F6G7H8J9K0MNQ7",
    "kind": "tip",
    "amount": 1000,
    "amount_hidden": false,
    "currency": "vibes-bits",
    "settlement": "billing",
    "test": false,
    "at": "2026-09-25T09:12:40.118Z",
    "supporter_name": "moosefan",
    "message": null,
    "tts": null,
    "media": null,
    "hidden": false
  },
  "erased_at": null,
  "moderation": {
    "state": "visible",
    "filtered": false,
    "at": null
  },
  "payment": {
    "state": "pending",
    "billing_txn_id": null,
    "reversal_txn_ids": [],
    "reversed_amount": 0,
    "failure": null,
    "settled_at": null,
    "reversed_at": null
  },
  "delivery": {
    "state": "awaiting_payment",
    "delivered_at": null
  },
  "created_at": "2026-09-25T09:12:40.118Z",
  "updated_at": "2026-09-25T09:12:40.118Z",
  "checkout": {
    "url": "https://powerchat.live/checkout/pc_91c2e7",
    "ref": "pc_91c2e7",
    "provider": "powerchat",
    "intent_id": "int_01JAB2C3D4E5F6G7H8J9K0MNQ8"
  }
}
~~~~

Valid: service-view

~~~~
{
  "id": "tint_01JAB2C3D4E5F6G7H8J9K0MNQ5",
  "creator": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "supporter": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR"
  },
  "supporter_name": "moosefan",
  "kind": "paid_message",
  "amount": 500,
  "currency": "vibes-bits",
  "message": "Great stream tonight!",
  "tts": null,
  "media": null,
  "goal_id": null,
  "funding": "credit",
  "settlement": "billing",
  "origin": "tips",
  "test": false,
  "privacy": {
    "anonymous": false,
    "hide_amount": false,
    "private_message": false
  },
  "public": {
    "interaction_id": "tint_01JAB2C3D4E5F6G7H8J9K0MNQ5",
    "kind": "paid_message",
    "amount": 500,
    "amount_hidden": false,
    "currency": "vibes-bits",
    "settlement": "billing",
    "test": false,
    "at": "2026-09-25T09:12:41.530Z",
    "supporter_name": "moosefan",
    "message": "Great stream tonight!",
    "tts": null,
    "media": null,
    "hidden": false
  },
  "erased_at": null,
  "moderation": {
    "state": "visible",
    "filtered": false,
    "at": null
  },
  "payment": {
    "state": "settled",
    "billing_txn_id": "txn_01JAB2C3D4E5F6G7H8J9K0MNQ6",
    "reversal_txn_ids": [],
    "reversed_amount": 0,
    "failure": null,
    "settled_at": "2026-09-25T09:12:41.530Z",
    "reversed_at": null
  },
  "delivery": {
    "state": "delivered",
    "delivered_at": "2026-09-25T09:12:43.004Z"
  },
  "created_at": "2026-09-25T09:12:40.118Z",
  "updated_at": "2026-09-25T09:12:43.004Z",
  "effects": [
    {
      "effect": "overlay_alert",
      "adapter": "overlay",
      "state": "delivered",
      "attempts": 1,
      "last_error": null,
      "updated_at": "2026-09-25T09:12:41.530Z"
    },
    {
      "effect": "paid_message",
      "adapter": "live-chat",
      "state": "delivered",
      "attempts": 1,
      "last_error": null,
      "updated_at": "2026-09-25T09:12:43.004Z"
    }
  ],
  "provider": null,
  "provider_ref": null,
  "legacy_source": null
}
~~~~

Valid: supporter-receipt

~~~~
{
  "id": "tint_01JAB2C3D4E5F6G7H8J9K0MNQ5",
  "creator": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "supporter": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR"
  },
  "supporter_name": "moosefan",
  "kind": "paid_message",
  "amount": 500,
  "currency": "vibes-bits",
  "message": "Great stream tonight!",
  "tts": null,
  "media": null,
  "goal_id": null,
  "funding": "credit",
  "settlement": "billing",
  "origin": "tips",
  "test": false,
  "privacy": {
    "anonymous": false,
    "hide_amount": false,
    "private_message": false
  },
  "public": {
    "interaction_id": "tint_01JAB2C3D4E5F6G7H8J9K0MNQ5",
    "kind": "paid_message",
    "amount": 500,
    "amount_hidden": false,
    "currency": "vibes-bits",
    "settlement": "billing",
    "test": false,
    "at": "2026-09-25T09:12:41.530Z",
    "supporter_name": "moosefan",
    "message": "Great stream tonight!",
    "tts": null,
    "media": null,
    "hidden": false
  },
  "erased_at": null,
  "moderation": {
    "state": "visible",
    "filtered": false,
    "at": null
  },
  "payment": {
    "state": "settled",
    "billing_txn_id": "txn_01JAB2C3D4E5F6G7H8J9K0MNQ6",
    "reversal_txn_ids": [],
    "reversed_amount": 0,
    "failure": null,
    "settled_at": "2026-09-25T09:12:41.530Z",
    "reversed_at": null
  },
  "delivery": {
    "state": "delivered",
    "delivered_at": "2026-09-25T09:12:43.004Z"
  },
  "created_at": "2026-09-25T09:12:40.118Z",
  "updated_at": "2026-09-25T09:12:43.004Z"
}
~~~~

Rejected: bad-payment-state

~~~~
{
  "id": "tint_01JAB2C3D4E5F6G7H8J9K0MNQ5",
  "creator": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "supporter": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR"
  },
  "supporter_name": "moosefan",
  "kind": "paid_message",
  "amount": 500,
  "currency": "vibes-bits",
  "message": "Great stream tonight!",
  "tts": null,
  "media": null,
  "goal_id": null,
  "funding": "credit",
  "settlement": "billing",
  "origin": "tips",
  "test": false,
  "privacy": {
    "anonymous": false,
    "hide_amount": false,
    "private_message": false
  },
  "public": {
    "interaction_id": "tint_01JAB2C3D4E5F6G7H8J9K0MNQ5",
    "kind": "paid_message",
    "amount": 500,
    "amount_hidden": false,
    "currency": "vibes-bits",
    "settlement": "billing",
    "test": false,
    "at": "2026-09-25T09:12:41.530Z",
    "supporter_name": "moosefan",
    "message": "Great stream tonight!",
    "tts": null,
    "media": null,
    "hidden": false
  },
  "erased_at": null,
  "moderation": {
    "state": "visible",
    "filtered": false,
    "at": null
  },
  "payment": {
    "state": "paid",
    "billing_txn_id": "txn_01JAB2C3D4E5F6G7H8J9K0MNQ6",
    "reversal_txn_ids": [],
    "reversed_amount": 0,
    "failure": null,
    "settled_at": "2026-09-25T09:12:41.530Z",
    "reversed_at": null
  },
  "delivery": {
    "state": "delivered",
    "delivered_at": "2026-09-25T09:12:43.004Z"
  },
  "created_at": "2026-09-25T09:12:40.118Z",
  "updated_at": "2026-09-25T09:12:43.004Z"
}
~~~~

## Validate

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