Skip to content

Create host URL settings

Request

This endpoint creates host URL 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 host URL settings to apply to the point of sale device.

urlstring or null
Example:"https://transaction.example.com"
urlTypestring

The type of URL.

Enum:"Transaction""StoreAndForward""InStoreNotification""DCC"
Example:"Transaction"
curl -i -X POST \
  https://api-services.pxp.io/api/v1/point-of-sales/123456789/host-url-settings \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "https://transaction.example.com",
    "urlType": "Transaction"
  }'

Responses

Successfully created the host URL settings.