Payments API

get specific entry

GET /api/rest/admin/payments/:id

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzMsInN1YiI6MTIxfQ.H7ql_5OxX2Zlf1cgiEDfWED82CQV8qp-L25OuZbSoc0
Host: example.org
Cookie: 

Route

GET /api/rest/admin/payments/33

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/"a114554e6659365985f9101412c61fe3"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f18a3186-cc77-4633-a597-444f4b9c7e44
X-Runtime: 0.010164
Content-Length: 380

Status

200 OK

Body

{
  "data": {
    "id": "33",
    "type": "payments",
    "links": {
      "self": "http://example.org/api/rest/admin/payments/33"
    },
    "attributes": {
      "amount": "10.0",
      "notes": "notes text",
      "status": "completed",
      "type-name": "manual"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/admin/payments/33/relationships/account",
          "related": "http://example.org/api/rest/admin/payments/33/account"
        }
      }
    }
  }
}