Skip to navigation

Change Wallet PIN

View as Markdown

An optional phone field can target another user’s PIN by phone (support/admin path) - omit it to change your own PIN.

Headers

AuthorizationstringOptional
X-Device-IdstringOptional

Required on non-GET requests to non-public paths (DeviceSignatureFilter), skipped for GET/whitelisted/multipart requests and in the local profile.

X-SignaturestringOptional

Base64 ECDSA signature over sha256(body) + timestamp + requestId, signed with the device's registered private key.

X-TimestampstringOptional

Unix epoch seconds; must be within 5 minutes of server time.

X-Request-IdstringOptional

Unique per request - reused values are rejected as replays.

Request

This endpoint expects an object.
currentPinstringOptionalformat: "utc-millisec"
newPinstringOptionalformat: "utc-millisec"
confirmNewPinstringOptionalformat: "utc-millisec"

Response

200 OK
codeintegerOptional
messagestringOptional
datastringOptional

Errors

400
Bad Request Error