Skip to main content
Skip table of contents

Add or change the PIN on an account – OTT

Request

To add or update a PIN on a given account, send a PUT request to:

CODE
http://<host>:<port>/adm/v1/accounts/actions/{{accountId}}/pin

If the PIN status is LOCKED, this request resets the status to SET.

Headers

  • Content-Type: application/json

Mandatory Arguments

  • accountID

Example

A request with this payload creates or updates the requested PIN type on a given account:

CODE
{
  "type": "PinTypeLabel",
  "value": "1234"
}

Response

A successful request returns an HTTP 200 status.

A bad request returns an HTTP 400 status.

An HTTP 404 status is returned if the specified PIN type cannot be found.

Example

The payload of a response to a successful request looks like this:

CODE
{
    "matchedCount": 1,
    "modifiedCount": 1
}

See also

For full details of this API, see Account and Device Manager (ADM) API documentation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.