TheDocumentation Index
Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt
Use this file to discover all available pages before exploring further.
getInternalStatus method checks the internal service state of the AEA (the payment application). It helps determine if the device is idle, busy, or in a specific stage of a transaction. You should call this method infrequently.
Request
JSON-RPC 2.0All methods in TweezerComm follow a JSON-RPC 2.0 structure. See Get Started for more details on how the requests are structured and sent.
- The
methodfield must be set togetInternalStatus. - The service must be set to
ashraitin theparams.
Request Parameters
This method doesn’t require any parameters beyond the standard service name.Response
A successful call returns an object containing the internal status string.Response Parameters
The resultobject contains the following field:
| Name | Type | Description |
|---|---|---|
status | string | A string representing the internal state of the device. |
Possible Status Values
The status field will contain one of the following strings:| Value | Description |
|---|---|
IDLE | The device is in idle mode and ready for a new request. |
BUSY | The device is busy and cannot handle new requests at this time. |
PHASE2_READY | The device has completed transaction phase 1 and is ready for phase 2. |
AUTH_READY | The device is ready for authorization. |