Update User PIN By ID
Users
Update User PIN By ID
Sets or changes the 6-digit PIN used for PIN-based login and transaction authorization.
- If the user already has a PIN enabled,
current_pinis required and must match the existing PIN. - If the user has no PIN yet (
pin_enabledis false),current_pincan be omitted and this endpoint will act as a first-time PIN setup.
PUT
Update User PIN By ID
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
User ID.
Body
application/json
Request payload for updating or setting a user's 6-digit PIN.
Response
PIN updated successfully
User ID.
User email.
Phone in E.164 format.
Given name.
Family name.
Assigned role. Admin can only be assigned via PUT /api/v1/auth/user/id/{id}/role by an existing admin.
Available options:
customer, vendor, subvendor, user, admin Current KYC status.