Package: react-wallet-kit
Defined in: react-wallet-kit/src/providers/client/Types.tsx:732
Overview
Handles the removal of a user’s phone number from their Turnkey account.
- This function opens a modal with the RemoveUserPhoneNumber component, allowing the user to confirm and remove their phone number.
Parameters
parameter to specify the stamper to use for the removal (StamperType.Passkey, StamperType.ApiKey, or StamperType.Wallet).
params.successPageDuration
duration (in ms) for the success page after removal (default: 0, no success page).
The user ID to remove the phone number for (defaults to current session’s userId).
Response
A successful response returns the following fields: