Skip to content

Musharakah Rail

Equity-participation partnership contract endpoints for Islamic finance.

The Musharakah rail provides:

  • Partnership contract creation and management
  • Diminishing Musharakah (Musharakah Mutanaqisah) support
  • Profit/loss sharing calculation
  • Partner buyout workflows

Musharakah is a partnership contract where two or more parties contribute capital and share profits according to a pre-agreed ratio, while losses are borne in proportion to capital contribution.

POST /v1/rails/musharakah/contracts
const contract = await iof.musharakah.create({
project_description: "Residential property - Villa 12, Palm Gardens",
contract_subtype: "diminishing",
total_capital: 1000000,
currency: "USD",
partners: [
{
id: "institution",
capital_contribution: 800000,
profit_share_ratio: 0.6,
},
{
id: "cpty_abc123",
capital_contribution: 200000,
profit_share_ratio: 0.4,
},
],
diminishing_schedule: {
buyout_frequency: "quarterly",
buyout_amount: 20000,
duration_months: 120,
},
});

Response:

{
"id": "msh_xyz",
"type": "musharakah",
"subtype": "diminishing",
"status": "DRAFT",
"total_capital": 1000000,
"currency": "USD",
"partners": [
{
"id": "institution",
"capital_contribution": 800000,
"current_share": 0.8,
"profit_share_ratio": 0.6
},
{
"id": "cpty_abc123",
"capital_contribution": 200000,
"current_share": 0.2,
"profit_share_ratio": 0.4
}
],
"created_at": "2024-01-15T10:30:00Z"
}
GET /v1/rails/musharakah/contracts/:id
GET /v1/rails/musharakah/contracts
POST /v1/rails/musharakah/contracts/:id/execute
POST /v1/rails/musharakah/contracts/:id/buyout
POST /v1/rails/musharakah/contracts/:id/distribute-profit
TypeDescription
permanentOngoing partnership with no end date
diminishingOne partner gradually buys out the other’s share
projectPartnership for a specific project with defined end
StatusDescription
DRAFTContract created, pending review
PENDING_SHARIAH_REVIEWAwaiting Shariah board approval
SHARIAH_APPROVEDApproved by Shariah board
ACTIVEPartnership active
COMPLETEDFull buyout completed or project end
TERMINATEDPartnership dissolved early
  • Profit sharing ratios must be agreed at inception (can differ from capital ratios)
  • Loss sharing must be proportional to capital contribution
  • All partners share in the risk of the venture
  • Capital contributions must be clearly defined
  • In diminishing musharakah, the buyout promise is a separate undertaking
EventDescription
musharakah.contract.createdContract created
musharakah.contract.executedPartnership started
musharakah.profit.distributedProfit distributed
musharakah.share.buyoutShare buyout completed
musharakah.contract.completedFull buyout or project end