---
title: "vip.perk-result@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/vip.perk-result"
updated: null
---

# vip.perk-result@1 · OpenVibe.Services

HTML: [vip.perk-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/vip.perk-result)

# VipPerkResult `vip.perk-result@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: vip
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/vip/perk-result.v1.json`](/docs/contracts/vip.perk-result.json)

vip.perk-result@1: the answer of vip.perk.create and vip.perk.update on OpenVibe.VIP. POST /api/v1/perks (201) and PATCH /api/v1/perks/:id → { perk } with its active bindings.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `perk` | [vip.perk](/docs/contracts/vip.perk) | yes |  |  |

## Examples

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

 Valid: perk

~~~~
{
  "perk": {
    "id": "vpk_01JAB2C3D4E5F6G7H8J9K0MNPV",
    "key": "chat-badge",
    "name": "Chat badge",
    "description": "A supporter badge next to your name in chat.",
    "kind": "badge",
    "status": "active",
    "scope": "creator",
    "creator_id": "vcr_01JAB2C3D4E5F6G7H8J9K0MNPQ",
    "bindings": [
      {
        "product": "chat",
        "binding": "chat_badge",
        "config": {
          "icon": "star"
        }
      },
      {
        "product": "live",
        "binding": "chat_badge",
        "config": {}
      }
    ],
    "updated_at": "2026-09-20T18:04:11.402Z"
  }
}
~~~~

Rejected: list

~~~~
{
  "perk": [
    {
      "id": "vpk_01JAB2C3D4E5F6G7H8J9K0MNPV",
      "key": "chat-badge",
      "name": "Chat badge",
      "description": "A supporter badge next to your name in chat.",
      "kind": "badge",
      "status": "active",
      "scope": "creator",
      "creator_id": "vcr_01JAB2C3D4E5F6G7H8J9K0MNPQ",
      "bindings": [
        {
          "product": "chat",
          "binding": "chat_badge",
          "config": {
            "icon": "star"
          }
        },
        {
          "product": "live",
          "binding": "chat_badge",
          "config": {}
        }
      ],
      "updated_at": "2026-09-20T18:04:11.402Z"
    }
  ]
}
~~~~

## Validate

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