Skip to content

Create authentication settings

Request

This endpoint creates authentication settings for a specific point of sale device.

Path
pointOfSaleIdinteger, (int64)required

The unique system identifier for the point of sale device.

Example:123456789
Bodyapplication/jsonrequired

The authentication settings to apply to the point of sale device.

hmacKeystringrequired

The single hmac key used in association with the point of sale device to authenticate.

Example:"a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
curl -i -X POST \
  https://api-services.pxp.io/api/v1/point-of-sales/123456789/authentication-settings \
  -H 'Content-Type: application/json' \
  -d '{
    "hmacKey": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
  }'

Responses

Successfully created the authentication settings.