FILTER BY TAG

REST Example: Enable or Disable Offline Mode Using a REST API Request

Request
{ "type": "OfflineModeRequest", "enabled": true }
Mid-Transaction Status Updates
During the operation, you might receive one or more update responses indicating the current status of the operation. You can choose to display these updates on your point-of-sale (POS) system.
{ "type": "OperationStatusResponse", "message": "Status update to display." }
Response to a Successful Request
{ "type": "OfflineModeResponse", "message": "Offline mode enabled." }
Response to an Unsuccessful Request
When the request is unsuccessful, you receive an error response with details.
{ "type": "ErrorResponse", "message": "Error message to display.", "developerDescription": "Detailed description of error." }