Payments API

get listing

GET /api/rest/admin/payments

Parameters

Name Description
filter[id] id filter
filter[account.id] account.id filter
filter[id-eq] id eq filter
filter[id-not-eq] id not eq filter
filter[id-gt] id gt filter
filter[id-gteq] id gteq filter
filter[id-lt] id lt filter
filter[id-lteq] id lteq filter
filter[id-in] id in filter
filter[id-not-in] id not in filter
filter[amount-eq] amount eq filter
filter[amount-not-eq] amount not eq filter
filter[amount-gt] amount gt filter
filter[amount-gteq] amount gteq filter
filter[amount-lt] amount lt filter
filter[amount-lteq] amount lteq filter
filter[amount-in] amount in filter
filter[amount-not-in] amount not in filter
filter[notes-eq] notes eq filter
filter[notes-not-eq] notes not eq filter
filter[notes-cont] notes cont filter
filter[notes-start] notes start filter
filter[notes-end] notes end filter
filter[notes-in] notes in filter
filter[notes-not-in] notes not in filter
filter[notes-cont-any] notes cont any filter
filter[status-eq] status eq filter
filter[status-not-eq] status not eq filter
filter[status-in] status in filter
filter[status-not-in] status not in filter
filter[type-name-eq] type name eq filter
filter[type-name-not-eq] type name not eq filter
filter[type-name-in] type name in filter
filter[type-name-not-in] type name not in filter

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NTgsInN1YiI6MTQwfQ.3rr0KSlKr1p37t62t5wU8nC2f8_dZD4E1_kwR_YYUvo
Host: example.org
Cookie: 

Route

GET /api/rest/admin/payments

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/"4d498da8cbcc805b64eea498ffd13d31"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f2e1fc67-56dd-4472-bf30-7fc1e1076fba
X-Runtime: 0.008857
Content-Length: 1042

Status

200 OK

Body

{
  "data": [
    {
      "id": "31",
      "type": "payments",
      "links": {
        "self": "http://example.org/api/rest/admin/payments/31"
      },
      "attributes": {
        "amount": "10.0",
        "notes": "notes text",
        "status": "completed",
        "type-name": "manual"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/admin/payments/31/relationships/account",
            "related": "http://example.org/api/rest/admin/payments/31/account"
          },
          "data": {
            "type": "accounts",
            "id": "80"
          }
        }
      }
    },
    {
      "id": "32",
      "type": "payments",
      "links": {
        "self": "http://example.org/api/rest/admin/payments/32"
      },
      "attributes": {
        "amount": "10.0",
        "notes": "notes text",
        "status": "completed",
        "type-name": "manual"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/admin/payments/32/relationships/account",
            "related": "http://example.org/api/rest/admin/payments/32/account"
          },
          "data": {
            "type": "accounts",
            "id": "81"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/payments?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/payments?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}