This is an API reference for the Point of Sale service, which allows you to manage point of sale devices, including their settings, activation, and configuration.
- Activate a POS device
POS service API (1.0.0)
https://api-services.pxp.io/api/v1/
https://api-services.test.pxp.io/api/v1/
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 authentication settings for a point of sale device.
The endpoint URLs used by the PXP point of sale application.
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{site}
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{site}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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",
"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"
}
}'
{ "status": "Active", "site": "SITE-1", "merchantPointOfSaleId": "POS-12345", "pointOfSaleId": 123456789 }
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{site}/{merchantPointOfSaleId}
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{site}/{merchantPointOfSaleId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api-services.pxp.io/api/v1/point-of-sales/SITE-1/POS-12345
Successfully retrieved the point of sale device details.
The unique merchant identifier for the point of sale device.
The unique system 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 authentication settings for a point of sale device.
The endpoint URLs used by the PXP point of sale application
The store and forward settings for a point of sale device.
The status of the point of sale device.
{ "site": "SITE-1", "serialNumber": "SN1234567890", "merchantPointOfSaleId": "POS-12345", "pointOfSaleId": 123456789, "deviceModel": "CastlesSaturn1000", "communicationProtocol": "HTTP", "communicationEndpoint": "http://pos.example.com", "authenticationSettings": { "hmacKey": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6" }, "hostUrls": [ { … } ], "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" }, "status": "Active", "createdOn": "2023-09-01T12:00:00Z", "updatedOn": "2023-09-10T15:00:00Z" }
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{site}/{merchantPointOfSaleId}
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{site}/{merchantPointOfSaleId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://api-services.pxp.io/api/v1/point-of-sales/SITE-1/POS-12345
Updated configuration details for the point of sale device.
The status of the 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 authentication settings for a point of sale device.
The endpoint URLs used by the PXP point of sale application
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{site}/{merchantPointOfSaleId}
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{site}/{merchantPointOfSaleId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://api-services.pxp.io/api/v1/point-of-sales/SITE-1/POS-12345 \
-H 'Content-Type: application/json' \
-d '{
"status": "Active",
"site": "SITE-1",
"serialNumber": "SN1234567890",
"merchantPointOfSaleId": "POS-12345",
"deviceModel": "CastlesSaturn1000",
"communicationProtocol": "HTTP",
"communicationEndpoint": "http://pos.example.com",
"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"
}
}'
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{serialNumber}/activate
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{serialNumber}/activate
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://api-services.pxp.io/api/v1/point-of-sales/SN1234567890/activate