Skip to content
GitHub

Queries

asset

Type: Asset

Fetch an asset

Arguments

NameDescription
id
String!

assets

Type: AssetsConnection!

Fetch a page of assets.

Arguments

NameDescription
after
String

Paginating forwards: the cursor before the the requested page.

before
String

Paginating backwards: the cursor after the the requested page.

first
Int

Paginating forwards: The first n elements from the page.

last
Int

Paginating backwards: The last n elements from the page.

sortOrder
SortOrder

Ascending or descending order of creation.

incomingPayment

Type: IncomingPayment

Fetch an Open Payments incoming payment

Arguments

NameDescription
id
String!

outgoingPayment

Type: OutgoingPayment

Fetch an Open Payments outgoing payment

Arguments

NameDescription
id
String!

payments

Type: PaymentConnection!

Fetch a page of combined payments

Arguments

NameDescription
after
String

Paginating forwards: the cursor before the the requested page.

before
String

Paginating backwards: the cursor after the the requested page.

first
Int

Paginating forwards: The first n elements from the page.

last
Int

Paginating backwards: The last n elements from the page.

sortOrder
SortOrder

Ascending or descending order of creation.

filter
PaymentFilter

Filter payment events based on specific criteria.

peer

Type: Peer

Fetch a peer

Arguments

NameDescription
id
String!

peers

Type: PeersConnection!

Fetch a page of peers.

Arguments

NameDescription
after
String

Paginating forwards: the cursor before the the requested page.

before
String

Paginating backwards: the cursor after the the requested page.

first
Int

Paginating forwards: The first n elements from the page.

last
Int

Paginating backwards: The last n elements from the page.

sortOrder
SortOrder

Ascending or descending order of creation.

quote

Type: Quote

Fetch an Open Payments quote

Arguments

NameDescription
id
String!

receiver

Type: Receiver

Get an local or remote Open Payments Incoming Payment. The receiver has a wallet address on either this or another Open Payments resource server.

Arguments

NameDescription
id
String!

walletAddress

Type: WalletAddress

Fetch a wallet address

Arguments

NameDescription
id
String!

walletAddresses

Type: WalletAddressesConnection!

Fetch a page of wallet addresses.

Arguments

NameDescription
after
String

Paginating forwards: the cursor before the the requested page.

before
String

Paginating backwards: the cursor after the the requested page.

first
Int

Paginating forwards: The first n elements from the page.

last
Int

Paginating backwards: The last n elements from the page.

sortOrder
SortOrder

Ascending or descending order of creation.

webhookEvents

Type: WebhookEventsConnection!

Fetch a page of webhook events

Arguments

NameDescription
after
String

Paginating forwards: the cursor before the the requested page.

before
String

Paginating backwards: the cursor after the the requested page.

first
Int

Paginating forwards: The first n elements from the page.

last
Int

Paginating backwards: The last n elements from the page.

sortOrder
SortOrder

Ascending or descending order of creation.

filter
WebhookEventFilter

Filter webhook events based on specific criteria.