Skip to content

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:writeSee API keys and scopes
The account's grant to include payouts:writeEvery account you opened has it. A linked account has it only if the owner approved it. Otherwise 403 with code 3025
A payout signing secretMade once by an Owner in the hub. Otherwise 403 with code 3022
PLATFORM_PAYOUTS_ENABLED on the deploymentOtherwise the route answers 404

Where the money goes ​

The body has no destination field, and nothing in the request can add one.

  1. If the seller chose a payout account for main in MOOKHPay, with their PIN, the payout goes there.
  2. 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).
  3. A business account has no phone. Without a payout account set by its owners, the call answers 422 with code 2949 and nothing is reserved.
  4. If the destination is a number the rail cannot pay, the call answers 422 with code 3040 (PLATFORM_PAYOUT_DESTINATION_INVALID) and data.source: payout_account when it is the payout account the seller chose, phone when 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 ​

  1. An Owner makes a new secret in the hub.
  2. Deploy it to every server that sends payouts, within 24 hours.
  3. 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.

HeaderValue
X-Mookh-TimestampThe Unix time in seconds, as 1 to 12 digits
X-Mookh-Signaturesha256= 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}
PartWhat it is
timestampExactly what you send in X-Mookh-Timestamp
METHODThe HTTP method in capitals: POST
pathThe request path, starting /v1/payments/merchant/, without the host and without any query string
Idempotency-KeyExactly what you send in the Idempotency-Key header
raw bodyThe 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-Key and 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 answers 401 and code 3021.
  • 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 401 with code 3021. The answer does not say which.

Check your implementation ​

With these values:

Secretmps_0123456789abcdefghijklmnopqrstuvwxyzABCDEFG
Timestamp1763632804
MethodPOST
Path/v1/payments/merchant/accounts/acct_ke_9c2f41b07e5d38a6c1f0b294/payouts
Idempotency-Keypayout-seller-2291-2026-w47
Body{"amount":500000,"remarks":"Week 47 sales"}

your code must produce:

text
sha256=3fde6af0d5de57352d6c123f3d69eef2a688d1fef6a44d027f175e2434a24371

This secret is an example and signs nothing on MOOKHPay.

Send a payout ​

Body fieldTypeRequiredRules
amountintegerYesMinor 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
remarksstringNo1 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 ​

StatusMeaningMoney
processingReserved and sent to the rail, waiting for its answerOut of the wallet, reserved
heldHeld for a MOOKHPay check before it is sentOut of the wallet, reserved
awaiting_approvalA company account's payout, waiting for its owners' signatures in MOOKHPayStill in the wallet
paidThe rail confirmed itGone to the seller
failedThe rail refused it, the check declined it, the owners declined or let the approval lapse, or the request was refusedBack 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.

CodeMeaning
rail_unavailableThe payment network could not send it. The money is back in the wallet
recipient_unreachableThe number cannot receive this payout. The money is back in the wallet
limit_exceededThe payout is over a limit on the network. The money is back in the wallet
declinedDeclined, 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 pocketPocket mode
Money comes fromThe account's main walletYour pocket in the person's wallet. Never main or the person's other pockets
It goes toThe payout account chosen for main, else the person's phoneThe pocket's payout destination, else the payout account chosen for main, else the person's phone
The feeOn top of amount, from mainOn top of amount, from the pocket
A failed payoutMoney and fee back in mainMOOKHPay puts the money and fee back in the pocket itself. Nothing is needed from you
2732main does not hold amount plus the feeThe pocket does not hold amount plus the fee
A company accountFiled for its owners' signaturesRefused: 422 and code 3037 (PLATFORM_COMPANY_ACCOUNTS_OFF)
An account whose holder disconnected you404 and code 2943409 and code 3061 (PLATFORM_ACCOUNT_DISCONNECTED)
The pocket not opened yetDoes not apply409 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:

  1. POST /accounts/{id}/payout-destination with rail (mpesa in Kenya) and phone. MOOKHPay texts a six-digit code to that phone and answers verification_id and expires_at. A number the rail cannot pay answers 422 and code 3040.
  2. The person types the code into your app. Send it with POST /accounts/{id}/payout-destination/verify as verification_id and code. The answer is destination: { rail, phone_masked }, and from then on the pocket's payouts go to that number.
