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.eyJzdWIiOjQxLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzMxNTc4MjMwfQ.Z5RcYV3UVc71DRDRKaqt3KOnA5iz86l2Eiv5WkIKCbw
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/transactions/1e2df465-39d7-4e82-9fa7-f34b4535ee7a

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/"0356d8d21277acafb80d6609b64599cf"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 02020dda-8b77-414d-bc7c-3f3f819d7341
X-Runtime: 0.007783
Content-Length: 800

Status

200 OK

Body

{
  "data": {
    "id": "1e2df465-39d7-4e82-9fa7-f34b4535ee7a",
    "type": "transactions",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/transactions/1e2df465-39d7-4e82-9fa7-f34b4535ee7a"
    },
    "attributes": {
      "description": null,
      "amount": "95.15",
      "created-at": "2024-11-14T09:56:10.266Z"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/transactions/1e2df465-39d7-4e82-9fa7-f34b4535ee7a/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/transactions/1e2df465-39d7-4e82-9fa7-f34b4535ee7a/account"
        }
      },
      "service": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/transactions/1e2df465-39d7-4e82-9fa7-f34b4535ee7a/relationships/service",
          "related": "http://example.org/api/rest/customer/v1/transactions/1e2df465-39d7-4e82-9fa7-f34b4535ee7a/service"
        }
      }
    }
  }
}