Check your key works
You received a
jz_live_… API key from Jenzy at onboarding. It goes in
the Authorization header of every request. GET /ping exercises the
whole auth chain and echoes who you are:Check your balance
Payouts draw down your prefunded balance. Amounts are integer kwacha. If
available is what you can
spend now; held is reserved by payouts still in flight.available is short, book a trade with
Jenzy — funding lands as a trade.settled webhook and a credit here.Look up the destination
Destinations are validated when you create the payout — there is no
separate validation call. What you need first is the identifier for where
the money goes: an Banks work the same way via
operator_ref_id for mobile money, or a bank_uuid
for banks.GET /banks. Cache these lists — they change
rarely — and re-fetch if a create comes back unknown_bank /
unknown_operator.Create the payout
The endpoint is the rail: A A
/payouts/momo for mobile money,
/payouts/bank for banks — no rail field in the body. Every create
requires an Idempotency-Key header you mint per payout intent (a
UUID is perfect): retries with the same key and body return the original
response byte-for-byte, so a network timeout can never double-pay.202 means accepted: the amount is now held and the payout is queued.4xx here means no payout was created and nothing was held — see
Errors for every code. For a bank payout the body is
{ amount_mwk, bank_uuid, account_number, account_name } — all four
required.Learn the outcome
A payout is terminal when On failure the hold is released back to
status is succeeded or failed — nothing
else is final. Two ways to find out:Webhooks (recommended) — register an endpoint in your Jenzy portal
and you’ll receive payout.succeeded / payout.failed events within
seconds of the outcome. See Webhooks.Polling — re-read the payout until it goes terminal:available automatically, and
failure.code tells you whether a new payout is worth
submitting. A failed payout is never retried by
Hermes — resubmission is always a new payout with a new
Idempotency-Key.