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.
Point-of-Sale devices
/- Update host URL settings
Create host URL settings
Get host URL settings
Update host URL settings
POS service API (1.0.0)
Download OpenAPI description
Languages
Servers
Production environment
https://api-services.pxp.io/api/v1/
Sandbox environment
https://api-services.test.pxp.io/api/v1/
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/host-url-settings
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/host-url-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/host-url-settings \
-H 'Content-Type: application/json' \
-d '{
"url": "https://transaction.example.com",
"urlType": "Transaction"
}'
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/{urlType}/host-url-settings
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/{urlType}/host-url-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/123465789/Transaction/host-url-settings
Response
application/json
{ "url": "https://transaction.example.com", "urlType": "Transaction" }
Bodyapplication/jsonrequired
The updated host URL settings.
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/{urlType}/host-url-settings
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/{urlType}/host-url-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/Transaction/host-url-settings \
-H 'Content-Type: application/json' \
-d '{
"url": "https://transaction.example.com"
}'