customerPaymentMethod - admin-graphql - QUERY
Version: 2024-04
Description:
Returns a CustomerPaymentMethod resource by its ID.
Access Scopes
Arguments
-
id:
ID! -
The ID of the CustomerPaymentMethod to return.
-
showRevoked:
Boolean -
Whether to show the customer's revoked payment method.
Returns
-
customer:
Customer
The customer to whom the payment method belongs.
-
id:
ID!
The ID of this payment method.
-
instrument:
CustomerPaymentInstrument
The instrument for this payment method.
-
revokedAt:
DateTime
The time that the payment method was revoked.
-
revokedReason:
CustomerPaymentMethodRevocationReason
The revocation reason for this payment method.
Examples