Appearance
Pay out sellers
POST /accounts/{id}/payouts sends money from a seller's main wallet to the seller. You choose the amount and when. You never choose where it goes: MOOKHPay sends it to the payout account the seller chose, or to their own phone.
If your platform works in pockets, a payout comes out of your pocket in the person's wallet instead, and you can set where it goes with a code texted to the person. See Pocket mode.
Every payout request is signed with a secret that is separate from your API key, so a stolen key alone cannot move money.
| You need | |
|---|---|
A key with payouts:write | See API keys and scopes |
The account's grant to include payouts:write | Every account you opened has it. A linked account has it only if the owner approved it. Otherwise 403 with code 3025 |
| A payout signing secret | Made once by an Owner in the hub. Otherwise 403 with code 3022 |
PLATFORM_PAYOUTS_ENABLED on the deployment | Otherwise the route answers 404 |
Where the money goes
The body has no destination field, and nothing in the request can add one.
- If the seller chose a payout account for
mainin MOOKHPay, with their PIN, the payout goes there. - Otherwise it goes to the seller's own phone number, by the country's mobile-money rail (M-Pesa in Kenya, MTN MoMo in Uganda).
- A business account has no phone. Without a payout account set by its owners, the call answers
422with code2949and nothing is reserved. - If the destination is a number the rail cannot pay, the call answers
422with code3040(PLATFORM_PAYOUT_DESTINATION_INVALID) anddata.source:payout_accountwhen it is the payout account the seller chose,phonewhen it is the seller's own number. Only the seller can change either, in MOOKHPay. Nothing is reserved.
The answer's destination tells you which rail was used and the number, masked.
In pocket mode the pocket's own payout destination comes first.
Make the signing secret
An Owner of your organisation makes the secret in the hub: API Integrations, while acting for the organisation, then confirms with their PIN. Only an Owner of an organisation switched on as a platform can see or make it; anyone else is refused with 403 and code 3024.
- The secret is
mps_followed by 43 characters. It is shown once, when it is made, and never again. MOOKHPay shows only its prefix and last four characters after that. - Store it like your API key: in a secret store or environment variable on your server, never in a browser or app.
- Making it again replaces it. The new secret signs at once, and the one it replaced keeps signing for 24 hours so your servers can change over.
Rotate with no downtime
- An Owner makes a new secret in the hub.
- Deploy it to every server that sends payouts, within 24 hours.
- The old secret stops working on its own at the end of the 24 hours.
MOOKHPay keeps one previous secret. Making a third secret inside the 24 hours replaces the overlap: the first secret stops working at once and only the second and third sign.
Sign the request
Send two headers with every payout. The same signature protects pay-ins and the payout destination calls. How to sign a request is the full reference; this is the short version.
| Header | Value |
|---|---|
X-Mookh-Timestamp | The Unix time in seconds, as 1 to 12 digits |
X-Mookh-Signature | sha256= followed by 64 lowercase hex characters: the HMAC-SHA256 of the signed string, keyed with the whole secret including mps_ |
The signed string is five parts, each followed by a full stop, then the raw request body, byte for byte:
text
{timestamp}.{METHOD}.{path}.{Idempotency-Key}.{raw body}| Part | What it is |
|---|---|
timestamp | Exactly what you send in X-Mookh-Timestamp |
METHOD | The HTTP method in capitals: POST |
path | The request path, starting /v1/payments/merchant/, without the host and without any query string |
Idempotency-Key | Exactly what you send in the Idempotency-Key header |
| raw body | The bytes you send as the body |
For example:
text
1763632804.POST./v1/payments/merchant/accounts/acct_ke_9c2f41b07e5d38a6c1f0b294/payouts.payout-seller-2291-2026-w47.{"amount":500000,"remarks":"Week 47 sales"}Earlier versions of these docs were wrong
Until 25 November 2026 this page said to sign only timestamp + "." + body. That was wrong: MOOKHPay checks the method, path and Idempotency-Key as well, so a signature over the timestamp and body alone answers 401 and code 3021. Sign all five parts, as above.
Rules MOOKHPay applies:
- The timestamp must be within 300 seconds of MOOKHPay's clock, before or after. Keep your servers' clocks synced.
- The signature is checked against the exact bytes MOOKHPay received. Serialise the body once, sign that string, and send that same string. Do not let your HTTP library serialise the body a second time: a different space or key order breaks the signature.
- The hex must be lowercase, and the header must start with
sha256=. - Each signature is accepted once. Sign every attempt: a retry keeps the same
Idempotency-Keyand the same body, with a fresh timestamp and so a fresh signature. It returns the payout the first attempt made. Sending the same signature twice answers401and code3021. - A missing header, a malformed one, a stale timestamp, a signature already used, or one that matches neither the current nor the previous secret all answer
401with code3021. The answer does not say which.
Check your implementation
With these values:
| Secret | mps_0123456789abcdefghijklmnopqrstuvwxyzABCDEFG |
| Timestamp | 1763632804 |
| Method | POST |
| Path | /v1/payments/merchant/accounts/acct_ke_9c2f41b07e5d38a6c1f0b294/payouts |
Idempotency-Key | payout-seller-2291-2026-w47 |
| Body | {"amount":500000,"remarks":"Week 47 sales"} |
your code must produce:
text
sha256=3fde6af0d5de57352d6c123f3d69eef2a688d1fef6a44d027f175e2434a24371This secret is an example and signs nothing on MOOKHPay.
Send a payout
| Body field | Type | Required | Rules |
|---|---|---|---|
amount | integer | Yes | Minor units, whole currency units (a multiple of 100). Inside the rail's own payout limits: on M-Pesa KES 10.01 to 150,000.00, so the smallest payout is 1100 (KES 11); on MTN MoMo UGX 500 to 5,000,000 |
remarks | string | No | 1 to 100 printable ASCII characters. Shown on the seller's statement |
Nothing else is accepted. Send an Idempotency-Key with every payout: your own payout id is a good one.
The payout fee
Payouts are free for now: fee is 0 and total equals amount. If a payout fee is charged later, it is taken from the seller's main wallet (in pocket mode, the pocket) on top of amount, and the seller's phone still receives exactly amount.
If the wallet does not hold amount plus the fee, the call answers 422 with code 2732. To empty a wallet, pay out its balance less the fee: read the fee first with GET /fees (payout.<rail>.total), and treat the fee on the payout the call answers as what was charged. A payout that fails gives the fee back with the amount. See Fees.
sh
BASE=https://payments-ke-staging.mookhpay.co
ACCOUNT=acct_ke_9c2f41b07e5d38a6c1f0b294
PATH_=/v1/payments/merchant/accounts/$ACCOUNT/payouts
KEY=payout-2026-w47-8841
BODY='{"amount":500000,"remarks":"Week 47 sales"}'
TS=$(date +%s)
SIG="sha256=$(printf '%s.POST.%s.%s.%s' "$TS" "$PATH_" "$KEY" "$BODY" \
| openssl dgst -sha256 -hmac "$MOOKHPAY_PAYOUT_SECRET" -hex | sed 's/^.* //')"
curl -X POST "$BASE$PATH_" \
-H "Authorization: Bearer $MOOKHPAY_SECRET_KEY" \
-H "Idempotency-Key: $KEY" \
-H "Content-Type: application/json" \
-H "X-Mookh-Timestamp: $TS" \
-H "X-Mookh-Signature: $SIG" \
--data-raw "$BODY"js
import { createHmac } from "node:crypto";
const BASE = "https://payments-ke-staging.mookhpay.co";
export function signRequest(secret, { timestamp, method, path, idempotencyKey, body }) {
const mac = createHmac("sha256", secret)
.update(`${timestamp}.${method.toUpperCase()}.${path}.${idempotencyKey}.`)
.update(body);
return `sha256=${mac.digest("hex")}`;
}
export async function payOut(account, amount, remarks, idempotencyKey) {
const path = `/v1/payments/merchant/accounts/${account}/payouts`;
const body = JSON.stringify(remarks ? { amount, remarks } : { amount });
const timestamp = Math.floor(Date.now() / 1000).toString();
const signature = signRequest(process.env.MOOKHPAY_PAYOUT_SECRET, {
timestamp, method: "POST", path, idempotencyKey, body,
});
const res = await fetch(BASE + path, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.MOOKHPAY_SECRET_KEY}`,
"Idempotency-Key": idempotencyKey,
"Content-Type": "application/json",
"X-Mookh-Timestamp": timestamp,
"X-Mookh-Signature": signature,
},
body,
});
const answer = await res.json();
if (!answer.ok) throw Object.assign(new Error(answer.description), { status: res.status, answer });
return answer.data;
}
// Check against the known answer before using it:
// signRequest("mps_0123456789abcdefghijklmnopqrstuvwxyzABCDEFG", {
// timestamp: "1763632804", method: "POST",
// path: "/v1/payments/merchant/accounts/acct_ke_9c2f41b07e5d38a6c1f0b294/payouts",
// idempotencyKey: "payout-seller-2291-2026-w47",
// body: '{"amount":500000,"remarks":"Week 47 sales"}',
// })
// → "sha256=3fde6af0d5de57352d6c123f3d69eef2a688d1fef6a44d027f175e2434a24371"
const payout = await payOut("acct_ke_9c2f41b07e5d38a6c1f0b294", 500000, "Week 47 sales", "payout-2026-w47-8841");
console.log(payout.payout_id, payout.status);python
import hashlib
import hmac
import json
import os
import time
import requests
BASE = "https://payments-ke-staging.mookhpay.co"
def sign_request(secret: str, timestamp: str, method: str, path: str, idempotency_key: str, body: bytes) -> str:
message = f"{timestamp}.{method.upper()}.{path}.{idempotency_key}.".encode("utf-8") + body
return "sha256=" + hmac.new(secret.encode("utf-8"), message, hashlib.sha256).hexdigest()
def pay_out(account: str, amount: int, remarks: str | None, idempotency_key: str) -> dict:
path = f"/v1/payments/merchant/accounts/{account}/payouts"
fields = {"amount": amount, **({"remarks": remarks} if remarks else {})}
body = json.dumps(fields, separators=(",", ":")).encode("utf-8")
timestamp = str(int(time.time()))
res = requests.post(
BASE + path,
headers={
"Authorization": f"Bearer {os.environ['MOOKHPAY_SECRET_KEY']}",
"Idempotency-Key": idempotency_key,
"Content-Type": "application/json",
"X-Mookh-Timestamp": timestamp,
"X-Mookh-Signature": sign_request(
os.environ["MOOKHPAY_PAYOUT_SECRET"], timestamp, "POST", path, idempotency_key, body
),
},
data=body, # the signed bytes, not json=
timeout=30,
)
answer = res.json()
if not answer["ok"]:
raise RuntimeError(f"{res.status_code} {answer['code']}: {answer['description']}")
return answer["data"]
assert sign_request(
"mps_0123456789abcdefghijklmnopqrstuvwxyzABCDEFG",
"1763632804",
"POST",
"/v1/payments/merchant/accounts/acct_ke_9c2f41b07e5d38a6c1f0b294/payouts",
"payout-seller-2291-2026-w47",
b'{"amount":500000,"remarks":"Week 47 sales"}',
) == "sha256=3fde6af0d5de57352d6c123f3d69eef2a688d1fef6a44d027f175e2434a24371"
payout = pay_out("acct_ke_9c2f41b07e5d38a6c1f0b294", 500000, "Week 47 sales", "payout-2026-w47-8841")
print(payout["payout_id"], payout["status"])php
<?php
const BASE = "https://payments-ke-staging.mookhpay.co";
function signRequest(string $secret, string $timestamp, string $method, string $path, string $idempotencyKey, string $body): string {
$message = $timestamp . "." . strtoupper($method) . "." . $path . "." . $idempotencyKey . "." . $body;
return "sha256=" . hash_hmac("sha256", $message, $secret);
}
function payOut(string $account, int $amount, ?string $remarks, string $idempotencyKey): array {
$path = "/v1/payments/merchant/accounts/$account/payouts";
$fields = ["amount" => $amount];
if ($remarks !== null) $fields["remarks"] = $remarks;
$body = json_encode($fields, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
$timestamp = (string) time();
$signature = signRequest(getenv("MOOKHPAY_PAYOUT_SECRET"), $timestamp, "POST", $path, $idempotencyKey, $body);
$ch = curl_init(BASE . $path);
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("MOOKHPAY_SECRET_KEY"),
"Idempotency-Key: $idempotencyKey",
"Content-Type: application/json",
"X-Mookh-Timestamp: $timestamp",
"X-Mookh-Signature: $signature",
],
CURLOPT_POSTFIELDS => $body,
]);
$answer = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if (!$answer["ok"]) {
throw new RuntimeException("$status {$answer['code']}: {$answer['description']}");
}
return $answer["data"];
}
assert(signRequest(
"mps_0123456789abcdefghijklmnopqrstuvwxyzABCDEFG",
"1763632804",
"POST",
"/v1/payments/merchant/accounts/acct_ke_9c2f41b07e5d38a6c1f0b294/payouts",
"payout-seller-2291-2026-w47",
'{"amount":500000,"remarks":"Week 47 sales"}'
) === "sha256=3fde6af0d5de57352d6c123f3d69eef2a688d1fef6a44d027f175e2434a24371");
$payout = payOut("acct_ke_9c2f41b07e5d38a6c1f0b294", 500000, "Week 47 sales", "payout-2026-w47-8841");
echo $payout["payout_id"], " ", $payout["status"], "\n";The curl sample needs a body with no line breaks: printf signs exactly the bytes --data-raw sends. It names the path PATH_ so as not to overwrite the shell's PATH.
The payout is reserved from the seller's main wallet and sent to the rail during the call. The answer is 202:
json
{
"ok": true,
"description": "Payout requested",
"data": {
"payout_id": "po_ke_3f9a0c2e7b1d4a6c8e0f2b4d",
"account": "acct_ke_9c2f41b07e5d38a6c1f0b294",
"status": "processing",
"amount": 500000,
"fee": 0,
"total": 500000,
"currency": "KES",
"remarks": "Week 47 sales",
"destination": { "rail": "mpesa", "phone_masked": "+254 7•• ••• 678" },
"approval_id": null,
"failure": null,
"created_at": "2026-11-20T12:00:04.000Z"
}
}Store payout_id. fee is the payout fee and total is what left the wallet. The fields are described in The payout object.
Statuses
| Status | Meaning | Money |
|---|---|---|
processing | Reserved and sent to the rail, waiting for its answer | Out of the wallet, reserved |
held | Held for a MOOKHPay check before it is sent | Out of the wallet, reserved |
awaiting_approval | A company account's payout, waiting for its owners' signatures in MOOKHPay | Still in the wallet |
paid | The rail confirmed it | Gone to the seller |
failed | The rail refused it, the check declined it, the owners declined or let the approval lapse, or the request was refused | Back in the wallet, or never left |
paid and failed are final. You learn them from payout.paid and payout.failed, or by reading GET /accounts/{id}/payouts/{payout_id}.
A payout held for a check
MOOKHPay can hold a payout for a check before it leaves, for example on an account's first payouts. The answer says status: "held". Nothing is needed from you; the payout moves to processing once MOOKHPay approves it, or to failed if MOOKHPay declines it. Do not send it again.
A company account's payout
A payout from a business account that is a company is filed for its owners' signatures in MOOKHPay. The answer is 202 with status: "awaiting_approval" and an approval_id, and no money moves until the owners sign. A sole proprietorship's payout is not held this way.
Failure codes
A failed payout carries failure: { code, message }, and payout.failed carries the same. The message is safe to show the seller.
| Code | Meaning |
|---|---|
rail_unavailable | The payment network could not send it. The money is back in the wallet |
recipient_unreachable | The number cannot receive this payout. The money is back in the wallet |
limit_exceeded | The payout is over a limit on the network. The money is back in the wallet |
declined | Declined, including by MOOKHPay's check or by the account's owners. The money is back in the wallet, or never left |
Pocket mode
When MOOKHPay has set up a pocket for your platform, every payout works on that pocket. See Pay into your users' pockets for what a pocket is and how money gets into it.
| Without a pocket | Pocket mode | |
|---|---|---|
| Money comes from | The account's main wallet | Your pocket in the person's wallet. Never main or the person's other pockets |
| It goes to | The payout account chosen for main, else the person's phone | The pocket's payout destination, else the payout account chosen for main, else the person's phone |
| The fee | On top of amount, from main | On top of amount, from the pocket |
| A failed payout | Money and fee back in main | MOOKHPay puts the money and fee back in the pocket itself. Nothing is needed from you |
2732 | main does not hold amount plus the fee | The pocket does not hold amount plus the fee |
| A company account | Filed for its owners' signatures | Refused: 422 and code 3037 (PLATFORM_COMPANY_ACCOUNTS_OFF) |
| An account whose holder disconnected you | 404 and code 2943 | 409 and code 3061 (PLATFORM_ACCOUNT_DISCONNECTED) |
| The pocket not opened yet | Does not apply | 409 and code 3063 (PLATFORM_POCKET_NOT_READY). Retry in a few seconds |
The request, the signature, the caps and the answer are the same in both.
Set the payout destination
In pocket mode you can set the number a pocket pays out to, as long as the person proves it is theirs. Two calls, each with payouts:write, an Idempotency-Key and a signature:
POST /accounts/{id}/payout-destinationwithrail(mpesain Kenya) andphone. MOOKHPay texts a six-digit code to that phone and answersverification_idandexpires_at. A number the rail cannot pay answers422and code3040.- The person types the code into your app. Send it with
POST /accounts/{id}/payout-destination/verifyasverification_idandcode. The answer isdestination: { rail, phone_masked }, and from then on the pocket's payouts go to that number.
| Rule | Detail |
|---|---|
| How long a code lasts | 10 minutes |
| Wrong codes | 422 and code 3065, with data.tries_left. After 5 wrong codes, the code stops working |
| A code that stopped working | 422 and code 3066: too old, already used, entered wrong 5 times, or an unknown verification_id. Start again at step 1 |
| How often | One code a minute per account (429 and code 1804, with data.retry_after), and 30 calls a minute per platform |
| The person's say | They can change the pocket's payout account in MOOKHPay at any time, with their PIN |
Errors from these routes carry the code's name in data.error. See Errors.
Daily caps
Two caps can refuse a payout. Both answer 422 with how much is left, in minor units:
| Code | Cap |
|---|---|
2947 PLATFORM_PAYOUT_CAP_REACHED | Your platform's own daily payout cap, set by MOOKHPay, across all your accounts. Counted from midnight East Africa Time. It counts the amount of every payout paid or still on its way, not the fee, and none that was refused, failed on the rail, was declined by MOOKHPay's check, or whose approval was rejected, cancelled or ran out |
2948 PLATFORM_ACCOUNT_LIMIT_REACHED | The account's own daily cap on money out, for an account you opened whose identity has not been checked. MOOKHPay sets the amount per deployment and may not switch it on at all. A verified or linked account is not under it. It is not the general daily withdrawal limit, which refuses with 2751 |
json
{
"ok": false,
"description": "This payout would take your platform past its daily payout cap",
"data": { "cap": 50000000, "used": 49800000, "remaining": 200000 },
"code": 2947
}Retries
- The same
Idempotency-Keyand body answer the same payout with200, in its current state. Send a fresh timestamp and signature with each retry: a signature is accepted once, so resending the first attempt's signature answers401and code3021. - The same key with a different body, or for a different account, answers
422with code3015. - A payout that was refused (for example
2732, not enough money) is refused the same way when you retry with the same key and body. Use a new key once you have fixed the cause. - A timeout tells you nothing about whether the payout started. Retry with the same key; never send a new key until you know the first did not start.
Read payouts
| Route | Answers |
|---|---|
GET /accounts/{id}/payouts/{payout_id} | One payout |
GET /accounts/{id}/payouts | One account's payouts, newest first, 1 to 100 a page (default 20), with has_more |
Either payouts:write or accounts:read will do. To page, pass the last payout_id of a page as starting_after. One that is not this account's answers 400 with code 3012.
sh
curl "https://payments-ke-staging.mookhpay.co/v1/payments/merchant/accounts/acct_ke_9c2f41b07e5d38a6c1f0b294/payouts?limit=50" \
-H "Authorization: Bearer $MOOKHPAY_SECRET_KEY"js
const account = "acct_ke_9c2f41b07e5d38a6c1f0b294";
const payouts = [];
let after = null;
for (;;) {
const url = new URL(
`https://payments-ke-staging.mookhpay.co/v1/payments/merchant/accounts/${account}/payouts`,
);
url.searchParams.set("limit", "50");
if (after) url.searchParams.set("starting_after", after);
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOOKHPAY_SECRET_KEY}` },
});
const body = await res.json();
if (!body.ok) throw new Error(`${res.status} ${body.code}: ${body.description}`);
payouts.push(...body.data.payouts);
if (!body.data.has_more) break;
after = body.data.payouts.at(-1).payout_id;
}
console.log(payouts.length);python
import os
import requests
account = "acct_ke_9c2f41b07e5d38a6c1f0b294"
payouts, after = [], None
while True:
params = {"limit": 50, **({"starting_after": after} if after else {})}
res = requests.get(
f"https://payments-ke-staging.mookhpay.co/v1/payments/merchant/accounts/{account}/payouts",
headers={"Authorization": f"Bearer {os.environ['MOOKHPAY_SECRET_KEY']}"},
params=params,
timeout=30,
)
body = res.json()
if not body["ok"]:
raise RuntimeError(f"{res.status_code} {body['code']}: {body['description']}")
payouts.extend(body["data"]["payouts"])
if not body["data"]["has_more"]:
break
after = body["data"]["payouts"][-1]["payout_id"]
print(len(payouts))php
<?php
$account = "acct_ke_9c2f41b07e5d38a6c1f0b294";
$payouts = [];
$after = null;
do {
$query = http_build_query(array_filter(["limit" => 50, "starting_after" => $after]));
$ch = curl_init("https://payments-ke-staging.mookhpay.co/v1/payments/merchant/accounts/$account/payouts?$query");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("MOOKHPAY_SECRET_KEY")],
]);
$body = json_decode(curl_exec($ch), true);
if (!$body["ok"]) {
throw new RuntimeException("{$body['code']}: {$body['description']}");
}
array_push($payouts, ...$body["data"]["payouts"]);
$after = $body["data"]["has_more"] ? end($body["data"]["payouts"])["payout_id"] : null;
} while ($after !== null);
echo count($payouts), "\n";Webhooks
| Event | Your copy | The seller's copy |
|---|---|---|
payout.paid, payout.failed | payout_id is your po_… id. Adds intent_id, account and failure (null on payout.paid) | payout_id is the payment attempt's pi_… id, with no account |
A refused payout (one that answers an error on the call) sends no webhook. See the event catalogue.
Errors
| HTTP | Code | Name | When | What to do |
|---|---|---|---|---|
400 | 1701 | INVALID_REQUEST_DATA | Not whole units, an unknown field or a bad remark. A body that fails the schema is answered before the signature is checked | Fix the body |
401 | 3021 | PAYOUT_SIGNATURE_INVALID | Missing, malformed, wrong or already used signature, or a timestamp more than 300 s off | Sign the timestamp, method, path, Idempotency-Key and the exact body bytes, with a current timestamp. See Sign the request |
403 | 3022 | PAYOUT_SIGNING_SECRET_MISSING | Your platform has no signing secret yet | An Owner makes one in the hub |
403 | 3025 | PLATFORM_GRANT_SCOPE_MISSING | The account's owner did not grant payouts:write | Ask the owner to link again with it |
404 | 2943 | PLATFORM_ACCOUNT_NOT_FOUND | Unknown, another platform's or revoked account | Stop using the id |
409 | 3061 | PLATFORM_ACCOUNT_DISCONNECTED | Pocket mode. The person disconnected your platform | Stop paying out to the account |
409 | 3063 | PLATFORM_POCKET_NOT_READY | Pocket mode. The pocket is still being opened | Retry in a few seconds with the same key and a fresh signature |
422 | 2701 | RAIL_NOT_AVAILABLE | The destination's rail is not available | Retry later |
422 | 2702 | INVALID_AMOUNT | Outside the rail's payout limits | See Limits |
422 | 2731 | DISBURSEMENT_DISABLED | Payouts are switched off on this rail right now | Retry later |
422 | 2732 | INSUFFICIENT_BALANCE | main, or in pocket mode the pocket, does not hold the amount plus the fee | Read the balance; pay out less |
422 | 3037 | PLATFORM_COMPANY_ACCOUNTS_OFF | Pocket mode, and the account is a company | A company's payouts cannot come from a pocket today |
423 | 2726 | POCKET_LOCKED | The seller locked main | Wait for the lock to end |
422 | 2751 | LEDGER_BOOKING_FAILED | The ledger refused the reserve for another reason, such as the general daily withdrawal limit | Retry with a new key later; contact MOOKHPay if it persists |
422 | 2947 | PLATFORM_PAYOUT_CAP_REACHED | Over your platform's daily cap | Wait until tomorrow, or ask MOOKHPay |
422 | 2948 | PLATFORM_ACCOUNT_LIMIT_REACHED | Over the daily cap on money out for an unverified account you opened | Wait until tomorrow; the cap no longer applies once the seller passes the identity check |
422 | 2949 | PLATFORM_PAYOUT_NO_DESTINATION | No payout account and no phone | The owners set a payout account in MOOKHPay |
422 | 3040 | PLATFORM_PAYOUT_DESTINATION_INVALID | The seller's payout account or phone is not a number the rail can pay. data.source is payout_account or phone | Ask the seller to change it in MOOKHPay; you cannot |
422 | 3015 | IDEMPOTENCY_KEY_REUSED | Same key, different body or account | Use a new key |
429 | 1804 | RATE_LIMIT_EXCEEDED | More than 60 payout requests a minute | Wait Retry-After seconds |
503 | 3016 | PLATFORM_ACCOUNTS_UNAVAILABLE | The seller's contact could not be read | Retry with the same key |