usePaymentMethods() - Hooks - Next.js | Clerk Docs
usePaymentMethods()
The usePaymentMethods() hook provides access to the payment methods associated with a user or Organization. It returns a paginated list of payment methods and includes methods for managing them.
Parameters
usePaymentMethods() accepts a single optional object with the following properties:
Name:
enabled?
Type:boolean
Description: Iftrue, a request will be triggered when the hook is mounted. Defaults totrue.Name:
for?
Type: `