Ttushe / docs
nsk_test_Operational

Declare & distribute mudarabah profit

Declare a period’s ACTUAL result (a profit pool, or a negative loss) for a mudarabah product. The depositor share (by the Profit-Sharing Ratio) is distributed pro-rata by each account’s average daily balance over the period and posted to the ledger. Idempotent per period. There is no fixed or guaranteed rate — you distribute what you actually earned.

POSThttps://api.trytushe.com/v1/config/savings/products/{productId}/profit-distributions
POST/v1/config/savings/products/{productId}/profit-distributions

Authorization

api-key
x-api-key<token>

In: header

Path Parameters

productId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

{  "status": true,  "statusCode": 200,  "message": "Request processed successfully",  "timestamp": "2026-10-03T16:30:00.000Z",  "path": "/v1/accounts",  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",    "version": 2,    "period": "2026-09",    "currency": "NGN",    "profitPool": "12000000",    "profitSharingRatio": {      "depositor": 70,      "mudarib": 30    },    "depositorShare": "8400000",    "mudaribShare": "3600000",    "perReserved": "0",    "distributed": "8400000",    "accountsCredited": 412,    "status": "completed"  }}