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.
- Get Store and Forward settings
POS service API (1.0.0)
https://api-services.pxp.io/api/v1/
https://api-services.test.pxp.io/api/v1/
The store and forward settings to apply to the point of sale device.
Specifies whether the store and forward feature should be enabled for the point of sale device. This feature allows transactions to be temporarily stored locally when there is no network connectivity and then forwarded to the server once connectivity is restored.
Defines the maximum transaction amount (in the smallest currency unit, such as cents) that can be processed using the store and forward feature. Transactions that exceed this threshold will not be stored for later forwarding.
Sets the maximum number of transactions that can be processed within a specific time frame when the store and forward feature is enabled. This helps to manage the flow of transactions once network connectivity is restored.
Specifies the time interval (in seconds) between attempts to process and forward stored transactions once network connectivity is available.
The private key used for encrypting stored transaction data. This key is part of the X.509 certificate standard, which is used to ensure secure communications.
The public key associated with the private key, used in conjunction with the X.509 certificate for encryption and secure communication.
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/store-and-forward-settings
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/store-and-forward-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/store-and-forward-settings \
-H 'Content-Type: application/json' \
-d '{
"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/{pointOfSaleId}/store-and-forward-settings
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/store-and-forward-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/store-and-forward-settings
Successfully retrieved the store and forward settings.
Indicates whether the store and forward feature is enabled for the point of sale device. This feature allows transactions to be temporarily stored locally when there is no network connectivity and forwarded to the server once connectivity is restored.
Specifies the maximum transaction amount (in the smallest currency unit, such as cents) that can be processed using the store and forward feature. Transactions exceeding this amount will not be stored for later forwarding.
Defines the maximum number of transactions that can be processed in a given time frame when the store and forward feature is enabled. This helps to manage the flow of transactions when connectivity is restored.
Indicates the interval (in seconds) between attempts to process and forward stored transactions once network connectivity is available.
The private key used for encryption of stored transaction data. This key is part of the X.509 certificate standard used for secure communications.
The public key associated with the private key, used in the X.509 certificate for encryption and secure communication.
{ "storeAndForwardEnabled": true, "transactionAmountThreshold": 10000, "throttlingLimit": 100, "processInterval": 300, "x509PrivateKey": "MIIBVgIBADANBgkqhkiG9w0BAQEFAASC...", "x509PublicKey": "MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE...", "keyGenerated": "2023-09-01T12:00:00Z" }
The updated store and forward settings.
Specifies whether the store and forward feature should remain enabled or be disabled for the point of sale device. This feature allows transactions to be stored locally when there is no network connectivity and then forwarded to the server once connectivity is restored.
Defines the maximum transaction amount (in the smallest currency unit, such as cents) that can be processed using the store and forward feature. Transactions exceeding this amount will not be stored for later forwarding.
Sets the maximum number of transactions that can be processed within a specific time frame when the store and forward feature is enabled. This helps to control the flow of transactions once network connectivity is restored.
Specifies the time interval (in seconds) between attempts to process and forward stored transactions once network connectivity is available.
The private key used for encrypting stored transaction data. This key is part of the X.509 certificate standard, which is used to ensure secure communications.
The public key associated with the private key, used in conjunction with the X.509 certificate for encryption and secure communication.
- Production environment
https://api-services.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/store-and-forward-settings
- Sandbox environment
https://api-services.test.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/store-and-forward-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/store-and-forward-settings \
-H 'Content-Type: application/json' \
-d '{
"storeAndForwardEnabled": true,
"transactionAmountThreshold": 10000,
"throttlingLimit": 100,
"processInterval": 300,
"x509PrivateKey": "MIIBVgIBADANBgkqhkiG9w0BAQEFAASC...",
"x509PublicKey": "MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE...",
"keyGenerated": "2023-09-01T12:00:00Z"
}'