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.eyJzdWIiOjQwLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzIxMjM1Nzg4fQ.XO6npe0Z_wcNQOB1Of-Olo3i_DL8iXEEkRYRy0dcKsw
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/"99bfa696a10458c9ae3eb2ce26f531a3"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f2097018-0b56-4585-bc93-beb122f4f76c
X-Runtime: 0.011027
Content-Length: 3440

Status

200 OK

Body

{
  "data": [
    {
      "id": "29947186-fbe4-4322-aa56-4664614a8f5f",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/29947186-fbe4-4322-aa56-4664614a8f5f"
      },
      "attributes": {
        "description": null,
        "amount": "54.47",
        "created-at": "2024-07-17T17:02:08.887Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/29947186-fbe4-4322-aa56-4664614a8f5f/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/29947186-fbe4-4322-aa56-4664614a8f5f/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/29947186-fbe4-4322-aa56-4664614a8f5f/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/29947186-fbe4-4322-aa56-4664614a8f5f/service"
          }
        }
      }
    },
    {
      "id": "5d82fb27-9667-45a2-bbb8-27649059779a",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/5d82fb27-9667-45a2-bbb8-27649059779a"
      },
      "attributes": {
        "description": "Service creation",
        "amount": "13.23",
        "created-at": "2024-07-17T17:02:08.824Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/5d82fb27-9667-45a2-bbb8-27649059779a/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/5d82fb27-9667-45a2-bbb8-27649059779a/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/5d82fb27-9667-45a2-bbb8-27649059779a/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/5d82fb27-9667-45a2-bbb8-27649059779a/service"
          }
        }
      }
    },
    {
      "id": "8d545e7d-99d1-40e8-9c6d-518c10a87f0e",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/8d545e7d-99d1-40e8-9c6d-518c10a87f0e"
      },
      "attributes": {
        "description": "Service creation",
        "amount": "83.97",
        "created-at": "2024-07-17T17:02:08.873Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/8d545e7d-99d1-40e8-9c6d-518c10a87f0e/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/8d545e7d-99d1-40e8-9c6d-518c10a87f0e/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/8d545e7d-99d1-40e8-9c6d-518c10a87f0e/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/8d545e7d-99d1-40e8-9c6d-518c10a87f0e/service"
          }
        }
      }
    },
    {
      "id": "bc25c311-389e-41ee-8f89-b27c88222899",
      "type": "transactions",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/transactions/bc25c311-389e-41ee-8f89-b27c88222899"
      },
      "attributes": {
        "description": null,
        "amount": "27.16",
        "created-at": "2024-07-17T17:02:08.838Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/bc25c311-389e-41ee-8f89-b27c88222899/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/transactions/bc25c311-389e-41ee-8f89-b27c88222899/account"
          }
        },
        "service": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/transactions/bc25c311-389e-41ee-8f89-b27c88222899/relationships/service",
            "related": "http://example.org/api/rest/customer/v1/transactions/bc25c311-389e-41ee-8f89-b27c88222899/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"
  }
}