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.eyJzdWIiOjMzLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzIxMjM1Nzg3fQ.2_rG30Qqol574Kh0ZWhZwUcVxFNLlvIesvn8QDDAI4U
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/payments/4caec574-445e-11ef-b3ec-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/"5baeba094d7c3aca80c8b2adb5fab924"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 0794d350-4725-475a-b691-d4026ace72ac
X-Runtime: 0.008687
Content-Length: 574

Status

200 OK

Body

{
  "data": {
    "id": "4caec574-445e-11ef-b3ec-0242ac120003",
    "type": "payments",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/payments/4caec574-445e-11ef-b3ec-0242ac120003"
    },
    "attributes": {
      "amount": "10.0",
      "notes": "notes text",
      "status": "completed",
      "type-name": "manual",
      "created-at": "2024-07-17T17:02:07.590Z"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/payments/4caec574-445e-11ef-b3ec-0242ac120003/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/payments/4caec574-445e-11ef-b3ec-0242ac120003/account"
        }
      }
    }
  }
}