Transactions API

get listing

GET /api/rest/customer/v1/transactions

Parameters

Name Description
filter[id] id filter
filter[created-at-eq] created at eq filter
filter[created-at-not-eq] created at not eq filter
filter[created-at-gt] created at gt filter
filter[created-at-gteq] created at gteq filter
filter[created-at-lt] created at lt filter
filter[created-at-lteq] created at lteq filter
filter[created-at-in] created at in filter
filter[created-at-not-in] created at not in filter
filter[account-id-eq] account id eq filter
filter[account-id-not-eq] account id not eq filter
filter[account-id-in] account id in filter
filter[account-id-not-in] account id not in filter
filter[service-id-eq] service id eq filter
filter[service-id-not-eq] service id not eq filter
filter[service-id-in] service id in filter
filter[service-id-not-in] service id not in filter
filter[amount-eq] amount eq filter
filter[amount-not-eq] amount not eq filter
filter[amount-gt] amount gt filter
filter[amount-gteq] amount gteq filter
filter[amount-lt] amount lt filter
filter[amount-lteq] amount lteq filter
filter[amount-in] amount in filter
filter[amount-not-in] amount not in filter
filter[description-eq] description eq filter
filter[description-not-eq] description not eq filter
filter[description-cont] description cont filter
filter[description-start] description start filter
filter[description-end] description end filter
filter[description-in] description in filter
filter[description-not-in] description not in filter
filter[description-cont-any] description cont any filter

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjQxLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzQwODUyNTA4fQ.oh6731e79NpAAXFx_eK23MSgLfc5sL6XtbdPKAaWqVA
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/transactions

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"875d29b239aaedc7f84e2f17d2ebccec"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 7832adf1-4d3f-4cf6-bc85-2b23c3faa9c3
X-Runtime: 0.010843
Content-Length: 3440

Status

200 OK

Body

{
  "data": [
    {
      "id": "08ae572d-668a-4d36-9c7e-cef432c7ea07",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/08ae572d-668a-4d36-9c7e-cef432c7ea07"
      },
      "attributes": {
        "description": "Service creation",
        "amount": "17.68",
        "created-at": "2025-03-01T18:07:28.767Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/08ae572d-668a-4d36-9c7e-cef432c7ea07/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/08ae572d-668a-4d36-9c7e-cef432c7ea07/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/08ae572d-668a-4d36-9c7e-cef432c7ea07/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/08ae572d-668a-4d36-9c7e-cef432c7ea07/service"
          }
        }
      }
    },
    {
      "id": "141a13d8-b852-4008-9f6e-2e4fa0f7b0d2",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/141a13d8-b852-4008-9f6e-2e4fa0f7b0d2"
      },
      "attributes": {
        "description": "Service creation",
        "amount": "23.06",
        "created-at": "2025-03-01T18:07:28.814Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/141a13d8-b852-4008-9f6e-2e4fa0f7b0d2/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/141a13d8-b852-4008-9f6e-2e4fa0f7b0d2/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/141a13d8-b852-4008-9f6e-2e4fa0f7b0d2/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/141a13d8-b852-4008-9f6e-2e4fa0f7b0d2/service"
          }
        }
      }
    },
    {
      "id": "38b9149d-ac02-434b-aaa3-daa12a879dd2",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/38b9149d-ac02-434b-aaa3-daa12a879dd2"
      },
      "attributes": {
        "description": null,
        "amount": "36.56",
        "created-at": "2025-03-01T18:07:28.826Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/38b9149d-ac02-434b-aaa3-daa12a879dd2/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/38b9149d-ac02-434b-aaa3-daa12a879dd2/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/38b9149d-ac02-434b-aaa3-daa12a879dd2/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/38b9149d-ac02-434b-aaa3-daa12a879dd2/service"
          }
        }
      }
    },
    {
      "id": "464e6b81-51e0-49c9-ba8b-1be2a51af82f",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/464e6b81-51e0-49c9-ba8b-1be2a51af82f"
      },
      "attributes": {
        "description": null,
        "amount": "70.21",
        "created-at": "2025-03-01T18:07:28.778Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/464e6b81-51e0-49c9-ba8b-1be2a51af82f/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/464e6b81-51e0-49c9-ba8b-1be2a51af82f/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/464e6b81-51e0-49c9-ba8b-1be2a51af82f/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/464e6b81-51e0-49c9-ba8b-1be2a51af82f/service"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 4
  },
  "links": {
    "first": "http://example.org/api/rest/customer/v1/transactions?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/customer/v1/transactions?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}