paymentMethods(input: PaymentMethodListInput): PaymentMethodPage!
Requires account.billing.read.
Arguments
Input fields
input
Response
Returns PaymentMethodPage!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
query PaymentMethods($input: PaymentMethodListInput) {
paymentMethods(input: $input) {
data {
id
brand
expMonth
expYear
isDefault
}
pageInfo {
hasNextPage
endCursor
hasPreviousPage
startCursor
}
}
}{}