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

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

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

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

tips.external-request@1: the body of tips.interaction.record on OpenVibe.Tips (services only). POST /api/v1/interactions/external: { creator, provider, provider\_ref, amount\_cents, supporter?, supporter\_name?, message?, goal\_id?, privacy?, announce?, test? } records a tip that never touched OpenVibe money (ADR-012 EXTERNAL: a tip on the creator's own PowerChat), once per (provider, provider\_ref); no Billing liability, excluded from Billing reconciliation. It settles at once (overlay alert, goal); announce true also has Tips post the chat line. 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 (no provider or provider\_ref), tips.invalid\_amount, tips.text\_too\_long or tips.invalid\_subject; 404 tips.creator\_not\_found; 403 capability.denied. Unknown fields are ignored.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `creator` | one of | yes | The creator tipped. |  |
| `provider` | string | yes | Lowercased: powerchat, … | - `pattern ^[A-Za-z][A-Za-z0-9_-]{1,39}$` |
| `provider_ref` | string | yes | The provider's event id. | - `minLength 1`<br>- `maxLength 200` |
| `amount_cents` | integer \| string | yes | The money that arrived, in cents (at most 100000000); recorded as the amount too. | - `pattern ^[1-9][0-9]*$`<br>- `minimum 1`<br>- `maximum 100000000` |
| `supporter` | one of |  | The supporter, when known. |  |
| `supporter_name` | string \| null |  |  |  |
| `message` | string \| null |  |  | - `maxLength 500` |
| `goal_id` | string |  |  |  |
| `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). |  |
| `announce` | boolean |  | true: Tips delivers the chat line itself (the provider did not announce it). |  |
| `test` | boolean \| integer \| string |  | Test money: never counted. |  |

## Examples

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

 Valid: powerchat

~~~~
{
  "creator": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "provider": "powerchat",
  "provider_ref": "pcevt_7730021",
  "amount_cents": 500,
  "supporter_name": "moosefan",
  "message": "Love the stream",
  "announce": false
}
~~~~

Rejected: no-ref

~~~~
{
  "creator": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "provider": "powerchat",
  "amount_cents": 500
}
~~~~

## Validate

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