Anchor to section titled 'undefined'

customerPaymentMethod
query

Returns a CustomerPaymentMethod resource by its ID.


Anchor to id
id
required

The ID of the CustomerPaymentMethod to return.

Anchor to showRevoked
showRevoked
default:false

Whether to show the customer's revoked payment method.


Was this section helpful?

Anchor to CustomerPaymentMethod
CustomerPaymentMethod
Access requirements

A customer's payment method.


Was this section helpful?
Hide code
Query reference
Copy
{
  customerPaymentMethod(id) {
    # CustomerPaymentMethod fields
  }
}