Skip to content

Wakalah Rail

Agency contract endpoints for delegated investment and service management.

The Wakalah rail provides:

  • Agency contract creation and management
  • Fee-based and incentive-based Wakalah support
  • Investment Wakalah (Wakalah bil Istithmar) for fund management
  • Agent performance tracking and reporting

Wakalah is an agency contract where one party (the principal, or Muwakkil) appoints another party (the agent, or Wakil) to perform a specific task on their behalf. The agent acts within the authority granted and earns a fee for their services.

Investment Wakalah (Wakalah bil Istithmar) is widely used in Islamic banking for deposit placement, fund management, and treasury operations. The principal entrusts funds to the agent for investment, and the agent receives a fixed fee or an incentive fee linked to performance above a benchmark.

Wakalah can be general (covering a broad scope of activities) or specific (limited to a particular transaction). It is commonly combined with other contracts such as Mudarabah and Ijarah to create structured Islamic financial products.

POST /v1/rails/wakalah/contracts
const contract = await iof.wakalah.create({
wakalah_type: "investment",
description: "Treasury fund placement - Q1 2025",
principal_id: "cpty_institution",
agent_id: "cpty_fund_mgr",
investment_amount: 2000000,
currency: "USD",
fee_structure: {
type: "incentive",
base_fee: 10000,
performance_fee_ratio: 0.2,
benchmark_return: 0.05,
},
investment_period_months: 6,
permitted_activities: ["sukuk", "commodity_murabaha", "money_market"],
});

Response:

{
"id": "wkl_xyz",
"type": "wakalah",
"subtype": "investment",
"status": "DRAFT",
"investment_amount": 2000000,
"currency": "USD",
"fee_structure": {
"type": "incentive",
"base_fee": 10000,
"performance_fee_ratio": 0.2,
"benchmark_return": 0.05
},
"investment_period_months": 6,
"created_at": "2024-01-15T10:30:00Z"
}
GET /v1/rails/wakalah/contracts/:id
GET /v1/rails/wakalah/contracts
POST /v1/rails/wakalah/contracts/:id/execute
POST /v1/rails/wakalah/contracts/:id/report-performance
TypeDescription
investmentAgent invests funds on behalf of the principal
serviceAgent performs a specific service or task
generalAgent has broad authority to act for the principal
StatusDescription
DRAFTContract created, pending review
PENDING_SHARIAH_REVIEWAwaiting Shariah board approval
SHARIAH_APPROVEDApproved by Shariah board
ACTIVEAgency appointment active
COMPLETEDAgency period ended, fees settled
TERMINATEDContract terminated early
  • The scope of the agent’s authority must be clearly defined
  • The agent’s fee must be known and agreed at inception
  • The agent may not guarantee the principal’s capital or a fixed return
  • Any loss due to agent negligence or misconduct is borne by the agent
  • Investment losses (absent negligence) are borne by the principal
  • The principal may revoke the agency at any time
EventDescription
wakalah.contract.createdContract created
wakalah.contract.executedAgency appointment active
wakalah.performance.reportedPerformance report submitted
wakalah.fee.paidAgent fee disbursed
wakalah.contract.completedAgency period ended