> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://dev.admoji.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://dev.admoji.com/_mcp/server.

# List transactions

GET https://openapi.admoji.com/api/v2/open/transactions

Returns up to 1000 transactions per call. Use `txnCrmIDAfter` for pagination. Rate limit: 20 requests/second.


Reference: https://dev.admoji.com/api-reference/admoji-crm-api/orders/list-transactions

## Authentication

- `Authorization` header (required) — Format: `ApiKey <your_key>`

## Servers

- `https://openapi.admoji.com` (Live, default)
- `https://openapi.staging.admoji.com` (Test)

## Request

### Query parameters

- `dateFromUtc` (integer, optional) — Unix timestamp (seconds)
- `dateToUtc` (integer, optional)
- `txnCrmIDAfter` (integer, optional) — Cursor – returns transactions with CRM ID after this value
- `siteids` (string, optional) — Comma-separated site IDs
- `txnstatus` (string, optional) — Values: approved, declined, failed, all
- `txntype` (string, optional) — Values: auth, sale, refund, void, capture, all
- `ordertype` (string, optional) — Values: signup, recurring, recurringshipping, upsell, all
- `testtype` (enum, optional)
  - Allowed values: `real`, `test`, `all`
- `txnGatewayID` (string, optional)
- `customerID` (integer, optional)
- `orderID` (integer, optional)
- `lastName` (string, optional)
- `email` (string, optional)
- `phone` (string, optional)
- `last4` (string, optional)
- `processor` (string, optional) — Processor MID
- `affid` (string, optional)
- `amountfrom` (double, optional)
- `amountto` (double, optional)
- `bin` (string, optional)
- `authcode` (string, optional)
- `campaignID` (string, optional) — External site ID
- `customerExternalID` (string, optional)
- `processorExternalID` (string, optional)
- `productExternalID` (string, optional) — SKU
- `transacitonCrmID` (integer, optional)
- `fetch` (integer, optional) — Number of transactions to return (max 1000)
- `offset` (integer, optional) — Number of transactions to skip
- `sort` (enum, optional)
  - Allowed values: `asc`, `desc`

## Response

### 200

List of transactions

- `Status` (integer, optional)
- `Transactions` (list of ApiV2OpenTransactionsGetResponsesContentApplicationJsonSchemaTransactionsItems, optional)

## Types

### ApiV2OpenTransactionsGetResponsesContentApplicationJsonSchemaTransactionsItems

- `TransactionType` (string, optional)
- `Status` (string, optional)
- `TransactionCrmID` (integer, optional)
- `TransactionGatewayID` (integer, optional)
- `TimeUtc` (integer, optional)
- `Processor` (string, optional)
- `Amount` (double, optional)
- `CustomerID` (integer, optional)
- `SiteID` (integer, optional)
- `FirstName` (string, optional)
- `LastName` (string, optional)
- `Email` (string, optional)
- `IsTest` (boolean, optional)
- `IsChargeback` (boolean, optional)
- `CCNumber` (string, optional) — Last 4 digits
- `CCType` (string, optional)
- `BillingAddress` (Address, optional)
- `ShippingAddress` (Address, optional)
- `OrderInfo` (ApiV2OpenTransactionsGetResponsesContentApplicationJsonSchemaTransactionsItemsOrderInfo, optional)
- `MerchantDefined` (map from string to string, optional)

### Address

- `FirstName` (string, optional)
- `LastName` (string, optional)
- `Address1` (string, optional)
- `Address2` (string, optional)
- `City` (string, optional)
- `State` (string, optional)
- `Zipcode` (string, optional)
- `Country` (string, optional)
- `CountryISO` (string, optional) — ISO 2-letter country code (e.g. "us")
- `ZipCode` (string, optional)
- `Phone` (string, optional)

### ApiV2OpenTransactionsGetResponsesContentApplicationJsonSchemaTransactionsItemsOrderInfo

- `OrderID` (integer, optional)
- `OrderType` (string, optional)
- `TotalAmount` (double, optional)
- `OrderProducts` (list of ApiV2OpenTransactionsGetResponsesContentApplicationJsonSchemaTransactionsItemsOrderInfoOrderProductsItems, optional)
- `Fulfillments` (list of ApiV2OpenTransactionsGetResponsesContentApplicationJsonSchemaTransactionsItemsOrderInfoFulfillmentsItems, optional)

### ApiV2OpenTransactionsGetResponsesContentApplicationJsonSchemaTransactionsItemsOrderInfoOrderProductsItems

### ApiV2OpenTransactionsGetResponsesContentApplicationJsonSchemaTransactionsItemsOrderInfoFulfillmentsItems

## Examples

**Response**

```json
{
  "Status": 1,
  "Transactions": [
    {
      "TransactionType": "string",
      "Status": "string",
      "TransactionCrmID": 1,
      "TransactionGatewayID": 1,
      "TimeUtc": 1,
      "Processor": "string",
      "Amount": 1.1,
      "CustomerID": 1,
      "SiteID": 1,
      "FirstName": "string",
      "LastName": "string",
      "Email": "string",
      "IsTest": true,
      "IsChargeback": true,
      "CCNumber": "string",
      "CCType": "string",
      "BillingAddress": {
        "FirstName": "string",
        "LastName": "string",
        "Address1": "string",
        "Address2": "string",
        "City": "string",
        "State": "string",
        "Zipcode": "string",
        "Country": "string",
        "CountryISO": "string",
        "ZipCode": "string",
        "Phone": "string"
      },
      "ShippingAddress": {
        "FirstName": "string",
        "LastName": "string",
        "Address1": "string",
        "Address2": "string",
        "City": "string",
        "State": "string",
        "Zipcode": "string",
        "Country": "string",
        "CountryISO": "string",
        "ZipCode": "string",
        "Phone": "string"
      },
      "OrderInfo": {
        "OrderID": 1,
        "OrderType": "string",
        "TotalAmount": 1.1,
        "OrderProducts": [
          {}
        ],
        "Fulfillments": [
          {}
        ]
      },
      "MerchantDefined": {}
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://openapi.admoji.com/api/v2/open/transactions"

headers = {"Authorization": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://openapi.admoji.com/api/v2/open/transactions';
const options = {method: 'GET', headers: {Authorization: '<apiKey>'}};

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://openapi.admoji.com/api/v2/open/transactions"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "<apiKey>")

	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://openapi.admoji.com/api/v2/open/transactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://openapi.admoji.com/api/v2/open/transactions")
  .header("Authorization", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://openapi.admoji.com/api/v2/open/transactions', [
  'headers' => [
    'Authorization' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://openapi.admoji.com/api/v2/open/transactions");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://openapi.admoji.com/api/v2/open/transactions")! 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()
```