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
Route
GET /api/rest/admin/payments
Response
Headers
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"
}
}