Query
query Payments {
payments {
appliedFilters {
fromDate
statuses
toDate
}
edges {
cursor
node {
amount {
__typename
}
call {
__typename
}
createdAt
customerEmail
customerName
id
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"payments": {
"appliedFilters": {
"fromDate": "string",
"statuses": [
"string"
],
"toDate": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"amount": {
"__typename": "Money"
},
"call": {
"__typename": "Call"
},
"createdAt": "string",
"customerEmail": "string",
"customerName": "string",
"id": "string"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": "value"
}
}
}Queries
payments
List payments
QUERY
payments(after: String, first: Number, status: PaymentStatusInput): PaymentConnection!Arguments
after
String
first
status
Returns
appliedFilters
The filters this list applied, on the root payments list. Null on a nested connection.
edges
[PaymentEdge!]!
pageInfo
totalCount
Query
query Payments {
payments {
appliedFilters {
fromDate
statuses
toDate
}
edges {
cursor
node {
amount {
__typename
}
call {
__typename
}
createdAt
customerEmail
customerName
id
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"payments": {
"appliedFilters": {
"fromDate": "string",
"statuses": [
"string"
],
"toDate": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"amount": {
"__typename": "Money"
},
"call": {
"__typename": "Call"
},
"createdAt": "string",
"customerEmail": "string",
"customerName": "string",
"id": "string"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": "value"
}
}
}