Skip to content

Bulk payout status

POST
/open/transact/bulk_status

Read the progress of one batch: counts, amounts and a page of payouts in data.hooks, each with the fields of Transfer Status plus its batch state.

New to bulk payouts? Read the Bulk payouts guide first. Listen for the bulk_payout.completed rather than polling.

history

Request History

Your request history will appear here.

Headers

X-API-USER stringrequired

Your Moolre username.

X-API-KEY stringrequired

Your wallet private API key. A public key is refused.

Body Params

accountnumberstringrequired

Your Moolre wallet account number.

batchidstringoptional

The batchid returned when the batch was created. Send batchid or batchref.

batchrefstringoptional

Your batchref. Send batchid or batchref.

statusstringoptional

Item filter: queued, submitted, pending, succeeded or failed.

pageintegeroptional

Page to read, from 1. Default 1. data.pages says how many there are.

limitintegeroptional

Payouts per page, 1 to 500. Default 100.

Responses

The batch, its counts and a page of payouts in data.hooks. Batch status is queued, processing or completed; unresolved is true when the batch completed after 72 hours with some items still pending. Each hook is the status check of that payout: code SS01 and txstatus 1 when paid, SS02 and txstatus 2 when failed, SS08 and txstatus 0 while queued, submitted or pending. hook.data also has index, receiver, channel, state, attempts, receivername, updated, and itemcode and itemmessage, which say why an item failed.

statusinteger
1 for success
codestring
Response code, BLK21
messagestring
Response message
dataobject
Result
gonull
Navigation hint
metaobject
Always present. meta.requestid is the unique id of this request (also the X-Request-Id header); quote it to support. meta.notices is an array, empty when there is nothing to report. meta.replayed is true only on an idempotent replay.
{  "status": 1,  "code": "BLK21",  "message": "Batch found.",  "data": {    "batchid": "bat_3f9c2a1d7e5b4c60",    "batchref": "PAYROLL-2026-11",    "accountnumber": "1000000000001",    "currency": "GHS",    "status": "processing",    "unresolved": false,    "total_amount": "150.00",    "balance_warning": false,    "counts": {      "total": 2,      "queued": 0,      "submitted": 1,      "pending": 0,      "succeeded": 1,      "failed": 0    },    "succeeded_amount": "100.00",    "failed_amount": "0.00",    "rejected_items": 1,    "created": "2026-11-15T09:00:00Z",    "started": "2026-11-15T09:00:40Z",    "completed": null,    "page": 1,    "pages": 1,    "hooks": [      {        "status": 1,        "code": "SS01",        "message": "Transaction Successful",        "data": {          "txstatus": 1,          "txtype": 2,          "accountnumber": "1000000000001",          "payer": "",          "payee": "0240000001",          "amount": "100",          "value": "100",          "fee": "1",          "networkfee": "0",          "transactionid": "123456",          "externalref": "PAY-1",          "thirdpartyref": "98765",          "ts": "2026-11-15 09:01:08",          "created_at": "2026-11-15T09:01:08Z",          "index": 0,          "receiver": "0240000001",          "channel": "MTN",          "state": "succeeded",          "attempts": 1,          "receivername": "KOFI A",          "updated": "2026-11-15T09:01:10Z",          "itemcode": "OBGH01",          "itemmessage": "Pay out Successful"        },        "go": null      }    ]  },  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}

page is not a whole number from 1.

statusinteger
0 for failure
codestring
Response code, for example BLK25
messagestring
Error message
datastring | object | null
The failing field, or details
metaobject
Always present: meta.requestid (the unique id of this request) and meta.notices (an array)
{  "status": 0,  "code": "BLK25",  "message": "page must be a whole number from 1.",  "data": "page",  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}

No batch with that batchid or batchref on this wallet.

statusinteger
0 for failure
codestring
Response code, for example BLK22
messagestring
Error message
datastring | object | null
The failing field, or details
metaobject
Always present: meta.requestid (the unique id of this request) and meta.notices (an array)
{  "status": 0,  "code": "BLK22",  "message": "Batch not found.",  "data": "batchid",  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}

Fields every response can carry

On failures, read code, message and data (the first failing field). meta is always present and holds requestid (also the X-Request-Id header), notices and, only on idempotent replays, replayed. There is no outcome field: use status, code and data.txstatus. Send X-Moolre-Http-Status: strict to receive real HTTP status codes. See Responses and request IDs and Errors and status codes.

Language

curl --request POST \     --url 'https://api.moolre.com/open/transact/bulk_status' \     --header 'X-API-USER: Your Username' \     --header 'X-API-KEY: YOUR_API_KEY' \     --header 'Content-Type: application/json' \     --data '{  "accountnumber": "",  "batchref": ""}'

Response

Body

{  "status": 1,  "code": "BLK21",  "message": "Batch found.",  "data": {    "batchid": "bat_3f9c2a1d7e5b4c60",    "batchref": "PAYROLL-2026-11",    "accountnumber": "1000000000001",    "currency": "GHS",    "status": "processing",    "unresolved": false,    "total_amount": "150.00",    "balance_warning": false,    "counts": {      "total": 2,      "queued": 0,      "submitted": 1,      "pending": 0,      "succeeded": 1,      "failed": 0    },    "succeeded_amount": "100.00",    "failed_amount": "0.00",    "rejected_items": 1,    "created": "2026-11-15T09:00:00Z",    "started": "2026-11-15T09:00:40Z",    "completed": null,    "page": 1,    "pages": 1,    "hooks": [      {        "status": 1,        "code": "SS01",        "message": "Transaction Successful",        "data": {          "txstatus": 1,          "txtype": 2,          "accountnumber": "1000000000001",          "payer": "",          "payee": "0240000001",          "amount": "100",          "value": "100",          "fee": "1",          "networkfee": "0",          "transactionid": "123456",          "externalref": "PAY-1",          "thirdpartyref": "98765",          "ts": "2026-11-15 09:01:08",          "created_at": "2026-11-15T09:01:08Z",          "index": 0,          "receiver": "0240000001",          "channel": "MTN",          "state": "succeeded",          "attempts": 1,          "receivername": "KOFI A",          "updated": "2026-11-15T09:01:10Z",          "itemcode": "OBGH01",          "itemmessage": "Pay out Successful"        },        "go": null      }    ]  },  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}