Accounts API

List transactions

Changed on

πŸ”’ Restricted access

This API is currently only available to Mollie's authorized partners via OAuth. Direct access for individual businesses isn't available yet, but it's on our roadmap β€” check back here for updates.

Retrieve all transactions for a specific business account.

The results are paginated.

get/v2/business-accounts/accounts/{businessAccountId}/transactions

Request

  • Base URL
    https://api.mollie.com
  • URL
    https://api.mollie.com/v2/business-accounts/accounts/{businessAccountId}/transactions
  • Auth
    OAuth 2
    Authorization code: https://my.mollie.com/oauth2/authorize
    Token URL: https://api.mollie.com/oauth2/tokens scopes: business-accounts.read

Query parameters

creditDebitIndicator'credit' | 'debit'

Indicates whether the entry is a credit or debit from the perspective of the account holder.

Example:debit

Filter the transactions by whether they credited or debited the account balance.

processedAfterstring date-time
Example:2025-02-01T00:00:00+00:00

Filter the transactions to only include those processed on or after this date and time. Filters on the processedAt property.

Cannot be combined with from.

processedBeforestring date-time
Example:2025-02-26T23:59:59+00:00

Filter the transactions to only include those processed on or before this date and time. Filters on the processedAt property.

Cannot be combined with from.

fromstring
Example:batr_87GByBuj4UCcUTEbs6aGJ

Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the result set.

Cannot be combined with processedAfter or processedBefore.

limitinteger nullable
Example:50

The maximum number of items to return. Defaults to 50 items.

sort'asc' | 'desc'
Example:desc

Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from newest to oldest.

testmodeboolean

Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true.

Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.

Headers

idempotency-keystring
Example:123e4567-e89b-12d3-a456-426

A unique key to ensure idempotent requests. This key should be a UUID v4 string.

Response

A list of transaction objects.

countinteger required

The number of items in this result set. If more items are available, a _links.next URL will be present in the result as well.

The maximum number of items per result set is controlled by the limit property provided in the request. The default limit is 50 items.

Example response

{
  "count": 5,
  "_embedded": {
    "transactions": [
      {
        "resource": "business-account-transaction",
        "id": "batr_87GByBuj4UCcUTEbs6aGJ",
        "businessAccountId": "ba_nopqrstuvwxyz23456789A",
        "creditDebitIndicator": "debit",
        "type": "bank-transfer",
        "amount": {
          "currency": "EUR",
          "value": "10.00"
        },
        "description": "Payment for services",
        "counterparty": {
          "identifier": "NL02ABNA0123456789",
          "name": "Beneficiary Name"
        },
        "afterBalance": {
          "total": {
            "currency": "EUR",
            "value": "10.00"
          }
        },
        "processedAt": "2025-02-26T08:00:00+00:00",
        "mode": "live",
        "createdAt": "2024-03-20T09:13:37+00:00"
      }
    ]
  }
}

Changes

    • warning

      added the new rewards-payout enum value to the /////// response property for the response status

    • info

      added the new optional query request parameter creditDebitIndicator

    • info

      added the new optional query request parameter processedAfter

    • info

      added the new optional query request parameter processedBefore

    • breaking

      the response property's min was decreased from 1.00 to 0.00 for the response status