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.eyJzdWIiOjQwLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzMxNTc4MjMwfQ.c8pDGQmzuYOMrxOGb7nBz17-h48wEX4a-iKfc1palbM
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-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"decf89b6406250bdad1a8b6dfdfee69b"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: e5074105-cea3-4781-ba0c-4fae985b707f
X-Runtime: 0.009578
Content-Length: 3440

Status

200 OK

Body

{
  "data": [
    {
      "id": "101708c2-34a9-424c-a844-bf5b6141ff9b",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/101708c2-34a9-424c-a844-bf5b6141ff9b"
      },
      "attributes": {
        "description": "Service creation",
        "amount": "22.07",
        "created-at": "2024-11-14T09:56:10.080Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/101708c2-34a9-424c-a844-bf5b6141ff9b/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/101708c2-34a9-424c-a844-bf5b6141ff9b/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/101708c2-34a9-424c-a844-bf5b6141ff9b/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/101708c2-34a9-424c-a844-bf5b6141ff9b/service"
          }
        }
      }
    },
    {
      "id": "1a3ee0de-9e91-4d0f-92d3-1d85660e4e6e",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/1a3ee0de-9e91-4d0f-92d3-1d85660e4e6e"
      },
      "attributes": {
        "description": null,
        "amount": "69.27",
        "created-at": "2024-11-14T09:56:10.096Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/1a3ee0de-9e91-4d0f-92d3-1d85660e4e6e/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/1a3ee0de-9e91-4d0f-92d3-1d85660e4e6e/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/1a3ee0de-9e91-4d0f-92d3-1d85660e4e6e/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/1a3ee0de-9e91-4d0f-92d3-1d85660e4e6e/service"
          }
        }
      }
    },
    {
      "id": "1c118f8f-f43a-4a06-8516-60273bed2755",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/1c118f8f-f43a-4a06-8516-60273bed2755"
      },
      "attributes": {
        "description": null,
        "amount": "16.89",
        "created-at": "2024-11-14T09:56:10.147Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/1c118f8f-f43a-4a06-8516-60273bed2755/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/1c118f8f-f43a-4a06-8516-60273bed2755/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/1c118f8f-f43a-4a06-8516-60273bed2755/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/1c118f8f-f43a-4a06-8516-60273bed2755/service"
          }
        }
      }
    },
    {
      "id": "27c62736-172e-45dc-b457-26efadf853de",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/27c62736-172e-45dc-b457-26efadf853de"
      },
      "attributes": {
        "description": "Service creation",
        "amount": "30.86",
        "created-at": "2024-11-14T09:56:10.134Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/27c62736-172e-45dc-b457-26efadf853de/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/27c62736-172e-45dc-b457-26efadf853de/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/27c62736-172e-45dc-b457-26efadf853de/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/27c62736-172e-45dc-b457-26efadf853de/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"
  }
}