Appearance
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
| Field | Type | Nullable | Meaning |
|---|---|---|---|
transfer_id | string | No | tr_, the country, _ and 24 hex characters |
account | string | No | The account id the pocket belongs to |
pocket.slug | string | No | The pocket the money went into: your platform's pocket in the person's wallet. The same slug as the account's pocket.slug |
amount | integer | No | Minor units. Always a multiple of 100. What went into the pocket. There is no fee |
currency | string | No | KES on the Kenya host |
status | string | No | processing, succeeded or failed. See Status |
remarks | string | Yes | The remark you sent, or null. The person sees it on their pocket |
external_reference | string | No | Your own reference, as sent. Unique across your platform, failed transfers included |
created_at | string | No | ISO 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
status | Meaning | Final |
|---|---|---|
processing | Recorded, but the ledger has not confirmed it yet. Nothing is known to have moved | No |
succeeded | The money is in the pocket | Yes |
failed | Refused after it was recorded: your main balance did not hold the amount (3060). Nothing moved | Yes |
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.