Anchor to customerPaymentMethodcustomer
customerPaymentMethod
query
Returns a CustomerPaymentMethod resource by its ID.
Anchor to Arguments
Arguments
- •ID!required
The ID of the CustomerPaymentMethod to return.
- Anchor to showRevokedshow•
Revoked BooleanDefault:false Whether to show the customer's revoked payment method.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Anchor to CustomerPaymentMethodCustomer•
Payment Method A customer's payment method.
- customer•Customer
The customer to whom the payment method belongs.
- id•ID!non-null
The ID of this payment method.
- instrument•Customer
Payment Instrument The instrument for this payment method.
- revoked
At •DateTime The time that the payment method was revoked.
- revoked
Reason •CustomerPayment Method Revocation Reason The revocation reason for this payment method.
- subscription
Contracts • Subscriptionnon-nullContract Connection! List Subscription Contracts.
- customer•
Was this section helpful?
Query Reference
{
customerPaymentMethod(id) {
# customerPaymentMethod fields
}
}