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

# billing.cashout@1 · OpenVibe.Services

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

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

billing.cashout@1: one cashout as OpenVibe.Billing presents it (server/ops/cashouts.js present). Requested cashouts wait out an escrow; staff approve (with the provider's payout reference) or deny them.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  |  |
| `subject` | [identity.subject-ref](/docs/contracts/identity.subject-ref) | yes |  |  |
| `amount_bits` | integer | yes |  | - `minimum 1` |
| `value_cents` | integer | yes |  | - `minimum 0` |
| `status` | enum | yes |  | - `one of "requested", "paid", "denied"` |
| `payout_method` | object \| null | yes |  |  |
| `escrow_until` | string | yes |  |  |
| `request_txn` | string | yes |  |  |
| `settle_txn` | string \| null |  |  |  |
| `payout_provider` | string \| null |  |  |  |
| `payout_reference` | string \| null |  |  |  |
| `reason` | string \| null |  |  |  |
| `created_at` | string | yes |  |  |
| `updated_at` | string \| null |  |  |  |

## Examples

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

 Valid: requested

~~~~
{
  "id": "co_01JAB2C3D4E5F6G7H8J9K0MNPT",
  "subject": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR"
  },
  "amount_bits": 5000,
  "value_cents": 5000,
  "status": "requested",
  "payout_method": {
    "type": "paypal",
    "address": "alice@example.com"
  },
  "escrow_until": "2026-10-02T18:00:00.000Z",
  "request_txn": "txn_01JAB2C3D4E5F6G7H8J9K0MNPV",
  "settle_txn": null,
  "payout_provider": null,
  "payout_reference": null,
  "reason": null,
  "created_at": "2026-09-25T18:00:00.000Z",
  "updated_at": "2026-09-25T18:00:00.000Z"
}
~~~~

Rejected: zero-amount

~~~~
{
  "id": "co_1",
  "subject": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR"
  },
  "amount_bits": 0,
  "value_cents": 0,
  "status": "requested",
  "payout_method": null,
  "escrow_until": "x",
  "request_txn": "t",
  "created_at": "x"
}
~~~~

## Validate

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