Skip to main content
Anchor to customerPaymentMethod

customerPaymentMethod

query

Returns a CustomerPaymentMethod resource by its ID.

•ID!
required

The ID of the CustomerPaymentMethod to return.

•Boolean
Default:false

Whether to show the customer's revoked payment method.


Was this section helpful?

Anchor to CustomerPaymentMethodCustomerPaymentMethod
•CustomerPaymentMethod

A customer's saved payment method. Stores the payment instrument details and billing information for recurring charges.

The payment method supports types included in the CustomerPaymentInstrument union.

•Customer

The customer to whom the payment method belongs.

•ID!
non-null

The ID of this payment method.

•CustomerPaymentInstrument

The instrument for this payment method.

•PaymentMandateResourceConnection!
non-null

The mandates associated with the payment method.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•DateTime

The time that the payment method was revoked.

•CustomerPaymentMethodRevocationReason

The revocation reason for this payment method.

Anchor to subscriptionContractssubscriptionContracts
•SubscriptionContractConnection!
non-null

List Subscription Contracts.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.



Was this section helpful?