Settlements
A settlement is a payout of your money from Wire Gh to your payout account. The Settlements API lets you see each payout, how it was worked out, and the payments it covered. Amounts are in pesewas. Payouts only happen in live mode, so test keys always return an empty list. Read the payouts guide to learn when you are paid.
List Settlements
List your payouts, newest first. Results are paginated.
effective_amount is what reached your account: net_amount (your payments less fees and refunds) minus the payout_fee. type is scheduled for automatic payouts and requested for payouts you asked for from your dashboard.
Headers
authorizationStringrequired- Set value to
Bearer YOUR_SECRET_KEY.
Query parameters
statusStringoptional- One of
pending,processing,success,failedorcancelled. fromStringoptional- Only payouts created on or after this date, for example
2026-11-01. toStringoptional- Only payouts created on or before this date. A date without a time includes the whole day.
perPageIntegeroptional- Records per page, from 1 to 100. Defaults to 50.
pageIntegeroptional- Page to return. Defaults to 1.
curl https://api.wiregh.com/settlement?status=success&perPage=1 \
-H "Authorization: Bearer YOUR_SECRET_KEY" \
-X GETconst response = await fetch('https://api.wiregh.com/settlement?status=success&perPage=1', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_SECRET_KEY'
}
});
const result = await response.json();
console.log(result);<?php
$ch = curl_init('https://api.wiregh.com/settlement?status=success&perPage=1');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_SECRET_KEY',
],
]);
$result = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($result);{
"status": true,
"message": "Settlements retrieved",
"data": [
{
"id": 42,
"reference": "STL_76A3987C17",
"integration": 78,
"domain": "live",
"status": "success",
"type": "requested",
"currency": "GHS",
"total_amount": 3000,
"total_fees": 59,
"total_refunds": 0,
"net_amount": 2941,
"payout_fee": 100,
"effective_amount": 2841,
"transaction_count": 1,
"destination": {
"type": "mobile_money",
"name": "MTN MoMo ending 4561",
"account_name": "AMA MENSAH",
"last4": "4561"
},
"failure_reason": null,
"period_start": "2026-11-11T07:56:02.000Z",
"period_end": "2026-11-11T07:56:02.000Z",
"settlement_date": "2026-11-12T13:56:05.000Z",
"createdAt": "2026-11-12T13:56:02.000Z",
"updatedAt": "2026-11-12T13:56:05.000Z"
}
],
"meta": {
"total": 1,
"perPage": 1,
"page": 1,
"pageCount": 1
}
}Fetch Settlement
Get one payout. status is pending while it is being prepared or reviewed, processing while it is on its way, success once it has been paid, failed when it could not be paid, or cancelled when our team stopped it. For failed and cancelled, the full net_amount is back on your balance and failure_reason says why.
Headers
authorizationStringrequired- Set value to
Bearer YOUR_SECRET_KEY.
Path parameters
idStringrequired- The settlement ID, or its reference such as
STL_76A3987C17.
curl https://api.wiregh.com/settlement/42 \
-H "Authorization: Bearer YOUR_SECRET_KEY" \
-X GETconst response = await fetch('https://api.wiregh.com/settlement/42', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_SECRET_KEY'
}
});
const result = await response.json();
console.log(result);<?php
$ch = curl_init('https://api.wiregh.com/settlement/42');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_SECRET_KEY',
],
]);
$result = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($result);{
"status": true,
"message": "Settlement retrieved",
"data": {
"id": 42,
"reference": "STL_76A3987C17",
"integration": 78,
"domain": "live",
"status": "success",
"type": "requested",
"currency": "GHS",
"total_amount": 3000,
"total_fees": 59,
"total_refunds": 0,
"net_amount": 2941,
"payout_fee": 100,
"effective_amount": 2841,
"transaction_count": 1,
"destination": {
"type": "mobile_money",
"name": "MTN MoMo ending 4561",
"account_name": "AMA MENSAH",
"last4": "4561"
},
"failure_reason": null,
"period_start": "2026-11-11T07:56:02.000Z",
"period_end": "2026-11-11T07:56:02.000Z",
"settlement_date": "2026-11-12T13:56:05.000Z",
"createdAt": "2026-11-12T13:56:02.000Z",
"updatedAt": "2026-11-12T13:56:05.000Z"
}
}{
"status": false,
"message": "Settlement not found",
"code": "not_found"
}Settlement Transactions
List the payments a payout covered, oldest first, so you can match a payout to your orders. Each item is a transaction with one extra field, settled_amount: what that payment added to the payout after fees and refunds. A failed or cancelled payout has no transactions, because its payments go out with a later payout.
Headers
authorizationStringrequired- Set value to
Bearer YOUR_SECRET_KEY.
Path parameters
idStringrequired- The settlement ID or reference.
Query parameters
perPageIntegeroptional- Records per page, from 1 to 100. Defaults to 50.
pageIntegeroptional- Page to return. Defaults to 1.
curl https://api.wiregh.com/settlement/42/transactions \
-H "Authorization: Bearer YOUR_SECRET_KEY" \
-X GETconst response = await fetch('https://api.wiregh.com/settlement/42/transactions', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_SECRET_KEY'
}
});
const result = await response.json();
console.log(result);<?php
$ch = curl_init('https://api.wiregh.com/settlement/42/transactions');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_SECRET_KEY',
],
]);
$result = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($result);{
"status": true,
"message": "Settlement transactions retrieved",
"data": [
{
"id": 602,
"domain": "live",
"status": "success",
"reference": "WG2611106K2PQX81MNA7DT",
"amount": 3000,
"requested_amount": 3000,
"message": null,
"gateway_response": "Approved",
"paid_at": "2026-11-10T07:42:13.000Z",
"created_at": "2026-11-11T13:42:13.000Z",
"channel": "mobile_money",
"currency": "GHS",
"ip_address": null,
"metadata": null,
"fees": 59,
"fee_bearer": "merchant",
"refunded_amount": 0,
"customer": {
"id": 4412,
"email": "kwame@example.com",
"customer_code": "CUS_8yq3m2k1x9tz",
"phone": "0551234561"
},
"authorization": {
"channel": "mobile_money",
"bank": "MTN",
"last4": "4561",
"country_code": "GH",
"reusable": false,
"mobile_money_number": "05512****61"
},
"settled_amount": 2941
}
],
"meta": {
"total": 1,
"perPage": 50,
"page": 1,
"pageCount": 1
}
}