Payments API

get specific entry

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

Request

Headers

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

Route

GET /api/rest/customer/v1/payments/ac09096c-a26e-11ef-a008-0242ac120003

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/"ddc7ca86c9ed91acecab839dceea1fa5"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 83bc74f8-9142-436d-a716-37d94e266d6c
X-Runtime: 0.008718
Content-Length: 574

Status

200 OK

Body

{
  "data": {
    "id": "ac09096c-a26e-11ef-a008-0242ac120003",
    "type": "payments",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/payments/ac09096c-a26e-11ef-a008-0242ac120003"
    },
    "attributes": {
      "amount": "10.0",
      "notes": "notes text",
      "status": "completed",
      "type-name": "manual",
      "created-at": "2024-11-14T09:56:08.814Z"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/payments/ac09096c-a26e-11ef-a008-0242ac120003/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/payments/ac09096c-a26e-11ef-a008-0242ac120003/account"
        }
      }
    }
  }
}