> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# DetachCustomerPaymentMethodInput

> Remove a payment method from a customer



**Kind**: `input`

## Fields

**`customerId`**: `String!` (required)

Customer slug

---

**`environmentId`**: `UUID`

The unique identifier for the environment



## Related topics

- [detachCustomerPaymentMethod](https://docs.stigg.io/graphql-reference/mutations/detachCustomerPaymentMethod.md)
- [AttachCustomerPaymentMethodInput](https://docs.stigg.io/graphql-reference/types/AttachCustomerPaymentMethodInput.md)
- [InitAddStripeCustomerPaymentMethodInput](https://docs.stigg.io/graphql-reference/types/InitAddStripeCustomerPaymentMethodInput.md)
- [Detach payment method](https://docs.stigg.io/api-reference/customers/detach-payment-method.md)
- [PreparePaymentMethodFormInput](https://docs.stigg.io/graphql-reference/types/PreparePaymentMethodFormInput.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.