> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.crisscross.money/api-reference/collect/payments/manage-payments/list-transactions/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.crisscross.money/_mcp/server. # List Payments (Transactions) GET https://api.crisscross.money/v1/payment Lists transactions for one or more merchants using cursor-based pagination. If no cursor is provided, the API returns the first 50 transactions by default. Reference: https://docs.crisscross.money/api-reference/collect/payments/manage-payments/list-transactions ## Request ### Query parameters - `merchantIds` (string, required) — Comma-separated list of merchant IDs. - `cursor` (string, optional) — Cursor for the next page of results. - `backCursor` (string, optional) — Cursor for the previous page of results. ## Response ### 200 Transactions retrieved successfully. - `transactions` (list of TransactionFullStateResponse, optional) - `nextCursor` (string, optional) — Cursor for the next page of results (if available). - `backCursor` (string, optional) — Cursor for the previous page of results (if available). ## Errors ### 400 Bad Request Error Invalid request parameters. - `message` (string, required) — Human-readable description of what went wrong. - `error` (string, required) — Error category. Most endpoints return the HTTP reason phrase (e.g. "Bad Request", "Unauthorized", "Conflict", "Unprocessable Entity", "Internal Server Error"). Some return a machine-readable snake_case code instead — notably the FX and rate-lock rejections on checkout session creation and payment initiation, where several distinct codes share a single HTTP status. Where a code is present it is the finer discriminator and is safe to branch on. - `statusCode` (integer, required) — HTTP status code, mirroring the response header. The response header is the source of truth. ### 401 Unauthorized Error Unauthorized. - `message` (string, required) — Human-readable description of what went wrong. - `error` (string, required) — Error category. Most endpoints return the HTTP reason phrase (e.g. "Bad Request", "Unauthorized", "Conflict", "Unprocessable Entity", "Internal Server Error"). Some return a machine-readable snake_case code instead — notably the FX and rate-lock rejections on checkout session creation and payment initiation, where several distinct codes share a single HTTP status. Where a code is present it is the finer discriminator and is safe to branch on. - `statusCode` (integer, required) — HTTP status code, mirroring the response header. The response header is the source of truth. ## Types ### TransactionFullStateResponse Complete transaction state response with full details and history. - `currentState` (string, required) — Current transaction state - `previousStates` (list of string, required) — Array of previous transaction states - `processor` (string, required) — Payment processor used for the transaction - `merchantName` (string, required) — Merchant name - `transactionId` (string, required) — Unique transaction identifier - `amount` (double, required) — Transaction amount as a decimal in **major** units (e.g. `10` = 10.00 KES) — unlike session creation, which takes minor units. - `transactionType` (string, required) — Transaction type - `paymentMethodId` (string, required) — Payment method identifier - `currency` (string, required) — Transaction currency - `merchantReference` (string, required) — Merchant reference - `transactionStates` (list of map from string to any, required) — Detailed transaction state history - `paymentAttributes` (map from string to string, optional) — Payment-specific attributes and metadata - `identifiers` (map from string to string, optional) — Additional transaction identifiers. For collections this includes `sessionId` — the checkout session the transaction belongs to — and `payerId`, the persistent [payer identifier](/payer-id). - `paymentInstrument` (map from string to any, optional) — Payment instrument details when applicable. - `processorReference` (string, optional) — Payment processor reference - `financialTransactionReference` (string, optional) — Financial transaction reference from the processor - `currentAttemptId` (string, optional) — Current attempt identifier - `batchPayoutId` (string, optional) — Batch payout identifier, if the transaction is part of a batch payout - `refundTransactionIds` (list of string, optional) — Transaction identifiers of all refunds processed against this transaction. Each entry can be passed to `GET /payment/{transactionId}` to retrieve full refund state. UUID v7. ## Examples **Response** ```json { "transactions": [ { "currentState": "string", "previousStates": [ "string" ], "processor": "string", "merchantName": "string", "transactionId": "string", "amount": 1.1, "transactionType": "string", "paymentMethodId": "string", "currency": "string", "merchantReference": "string", "transactionStates": [ {} ], "paymentAttributes": {}, "identifiers": {}, "paymentInstrument": {}, "processorReference": "string", "financialTransactionReference": "string", "currentAttemptId": "string", "batchPayoutId": "string", "refundTransactionIds": [ "string" ] } ], "nextCursor": "string", "backCursor": "string" } ``` **SDK Code** ```python import requests url = "https://api.crisscross.money/v1/payment" querystring = {"merchantIds":"merchantIds"} response = requests.get(url, params=querystring) print(response.json()) ``` ```javascript const url = 'https://api.crisscross.money/v1/payment?merchantIds=merchantIds'; const options = {method: 'GET'}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.crisscross.money/v1/payment?merchantIds=merchantIds" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://api.crisscross.money/v1/payment?merchantIds=merchantIds") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.crisscross.money/v1/payment?merchantIds=merchantIds") .asString(); ``` ```php request('GET', 'https://api.crisscross.money/v1/payment?merchantIds=merchantIds'); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://api.crisscross.money/v1/payment?merchantIds=merchantIds"); var request = new RestRequest(Method.GET); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let request = NSMutableURLRequest(url: NSURL(string: "https://api.crisscross.money/v1/payment?merchantIds=merchantIds")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" 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() ```