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.eyJzdWIiOjMzLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzEwMjU0MjAzfQ.LFkSKoHMReBhEWONUZnKRT8nLHOeFNb-AexDG7huwyE
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/payments/ce5c6580-e07d-11ee-bf85-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/"a09a6e2aae073c9147784affdf5d361d"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 27260ec8-0259-41e2-864b-0fafd4701c48
X-Runtime: 0.009165
Content-Length: 574

Status

200 OK

Body

{
  "data": {
    "id": "ce5c6580-e07d-11ee-bf85-0242ac120003",
    "type": "payments",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/payments/ce5c6580-e07d-11ee-bf85-0242ac120003"
    },
    "attributes": {
      "amount": "10.0",
      "notes": "notes text",
      "status": "completed",
      "type-name": "manual",
      "created-at": "2024-03-12T14:35:43.275Z"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/payments/ce5c6580-e07d-11ee-bf85-0242ac120003/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/payments/ce5c6580-e07d-11ee-bf85-0242ac120003/account"
        }
      }
    }
  }
}