Payouts
Get payout history
GET
/api/v1/pawapay/payouts/historyLists past PawaPay payouts initiated through this API.
Requires Authorization
ADMIN, ACCOUNTANT only
Session
Query parameters
pagenumber | Defaults to 1. |
limitnumber | Max 100. Defaults to 20. |
statusstring | Filter by internal payout status. |
Request
curl --request GET \
--url https://api.swiftgoma.com/api/v1/pawapay/payouts/history \
--header 'Authorization: Bearer <access_token>'200Example response
{
"success": true,
"data": {
"payouts": [
{
"payoutId": "pay_5e6f7a8b",
"status": "ACCEPTED",
"amount": "50.00",
"currency": "USD",
"recipient": {
"type": "MMO",
"accountDetails": {
"phoneNumber": "243812345678",
"provider": "MTN_MOMO_COD"
}
}
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 1,
"totalPages": 1
}
}
}