API reference

Statements API

Get all statements

GET /api/v1/statements

Optional URL Query Parameters

  • pspMerchantAccountName (string): The name of the parent Adyen merchant account.
  • organizationId (string): Specifies the organization ID to filter statements by organization.
  • merchantAccountId (string): Filter statements by merchant account.
  • sortByDate (enum - asc, desc, defaults to desc): Sort statements by date.
  • pageSize (number): Number of records to return, max 1000.
  • pageIndex (number): Page index beginning with 0.

Response

{
  "status": "ok",
  "data": {
    "rows": [
      {
        "month": 3,
        "year": 2024,
        "merchantAccountId": "12bb40d2-94ee-494c-a5d7-4b6f29428491",
        "merchantAccount": {
          "businessName": "Big Smile LLC"
        },
        "organization": {
          "name": "Big Smile LLC"
        }
      }
    ],
    "pagination": {
      "pageIndex": 0,
      "pageSize": 50,
      "pageCount": 1,
      "total": 1,
      "hasPrevPage": false,
      "hasNextPage": false
    }
  }
}

In each row, month is zero-based, the same as the month parameter below. For example, 3 is April.

GET /api/v1/statements/file-download-url?pspMerchantAccountName=DentalSolutions_US&merchantAccountId=12bb40d2-94ee-494c-a5d7-4b6f29428491&month=3&year=2024

Required URL Query Parameters

  • pspMerchantAccountName (string): The name of the parent Adyen merchant account.
  • merchantAccountId (string): The merchant account to fetch the statement for.
  • month (number): The month the statement is requested for. Zero-based: 0 = January, 1 = February, … 11 = December. In the example above, month=3 is April.
  • year (number): The year the statement is requested for (e.g. 2024).

Response

{
  "status": "ok",
  "data": {
    "url": "https://storage.googleapis.com/example-bucket/merchants/12bb40d2-94ee-494c-a5d7-4b6f29428491/statements/Big%20Smile%20LLC%20Statement%20Apr%202024.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=...&X-Goog-Date=20240806T002653Z&X-Goog-Expires=900&X-Goog-SignedHeaders=host&X-Goog-Signature=...",
    "fileName": "Big Smile LLC Statement Apr 2024.pdf"
  }
}
Previous
Transactions