GET
/
transactions
curl --request GET \
  --url https://api.mpesaflow.com/v1/transactions \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "customerId": "<string>",
      "object": "<string>",
      "currency": "<string>",
      "fee": "<string>",
      "amount": "<string>",
      "provider": "<string>",
      "providerReference": "<string>",
      "description": "<string>",
      "status": "pending",
      "type": "payment",
      "metadata": "<string>",
      "origin": "web",
      "declineReason": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "refundedAt": "<string>",
      "paidAt": "<string>",
      "failedAt": "<string>",
      "disputedAt": "<string>"
    }
  ],
  "pagination": {
    "totalCount": 123,
    "maxPage": 123,
    "currentPage": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required
Example:

"Bearer SECRET"

Query Parameters

page
number
default:1
Required range: x >= 1
limit
number
default:10
Required range: 1 <= x <= 100

Response

200
application/json

List of all transactions

The response is of type object.