# RESET/UNLOCK PIN

Performs the PIN reset or unlock operation

Endpoint: POST /api/v1/requests/{id}/unlock_pin
Version: v1

## Path parameters:

  - `id` (string, required)
    The unique identifier of the Request

## Request fields (application/json):

  - `scratchcard` (string)
    The scratchcard number (username) associated to the request

  - `enrollment_code` (string)
    The scratchcard enrollment code of the request

  - `newpin` (string)
    The new pin

  - `otp` (string)
    The OTP code sent to the user via SMS

## Response 200 fields (application/json):

  - `status` (string)
    The response status code

  - `message` (string)
    The response status message

## Response 412 fields (application/json):

  - `code` (string)
    The response status code

  - `id` (string)
    The response status id

  - `error` (string)
    The response status message

## Response 500 fields (application/json):

  - `code` (string)
    The response status code

  - `id` (string)
    The response status id

  - `error` (string)
    The response status message


