Skip to content

Change PIN

POST
/v1/auth/pin/change
curl --request POST \
--url https://api.parasta.io/v1/auth/pin/change \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "currentPin": "example", "newPin": "example" }'
Media type application/json
object
currentPin
required
string
newPin
required
string
Example generated
{
"currentPin": "example",
"newPin": "example"
}

OK

Media type application/json
object
changed
boolean
Example generated
{
"changed": true
}

Current PIN mismatch

Media type application/json
object
code
required

Error code prefixed with the service namespace (AUTH_, ACCOUNT_, WALLET_, DID_, ASSET_, TRANSFER_, EXCHANGE_).

string
message
required
string
details
object
key
additional properties
any
Example generated
{
"code": "example",
"message": "example",
"details": {}
}

PIN locked

Media type application/json
object
code
required

Error code prefixed with the service namespace (AUTH_, ACCOUNT_, WALLET_, DID_, ASSET_, TRANSFER_, EXCHANGE_).

string
message
required
string
details
object
key
additional properties
any
Example generated
{
"code": "example",
"message": "example",
"details": {}
}

Please contact your representative. 담당자에게 문의해주세요.