CustomerPaymentMethod object
A customer's payment method.
Required access
read_customers
access scope.
On this page
Connections
-
subscriptionContracts (
SubscriptionContractConnection!
)List Subscription Contracts.
Argument Description after
(String
)Returns the elements that come after the specified cursor.
before
(String
)Returns the elements that come before the specified cursor.
first
(Int
)Returns up to the first
n
elements from the list.last
(Int
)Returns up to the last
n
elements from the list.reverse
(Boolean
)Reverse the order of the underlying list.
Default value:false
Fields
-
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.
Types that return CustomerPaymentMethod
-
Customer.paymentMethods
-
CustomerPaymentMethod.node
-
QueryRoot.customerPaymentMethod
-
SubscriptionContract.customerPaymentMethod
-
SubscriptionDraft.customerPaymentMethod
Mutations for CustomerPaymentMethod
-
Creates a credit card payment method for a customer.
-
Updates the credit card payment method for a customer.
-
Create a payment method from a credit card stored by Stripe.
-
Revokes a customer's payment method.
-
Sends a link to the customer so they can update a specific payment method.
Implements
An auto-generated type for paginating through multiple CustomerPaymentMethods.
Fields
-
edges (
[CustomerPaymentMethodEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
Types that return CustomerPaymentMethod
-
Customer.paymentMethods
-
CustomerPaymentMethod.node
-
QueryRoot.customerPaymentMethod
-
SubscriptionContract.customerPaymentMethod
-
SubscriptionDraft.customerPaymentMethod
Mutations for CustomerPaymentMethod
-
Creates a credit card payment method for a customer.
-
Updates the credit card payment method for a customer.
-
Create a payment method from a credit card stored by Stripe.
-
Revokes a customer's payment method.
-
Sends a link to the customer so they can update a specific payment method.
An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination.
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
CustomerPaymentMethod!
)The item at the end of CustomerPaymentMethodEdge.
Types that return CustomerPaymentMethod
-
Customer.paymentMethods
-
CustomerPaymentMethod.node
-
QueryRoot.customerPaymentMethod
-
SubscriptionContract.customerPaymentMethod
-
SubscriptionDraft.customerPaymentMethod
Mutations for CustomerPaymentMethod
-
Creates a credit card payment method for a customer.
-
Updates the credit card payment method for a customer.
-
Create a payment method from a credit card stored by Stripe.
-
Revokes a customer's payment method.
-
Sends a link to the customer so they can update a specific payment method.
A customer's payment method.
Required access
read_customers
access scope.
On this page
Connections
-
subscriptionContracts (
SubscriptionContractConnection!
)List Subscription Contracts.
Argument Description after
(String
)Returns the elements that come after the specified cursor.
before
(String
)Returns the elements that come before the specified cursor.
first
(Int
)Returns up to the first
n
elements from the list.last
(Int
)Returns up to the last
n
elements from the list.reverse
(Boolean
)Reverse the order of the underlying list.
Default value:false
Fields
-
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.
Types that return CustomerPaymentMethod
-
Customer.paymentMethods
-
QueryRoot.customerPaymentMethod
-
SubscriptionContract.customerPaymentMethod
-
SubscriptionDraft.customerPaymentMethod
Mutations for CustomerPaymentMethod
-
Creates a credit card payment method for a customer.
-
Updates the credit card payment method for a customer.
-
Create a payment method from a credit card stored by Stripe.
-
Revokes a customer's payment method.
-
Sends a link to the customer so they can update a specific payment method.
Implements
An auto-generated type for paginating through multiple CustomerPaymentMethods.
On this page
Fields
-
edges (
[CustomerPaymentMethodEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
CustomerPaymentMethod!
)The item at the end of CustomerPaymentMethodEdge.
Types that return CustomerPaymentMethodEdge
A customer's payment method.
Required access
read_customers
access scope.
On this page
Connections
-
subscriptionContracts (
SubscriptionContractConnection!
)List Subscription Contracts.
Argument Description after
(String
)Returns the elements that come after the specified cursor.
before
(String
)Returns the elements that come before the specified cursor.
first
(Int
)Returns up to the first
n
elements from the list.last
(Int
)Returns up to the last
n
elements from the list.reverse
(Boolean
)Reverse the order of the underlying list.
Default value:false
Fields
-
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.
Types that return CustomerPaymentMethod
-
Customer.paymentMethods
-
QueryRoot.customerPaymentMethod
-
SubscriptionContract.customerPaymentMethod
-
SubscriptionDraft.customerPaymentMethod
Mutations for CustomerPaymentMethod
-
Creates a credit card payment method for a customer.
-
Updates the credit card payment method for a customer.
-
Create a payment method from a credit card stored by Stripe.
-
Revokes a customer's payment method.
-
Sends a link to the customer so they can update a specific payment method.
Implements
An auto-generated type for paginating through multiple CustomerPaymentMethods.
On this page
Fields
-
edges (
[CustomerPaymentMethodEdge!]!
)A list of edges.
-
pageInfo (
PageInfo!
)Information to aid in pagination.
An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination.
On this page
Fields
-
cursor (
String!
)A cursor for use in pagination.
-
node (
CustomerPaymentMethod!
)The item at the end of CustomerPaymentMethodEdge.