Payments API

get listing

GET /api/rest/customer/v1/payments

Parameters

Name Description
filter[id] id filter
filter[uuid-eq] uuid eq filter
filter[uuid-not-eq] uuid not eq filter
filter[uuid-in] uuid in filter
filter[uuid-not-in] uuid 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[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[created-at-eq] created at eq filter
filter[created-at-not-eq] created at not eq filter
filter[created-at-gt] created at gt filter
filter[created-at-gteq] created at gteq filter
filter[created-at-lt] created at lt filter
filter[created-at-lteq] created at lteq filter
filter[created-at-in] created at in filter
filter[created-at-not-in] created at not in filter
filter[account-id-eq] account id eq filter
filter[account-id-not-eq] account id not eq filter
filter[account-id-in] account id in filter
filter[account-id-not-in] account id not in 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.eyJzdWIiOjMyLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzIxMjM1Nzg3fQ.SSKTw4S_KU8VDcIw0YwXZSLnzLl9Qvn1r2SZOs0YsNg
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/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/"b5b29b891ed4fd4f7fc922bb20d6fe40"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: d5f11dbc-34ca-4e10-a751-c7b2e9798410
X-Runtime: 0.010104
Content-Length: 1368

Status

200 OK

Body

{
  "data": [
    {
      "id": "4c9e52c0-445e-11ef-b3ec-0242ac120003",
      "type": "payments",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/payments/4c9e52c0-445e-11ef-b3ec-0242ac120003"
      },
      "attributes": {
        "amount": "10.0",
        "notes": "notes text",
        "status": "completed",
        "type-name": "manual",
        "created-at": "2024-07-17T17:02:07.482Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/payments/4c9e52c0-445e-11ef-b3ec-0242ac120003/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/payments/4c9e52c0-445e-11ef-b3ec-0242ac120003/account"
          }
        }
      }
    },
    {
      "id": "4ca11730-445e-11ef-b3ec-0242ac120003",
      "type": "payments",
      "links": {
        "self": "http://example.org/api/rest/customer/v1/payments/4ca11730-445e-11ef-b3ec-0242ac120003"
      },
      "attributes": {
        "amount": "10.0",
        "notes": "notes text",
        "status": "completed",
        "type-name": "manual",
        "created-at": "2024-07-17T17:02:07.501Z"
      },
      "relationships": {
        "account": {
          "links": {
            "self": "http://example.org/api/rest/customer/v1/payments/4ca11730-445e-11ef-b3ec-0242ac120003/relationships/account",
            "related": "http://example.org/api/rest/customer/v1/payments/4ca11730-445e-11ef-b3ec-0242ac120003/account"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/customer/v1/payments?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/customer/v1/payments?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}