Revenue splits demo

Revenue Splits

Define a SplitConfig once, then reference it by ID at checkout. Coal distributes funds to each recipient at settlement.

Split preview

Creator
80%$80.00
Platform
20%$20.00
Total: 100%

How it works

Create once, reference by ID

// 1. Create split config

POST /api/console/splits

{

  name: "Creator Split",

  recipients: [

    { address: "0x...", percent: 80 },

    { address: "0x...", percent: 20 }

  ]

}

// 2. Reference at checkout

POST /api/checkouts

{

  amount: 100,

  productName: "Course",

  splitConfigId: "cm9x4k..."

}

// Coal distributes on settlement