This endpoint is used to initiate a new point of sale device for a specific site. It creates the device with the provided configuration settings.
Configuration details for the new point of sale device.
The unique merchant identifier for the point of sale device.
The model of the point of sale device.
The protocol used by the point of sale device.
The URL or network endpoint where the point of sale device actively listens for incoming connections and communications from the merchant system.
The commercial model for the point of sale device pricing.
The endpoint URLs used by the PXP point of sale application.
[ { "url": "https://transaction.example.com", "urlType": "Transaction" } ]
- Production environmenthttps://api-services.pxp.io/api/v1/point-of-sales/{site}
- Sandbox environmenthttps://api-services.test.pxp.io/api/v1/point-of-sales/{site}
curl -i -X POST \
https://api-services.pxp.io/api/v1/point-of-sales/SITE-1 \
-H 'Content-Type: application/json' \
-d '{
"serialNumber": "SN1234567890",
"merchantPointOfSaleId": "POS-12345",
"deviceModel": "CastlesSaturn1000",
"communicationProtocol": "HTTP",
"communicationEndpoint": "http://pos.example.com",
"commercialModel": "Onetime",
"authenticationSettings": {
"hmacKey": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
},
"hostUrls": [
{
"url": "https://transaction.example.com",
"urlType": "Transaction"
}
],
"logSettings": {
"verboseLoggingEnabled": true,
"maximumLogSize": 10485760,
"logFileCleanUpDays": 30
},
"featureSettings": {
"statusPacketsEnabled": true,
"languageSelectionEnabled": true,
"gratuityEnabled": false,
"onlinePinEnabled": true,
"keyedEnabled": false,
"dccEnabled": false
},
"storeAndForwardSettings": {
"storeAndForwardEnabled": true,
"transactionAmountThreshold": 10000,
"throttlingLimit": 100,
"processInterval": 300,
"x509PrivateKey": "MIIBVgIBADANBgkqhkiG9w0BAQEFAASC...",
"x509PublicKey": "MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE...",
"keyGenerated": "2023-09-01T12:00:00Z"
}
}'Successfully initiated the point of sale device.
The status of the point of sale device.
The unique merchant identifier for the point of sale device.
{ "status": "Active", "site": "SITE-1", "merchantPointOfSaleId": "POS-12345", "pointOfSaleId": 123456789 }