Skip to content

deal.commission_ready

Camino has processed a deal billing record and calculated commission splits. Colectiva uses this to route payouts to developer/provider wallets. S125 Gap #18.

Senders

  • camino

Receivers

  • colectiva

Data schema

Each field maps to a type hint. | null indicates an optional field.

json
{
  "deal_id": "string — UUID of the deal",
  "billing_record_id": "string — UUID of the deal_billing_records row",
  "billing_month": "string — YYYY-MM period",
  "amount": "number — total billed amount",
  "currency": "string — ISO currency code (default MXN)",
  "rbs_commission": "number — RBS share in currency units",
  "developer_commission": "number — developer share in currency units (0 if no developer split)",
  "provider_commission": "number — provider share in currency units (0 if no provider split)",
  "developer_wallet_id": "string | null — Colectiva wallet ID for developer payout",
  "provider_wallet_id": "string | null — Colectiva wallet ID for provider payout",
  "splits": "array — full apportioned split detail: [{party_type, party_id, pct, amount, colectiva_wallet_id}]"
}

Example payload

The following is a synthetic payload that matches the schema. Production payloads are signed with HMAC-SHA256 and delivered to each receiver's registered webhook endpoint.

json
{
  "deal_id": "00000000-0000-0000-0000-000000000000",
  "billing_record_id": "00000000-0000-0000-0000-000000000000",
  "billing_month": "example-billing_month",
  "amount": 0,
  "currency": "example-currency",
  "rbs_commission": 0,
  "developer_commission": 0,
  "provider_commission": 0,
  "developer_wallet_id": "example-developer_wallet_id",
  "provider_wallet_id": "example-provider_wallet_id",
  "splits": "example-splits"
}

See also


Generated from ecosystem-sdk/packages/mcp-server/src/registry/events.json. Do not edit by hand.

Red Broom Software Ecosystem