Skip to main content
<MoonPayConnectionReset> is a headless component (renders nothing visible) that clears the customer’s MoonPay connection for this partner. It is the declarative alternative to client.resetConnection(). Mount this component after clearing your own local auth state to signal to MoonPay that the customer has signed out. Unmount it after you receive the "complete" event (or on error). The reset completes or times out within 5 seconds.
SignOutScreen.tsx

Props

This component renders nothing visible (0×0). It has no style prop.

ConnectionResetEvent