Skip to content

requestedPayments

Fetch paginated Requested Payments collection

Arguments

only_unpaid · Boolean · (DEPRECATED) Use status_filter instead
sender_id · ID · will return all requested payments with this ID as the sender or recipient
status_filter · String · Can be paid, partial or unpaid
after · String · Returns the elements in the list that come after the specified cursor.
before · String · Returns the elements in the list that come before the specified cursor.
first · Int · Returns the first _n_ elements from the list.
last · Int · Returns the last _n_ elements from the list.

Returns

RequestedPaymentPaginationConnection

Example

query requestedPayments(
$keywords: String
$only_unpaid: Boolean
$preview: Boolean
$sender_id: ID
$status_filter: String
$sort_by: String
$order_by: RequestedPaymentOrderKeys
$after: String
$before: String
$first: Int
$last: Int
) {
requestedPayments(
keywords: $keywords
only_unpaid: $only_unpaid
preview: $preview
sender_id: $sender_id
status_filter: $status_filter
sort_by: $sort_by
order_by: $order_by
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}