Skip to content

The transfer object ​

A transfer is a pay-in: money your platform moved from its own main balance into the pocket it opened in a person's MOOKHPay wallet. Once it has succeeded, the money is the person's. They can spend it, move it or withdraw it in MOOKHPay, and you can pay it out to them.

Create a transfer, Retrieve a transfer and List transfers all return this object. Transfers exist only in pocket mode.

Example ​

json
{
  "transfer_id": "tr_ke_5a0c2e9b7d1f43a8b6e2c917",
  "account": "acct_ke_9c2f41b07e5d38a6c1f0b294",
  "pocket": { "slug": "kazi" },
  "amount": 150000,
  "currency": "KES",
  "status": "succeeded",
  "remarks": "Payment for the Safari Lager campaign",
  "external_reference": "job-7731",
  "created_at": "2026-11-25T08:14:31.000Z"
}

Fields ​

FieldTypeNullableMeaning
transfer_idstringNotr_, the country, _ and 24 hex characters
accountstringNoThe account id the pocket belongs to
pocket.slugstringNoThe pocket the money went into: your platform's pocket in the person's wallet. The same slug as the account's pocket.slug
amountintegerNoMinor units. Always a multiple of 100. What went into the pocket. There is no fee
currencystringNoKES on the Kenya host
statusstringNoprocessing, succeeded or failed. See Status
remarksstringYesThe remark you sent, or null. The person sees it on their pocket
external_referencestringNoYour own reference, as sent. Unique across your platform, failed transfers included
created_atstringNoISO 8601, UTC. When MOOKHPay recorded the pay-in

There is no ledger reference on the object. The pay-in shows in List an account's transactions as type transfer_in, with your external_reference as its reference.

Status ​

statusMeaningFinal
processingRecorded, but the ledger has not confirmed it yet. Nothing is known to have movedNo
succeededThe money is in the pocketYes
failedRefused after it was recorded: your main balance did not hold the amount (3060). Nothing movedYes

A processing transfer does not settle on its own. Send the same request again, with the same Idempotency-Key and body and a fresh signature: MOOKHPay books it once and answers succeeded, or 422 and 3060. See Create a transfer.

Refusals that come before a pay-in is recorded, such as 3062 (your daily cap) or 2945 (reference taken), make no transfer object.

No webhook is sent for transfers. The answer to the call is the confirmation.

Staging documentation. A checkout made with a secret key on staging charges a real phone. See Environments.