POST
/
v2
/
plastic
/
{plasticId}
curl --request POST \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/pincontrol/v2/plastic/{plasticId} \
  --header 'Content-Type: application/json' \
  --data '{
  "scope": "VIEW_PIN"
}'
{
  "id": "<string>",
  "pinURL": "<string>",
  "pinFrameURL": "<string>"
}

Path Parameters

plasticId
string
required

The id of the plastic for which the PIN should be accessed

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json
The related PIN control request data
scope
enum<string>
required

Describes the scope of the operation that is authorized by the user.

Available options:
VIEW_PIN,
SET_PIN

Response

201
application/json
Successful creation of the access token
id
string
required

The ID of this PIN Control access token.

pinURL
string

The URL that the cardholder's mobile device webview should browse to for accessing the PIN.

pinFrameURL
string

The URL of the iframe for desktop browser based flows for accessing PIN.