GET: Account Transactions
Fetch Your Account Transactions
This endpoint enables you to fetch all your account transactions. You can pass in pagination parameters as illustrated below.
Fetch your account transactions
GET
https://backend.payhero.co.ke/api/v2/transactions
Query Parameters
Name
Type
Description
page
Integer
The page number that you want to fecth data for
per
Integer
The total records per page
Headers
Name
Type
Description
Authorization:*
String
Basic authToken
From the response you can pick the next_page and prev_page params to help you navigate easily, You also get a count of all the available transactions
Sample Code
This represents PHP Curl example of how to make the request, you can implement this in your specific language of choice
Last updated