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

# tips.simulation-request@1 · OpenVibe.Services

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

# TipsSimulationRequest `tips.simulation-request@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/simulation-request.v1.json`](/docs/contracts/tips.simulation-request.json)

tips.simulation-request@1: the body of tips.simulation.run on OpenVibe.Tips. POST /api/v1/simulate: { creator?, kind?, amount?, message?, tts?, media?, goal\_id?, supporter\_name?, privacy? } runs the full effect path (overlay alert, goal widget, delivery) flagged test, with no Billing call, never counted in any total and never emitted as a durable event. A service names the creator; a person simulates on their own page. The creator's rules apply as for a real request, except that a creator who is not accepting tips can still simulate. kind defaults to tip, amount to the creator's minimum or 100 bits, supporter\_name to "Test supporter". Needs an Idempotency-Key header (8-200 of A-Z a-z 0-9 . \_ : -; 400 idempotency.key\_required): a replay with the same key and body returns the first answer, the same key with another body is 422 idempotency.key\_reused. Refusals are problem+json (422 tips.invalid\_input, tips.amount\_too\_small, tips.invalid\_media, …; 409 tips.tts\_disabled or tips.media\_disabled; 404 tips.creator\_not\_found). Unknown fields are ignored.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `creator` | one of |  | The creator whose overlays show it (default: the signed-in person). |  |
| `kind` | enum |  |  | - `one of "tip", "paid_message", "tts", "media_request", "sound"` |
| `amount` | integer \| string |  | Vibes bits. | - `pattern ^[1-9][0-9]*$`<br>- `minimum 1`<br>- `maximum 10000000` |
| `message` | string \| null |  |  |  |
| `tts` | object |  | Text-to-speech (kind tts): the text to read (default: message) and the voice. |  |
| `tts.text` | string |  |  |  |
| `tts.voice` | enum |  | Default: the creator's voice. | - `one of "gary", "brian", "amy", "emma", "joey", "justin", "matthew", "salli", "kimberly", "kendra", "ivy", "joanna"` |
| `media` | object |  | A media request (kind media\_request). |  |
| `media.url` | string | yes | An https link on an allowed host (TIPS\_MEDIA\_HOSTS; YouTube by default). | - `pattern ^https://`<br>- `maxLength 500` |
| `sound` | object |  | A paid sound (kind sound): the creator’s overlay plays it on stream. |  |
| `sound.id` | string | yes | One of the creator's sounds (GET /api/v1/profiles/:creator/sounds). | - `pattern ^tsnd_[0-9A-HJKMNP-TV-Z]{26}$` |
| `goal_id` | string |  |  |  |
| `supporter_name` | string \| null |  |  |  |
| `privacy` | object |  | The supporter's choices; any other field is refused (422 tips.invalid\_input). true, 1, "1", "true" and "on" count as yes. | - `no other fields` |
| `privacy.anonymous` | boolean \| integer \| string |  | The name reads "Anonymous" to everyone but the supporter. |  |
| `privacy.hide_amount` | boolean \| integer \| string |  | The amount is left out of overlays, chat lines and public pages. |  |
| `privacy.private_message` | boolean \| integer \| string |  | A tip's message is for the creator only (tips only; 422 for the other kinds). |  |

## Examples

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

 Valid: default

~~~~
{}
~~~~

Valid: tts

~~~~
{
  "kind": "tts",
  "amount": 200,
  "tts": {
    "text": "Testing one two",
    "voice": "brian"
  }
}
~~~~

Rejected: bad-kind

~~~~
{
  "kind": "raid"
}
~~~~

## Validate

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