Transactions API

get specific entry

GET /api/rest/customer/v1/transactions/:id

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjQxLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzIxMjM1Nzg5fQ.df8GGiEMnjCruYIsrzZ--0VltjpXaJuz1yn3Xry9Rgo
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/transactions/c0c06117-0b38-4aea-b6e8-b1f98fc74eed

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/"a64e21c551d0bb4655d1fd9d8a259a81"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 183d6e09-5033-43e7-8fdd-a1de2f6e6c8d
X-Runtime: 0.006697
Content-Length: 800

Status

200 OK

Body

{
  "data": {
    "id": "c0c06117-0b38-4aea-b6e8-b1f98fc74eed",
    "type": "transactions",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/transactions/c0c06117-0b38-4aea-b6e8-b1f98fc74eed"
    },
    "attributes": {
      "description": null,
      "amount": "98.51",
      "created-at": "2024-07-17T17:02:09.011Z"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/transactions/c0c06117-0b38-4aea-b6e8-b1f98fc74eed/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/transactions/c0c06117-0b38-4aea-b6e8-b1f98fc74eed/account"
        }
      },
      "service": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/transactions/c0c06117-0b38-4aea-b6e8-b1f98fc74eed/relationships/service",
          "related": "http://example.org/api/rest/customer/v1/transactions/c0c06117-0b38-4aea-b6e8-b1f98fc74eed/service"
        }
      }
    }
  }
}