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.
POS service API (1.0.0)
https://api-services.pxp.io/api/v1/
https://api-services.test.pxp.io/api/v1/
The log settings to apply to the point of sale device.
Indicates whether verbose logging is enabled for the point of sale device. When enabled, more detailed logs are generated, which can be useful for debugging and troubleshooting.
The maximum size of the log file in bytes. Once the log file reaches this size, older log entries may be removed or archived to prevent exceeding the size limit.
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/log-settings
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/log-settings
- 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/123456789/log-settings \
-H 'Content-Type: application/json' \
-d '{
"verboseLoggingEnabled": true,
"maximumLogSize": 10485760,
"logFileCleanUpDays": 30
}'
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/log-settings
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/log-settings
- 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/123456789/log-settings
Successfully retrieved the log settings.
Indicates whether verbose logging is enabled for the point of sale device. When enabled, more detailed logs are generated, which can be useful for debugging and troubleshooting.
The maximum size of the log file in bytes. Once the log file reaches this size, older log entries may be removed or archived to prevent exceeding the size limit.
{ "verboseLoggingEnabled": true, "maximumLogSize": 10485760, "logFileCleanUpDays": 30 }
The updated log settings.
Indicates whether verbose logging is enabled for the point of sale device. When enabled, more detailed logs are generated, which can be useful for debugging and troubleshooting.
The maximum size of the log file in bytes. Once the log file reaches this size, older log entries may be removed or archived to prevent exceeding the size limit.
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/log-settings
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/log-settings
- 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/123456789/log-settings \
-H 'Content-Type: application/json' \
-d '{
"verboseLoggingEnabled": true,
"maximumLogSize": 10485760,
"logFileCleanUpDays": 30
}'