Skip to main content

paymentMethod

Loads a single PaymentMethod by id.

Required scopes​

The token needs the payment_methods:read access scope.

paymentMethod(
id: ID!
): PaymentMethod

Arguments​

paymentMethod.id ● ID! non-null scalar​

Type​

PaymentMethod object​

A payment method known to the shop. Used to reference a customer's default payment method.