Accounts
ch:accounts
LINK RELATION
,
EMBEDDED RELATION
Actions
method | description |
---|---|
GET | View accounts collection |
OPTIONS | Retrieve supported HTTP methods |
Request parameters
property | type | required | method |
---|---|---|---|
query1 | AQL string | false | GET |
page2 | integer | false | GET |
per_page2 | integer | false | GET |
1
See Account Query Language (AQL) for details.
2
See Pagination for details.
Profile
The Accounts resource represents a collection of Account resources.
Properties
name | type | read-only |
---|---|---|
count | integer | true |
page | integer | true |
per_page | integer | true |
Link relations
rel | conditional |
---|---|
self | false |
first | true |
last | true |
prev | true |
next | true |
Embedded
Additional semantics
This collection is paginated. See Pagination.
This collection supports Account Query Language (AQL).
Example representation
{
"count": 1,
"page": 1,
"per_page": 20,
"_links": {
"self": {
"href": "https://merchant.test.clearhaus.com/accounts"
},
"curies": [
{
"href": "https://developer.clearhaus.com/rels/{rel}",
"templated": true,
"name": "ch"
}
]
},
"_embedded": {
"ch:accounts": [...]
}
}