RuleDetail
How long a code lasts10 minutes
Wrong codes422 and code 3065, with data.tries_left. After 5 wrong codes, the code stops working
A code that stopped working422 and code 3066: too old, already used, entered wrong 5 times, or an unknown verification_id. Start again at step 1
How oftenOne code a minute per account (429 and code 1804, with data.retry_after), and 30 calls a minute per platform
The person's sayThey 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:

CodeCap
2947 PLATFORM_PAYOUT_CAP_REACHEDYour 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_REACHEDThe 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-Key and body answer the same payout with 200, 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 answers 401 and code 3021.
  • The same key with a different body, or for a different account, answers 422 with code 3015.
  • 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 ​

RouteAnswers
GET /accounts/{id}/payouts/{payout_id}One payout
GET /accounts/{id}/payoutsOne 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 ​

EventYour copyThe seller's copy
payout.paid, payout.failedpayout_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 ​

HTTPCodeNameWhenWhat to do
4001701INVALID_REQUEST_DATANot whole units, an unknown field or a bad remark. A body that fails the schema is answered before the signature is checkedFix the body
4013021PAYOUT_SIGNATURE_INVALIDMissing, malformed, wrong or already used signature, or a timestamp more than 300 s offSign the timestamp, method, path, Idempotency-Key and the exact body bytes, with a current timestamp. See Sign the request
4033022PAYOUT_SIGNING_SECRET_MISSINGYour platform has no signing secret yetAn Owner makes one in the hub
4033025PLATFORM_GRANT_SCOPE_MISSINGThe account's owner did not grant payouts:writeAsk the owner to link again with it
4042943PLATFORM_ACCOUNT_NOT_FOUNDUnknown, another platform's or revoked accountStop using the id
4093061PLATFORM_ACCOUNT_DISCONNECTEDPocket mode. The person disconnected your platformStop paying out to the account
4093063PLATFORM_POCKET_NOT_READYPocket mode. The pocket is still being openedRetry in a few seconds with the same key and a fresh signature
4222701RAIL_NOT_AVAILABLEThe destination's rail is not availableRetry later
4222702INVALID_AMOUNTOutside the rail's payout limitsSee Limits
4222731DISBURSEMENT_DISABLEDPayouts are switched off on this rail right nowRetry later
4222732INSUFFICIENT_BALANCEmain, or in pocket mode the pocket, does not hold the amount plus the feeRead the balance; pay out less
4223037PLATFORM_COMPANY_ACCOUNTS_OFFPocket mode, and the account is a companyA company's payouts cannot come from a pocket today
4232726POCKET_LOCKEDThe seller locked mainWait for the lock to end
4222751LEDGER_BOOKING_FAILEDThe ledger refused the reserve for another reason, such as the general daily withdrawal limitRetry with a new key later; contact MOOKHPay if it persists
4222947PLATFORM_PAYOUT_CAP_REACHEDOver your platform's daily capWait until tomorrow, or ask MOOKHPay
4222948PLATFORM_ACCOUNT_LIMIT_REACHEDOver the daily cap on money out for an unverified account you openedWait until tomorrow; the cap no longer applies once the seller passes the identity check
4222949PLATFORM_PAYOUT_NO_DESTINATIONNo payout account and no phoneThe owners set a payout account in MOOKHPay
4223040PLATFORM_PAYOUT_DESTINATION_INVALIDThe seller's payout account or phone is not a number the rail can pay. data.source is payout_account or phoneAsk the seller to change it in MOOKHPay; you cannot
4223015IDEMPOTENCY_KEY_REUSEDSame key, different body or accountUse a new key
4291804RATE_LIMIT_EXCEEDEDMore than 60 payout requests a minuteWait Retry-After seconds
5033016PLATFORM_ACCOUNTS_UNAVAILABLEThe seller's contact could not be readRetry with the same key

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