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
Route
GET /api/rest/customer/v1/payments
Response
Headers
Status
200 OK
Body
{
"data": [
{
"id": "abf86864-a26e-11ef-a008-0242ac120003",
"type": "payments",
"links": {
"self": "http://example.org/api/rest/customer/v1/payments/abf86864-a26e-11ef-a008-0242ac120003"
},
"attributes": {
"amount": "10.0",
"notes": "notes text",
"status": "completed",
"type-name": "manual",
"created-at": "2024-11-14T09:56:08.705Z"
},
"relationships": {
"account": {
"links": {
"self": "http://example.org/api/rest/customer/v1/payments/abf86864-a26e-11ef-a008-0242ac120003/relationships/account",
"related": "http://example.org/api/rest/customer/v1/payments/abf86864-a26e-11ef-a008-0242ac120003/account"
}
}
}
},
{
"id": "abfb9d68-a26e-11ef-a008-0242ac120003",
"type": "payments",
"links": {
"self": "http://example.org/api/rest/customer/v1/payments/abfb9d68-a26e-11ef-a008-0242ac120003"
},
"attributes": {
"amount": "10.0",
"notes": "notes text",
"status": "completed",
"type-name": "manual",
"created-at": "2024-11-14T09:56:08.726Z"
},
"relationships": {
"account": {
"links": {
"self": "http://example.org/api/rest/customer/v1/payments/abfb9d68-a26e-11ef-a008-0242ac120003/relationships/account",
"related": "http://example.org/api/rest/customer/v1/payments/abfb9d68-a26e-11ef-a008-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"
}
}