---
updatedAt: 2026-05-27T09:42:40.000Z
agentTools:
  projectIndex: https://docs.truelayer.com/llms.txt
---

# Get transactions

Get list of merchant account transactions.

> 🚧 Payments API v3
>
> The [Payments API v3](https://docs.truelayer.com/reference/create-payment) is the latest version of the TrueLayer payments API. It includes all of the functionality of the PayDirect API, so we recommend you use it instead.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Legacy - PayDirect API",
    "version": "1.0"
  },
  "x-readme": {
    "samples-languages": [
      "shell",
      "java",
      "csharp",
      "php"
    ]
  },
  "servers": [
    {
      "url": "https://paydirect.truelayer-sandbox.com",
      "description": "Sandbox server"
    },
    {
      "url": "https://paydirect.truelayer.com",
      "description": "Production server"
    }
  ],
  "tags": [
    {
      "name": "Transactions",
      "description": "Transaction Endpoints."
    }
  ],
  "paths": {
    "/v1/transactions": {
      "get": {
        "tags": [
          "Transactions"
        ],
        "summary": "Get transactions",
        "description": "Get list of merchant account transactions.\n\n> 🚧 Payments API v3\n>\n> The [Payments API v3](https://docs.truelayer.com/reference/create-payment) is the latest version of the TrueLayer payments API. It includes all of the functionality of the PayDirect API, so we recommend you use it instead.\n",
        "security": [
          {
            "Oauth2": [
              "paydirect"
            ]
          }
        ],
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "description": "Start of the transaction list window, in ISO 8601 UTC format",
            "required": true,
            "schema": {
              "type": "string",
              "description": "ISO8601 UTC string representing start of transaction list window"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "End of the transaction list window, in ISO 8601 UTC format",
            "required": true,
            "schema": {
              "type": "string",
              "description": "ISO8601 UTC string representing end of transaction list window"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Filter on type of transaction",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Filter on type of transaction"
            }
          },
          {
            "name": "currencies",
            "in": "query",
            "description": "Comma separated list of currencies to filter by",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Comma separated list of currencies to filter by"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Collection of transactions",
            "content": {
              "application/json; charset=UTF-8": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionsResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "BadRequest": {
        "description": "Invalid Request",
        "content": {
          "application/json; charset=UTF-8": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized",
        "content": {
          "application/json; charset=UTF-8": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "NotFound": {
        "description": "Not Found",
        "content": {
          "application/json; charset=UTF-8": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal Server Error",
        "content": {
          "application/json; charset=UTF-8": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          },
          "error_description": {
            "type": "string"
          }
        },
        "required": [
          "error",
          "error_description"
        ]
      },
      "WithdrawalContextCode": {
        "type": "string",
        "enum": [
          "withdrawal",
          "service_payment",
          "internal"
        ]
      },
      "Remitter": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "iban": {
            "type": "string",
            "format": "IBAN"
          },
          "reference": {
            "type": "string"
          }
        }
      },
      "Beneficiary": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Remitter"
          }
        ]
      },
      "Currency": {
        "type": "string",
        "enum": [
          "GBP",
          "EUR"
        ]
      },
      "WithdrawalCommon": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "payout"
            ]
          },
          "transaction_id": {
            "type": "string",
            "format": "uuid"
          },
          "amount_in_minor": {
            "type": "number"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "beneficiary": {
            "$ref": "#/components/schemas/Beneficiary"
          },
          "context_code": {
            "$ref": "#/components/schemas/WithdrawalContextCode"
          }
        }
      },
      "SettledWithdrawal": {
        "allOf": [
          {
            "$ref": "#/components/schemas/WithdrawalCommon"
          },
          {
            "type": "object",
            "properties": {
              "settled_at": {
                "type": "string",
                "format": "date-time"
              },
              "submitted_at": {
                "type": "string",
                "format": "date-time"
              },
              "authorised_at": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        ]
      },
      "DepositTransaction": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "topup"
            ]
          },
          "transaction_id": {
            "type": "string",
            "format": "uuid"
          },
          "settled_at": {
            "type": "string",
            "format": "date-time"
          },
          "amount_in_minor": {
            "type": "integer"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "remitter_name": {
            "type": "string"
          },
          "remitter_iban": {
            "type": "string"
          },
          "reference": {
            "type": "string"
          },
          "deposit_id": {
            "type": "string",
            "description": "The deposit ID of the closed-loop payment"
          }
        }
      },
      "TransactionsResponse": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/DepositTransaction"
                },
                {
                  "$ref": "#/components/schemas/SettledWithdrawal"
                }
              ]
            }
          }
        }
      }
    }
  }
}
```