Set or update the wallet PIN

Sets or updates the 4-digit PIN for a wallet. Provide only the new PIN when setting a PIN for the first time. Include the old PIN when changing an existing PIN.

POST

Headers

string

The Bearer token for authentication.

string

The user agent of the request. Must contain at least two identifiers separated by a space.

string

The content type of the request.

Parameters

string

The ID of the wallet to update the PIN for.

Request Body

application/json
string

The PIN to set.

string

The PIN to verify before updating. Required when updating an existing PIN.

Response Body

application/json
boolean

Indicates that the request was successful.

string

A descriptive message regarding the result.