> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.shimi.cash/api-reference/shimi-api/customer-transactions/list-all-transactions/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.shimi.cash/_mcp/server. # List All Transactions GET https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/transaction/ List all customer-account transactions across your company. **Query parameters** | Field | Type | Required | Notes | |---|---|---|---| | `page` | integer | no | Default 1 | | `pageSize` | integer | no | Default 50, max 100 | **Behaviour notes** - Lists inbound credits to your customers' dedicated accounts, newest first. - The list is nested at `data.data`, with pagination in `data.meta`. - A page past the last one returns an empty `data.data` with accurate `meta`. - `type` is `CREDIT` and `status` is `SUCCESS` for webhook-credited transfers. `fee` is usually `null`. Reference: https://docs.shimi.cash/api-reference/shimi-api/customer-transactions/list-all-transactions ## Authentication - `Authorization` header (bearer token, required) — Access token from Generate Access Token (valid 15 minutes). ## Request ### Query parameters - `page` (string, optional) - `pageSize` (string, optional) ## Response ### 200 OK - `status` (string, optional) - `data` (TransactionGetResponsesContentApplicationJsonSchemaData, optional) ## Errors ### 400 Bad Request Error Bad Request - `status` (string, optional) - `message` (string, optional) ### 401 Unauthorized Error Unauthorized - `message` (string, optional) ### 403 Forbidden Error Invalid or expired access token / KYB not approved / Account deactivated - `message` (string, optional) - `code` (string, optional) - `kybStatus` (string, optional) ## Types ### TransactionGetResponsesContentApplicationJsonSchemaData - `data` (list of TransactionGetResponsesContentApplicationJsonSchemaDataDataItems, optional) - `meta` (TransactionGetResponsesContentApplicationJsonSchemaDataMeta, optional) ### TransactionGetResponsesContentApplicationJsonSchemaDataDataItems - `id` (string, optional) - `amount` (integer, optional) - `type` (string, optional) - `status` (string, optional) - `fee` (string, optional, nullable) - `narration` (string, optional) - `sessionId` (string, optional) - `createdAt` (string, optional) - `currency` (TransactionGetResponsesContentApplicationJsonSchemaDataDataItemsCurrency, optional) - `customer` (TransactionGetResponsesContentApplicationJsonSchemaDataDataItemsCustomer, optional) ### TransactionGetResponsesContentApplicationJsonSchemaDataMeta - `page` (integer, optional) - `pageSize` (integer, optional) - `totalItems` (integer, optional) - `totalPages` (integer, optional) - `hasNextPage` (boolean, optional) - `hasPrevPage` (boolean, optional) - `nextPage` (string, optional, nullable) - `prevPage` (string, optional, nullable) - `from` (integer, optional) - `to` (integer, optional) ### TransactionGetResponsesContentApplicationJsonSchemaDataDataItemsCurrency - `name` (string, optional) ### TransactionGetResponsesContentApplicationJsonSchemaDataDataItemsCustomer - `id` (string, optional) - `firstName` (string, optional) - `lastName` (string, optional) ## Examples **Response** ```json { "status": "success", "data": { "data": [ { "id": "cmgc1h9v30012rk5y2m7n4p6q", "amount": 50000, "type": "CREDIT", "status": "SUCCESS", "fee": null, "narration": "TRF FRM ADEBAYO TUNDE/Rent Oct", "sessionId": "000013261004102233441122334455", "createdAt": "2026-10-04T10:22:41.118Z", "currency": { "name": "NGN" }, "customer": { "id": "cmg8x2k4p0001qz7h3n9d5v2a", "firstName": "Chiamaka", "lastName": "Okonkwo" } }, { "id": "cmgc0f4w80009rk5ya8b3c1de", "amount": 12500, "type": "CREDIT", "status": "SUCCESS", "fee": null, "narration": "INWARDS", "sessionId": "000016261003181510998877665544", "createdAt": "2026-10-03T18:15:09.604Z", "currency": { "name": "NGN" }, "customer": { "id": "cmg8y5t1m0004qz7hk2l8w3rb", "firstName": "Tunde", "lastName": "Adebayo" } } ], "meta": { "page": 1, "pageSize": 50, "totalItems": 2, "totalPages": 1, "hasNextPage": false, "hasPrevPage": false, "nextPage": null, "prevPage": null, "from": 1, "to": 2 } } } ``` **SDK Code** ```python 200 Success import requests url = "https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/transaction/" querystring = {"page":"1","pageSize":"50"} headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers, params=querystring) print(response.json()) ``` ```javascript 200 Success const url = 'https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/transaction/?page=1&pageSize=50'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go 200 Success package main import ( "fmt" "net/http" "io" ) func main() { url := "https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/transaction/?page=1&pageSize=50" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer ") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby 200 Success require 'uri' require 'net/http' url = URI("https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/transaction/?page=1&pageSize=50") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Bearer ' response = http.request(request) puts response.read_body ``` ```java 200 Success import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/transaction/?page=1&pageSize=50") .header("Authorization", "Bearer ") .asString(); ``` ```php 200 Success request('GET', 'https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/transaction/?page=1&pageSize=50', [ 'headers' => [ 'Authorization' => 'Bearer ', ], ]); echo $response->getBody(); ``` ```csharp 200 Success using RestSharp; var client = new RestClient("https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/transaction/?page=1&pageSize=50"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer "); IRestResponse response = client.Execute(request); ``` ```swift 200 Success import Foundation let headers = ["Authorization": "Bearer "] let request = NSMutableURLRequest(url: NSURL(string: "https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/transaction/?page=1&pageSize=50")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```