Get Terminal Transaction Status
Access Endpoint URL: https://rest.everyware.com/api/terminals/payment/{TerminalTransactionId}/status [GET]
You can use the GetTransactionStatusAsync method to get the status of a transaction by passing the TerminalTransactionID received in the response to the SendPaymentToTerminalAsync call.
Response Parameters
Parameter Name | Description |
---|---|
Id | Unique Identifier of a transaction in EW system. |
TransactionId | External system's id used to identify the transaction. |
ExternalId | External system's Id used to identify the customer. |
Status | Transaction status (see table below for more details) |
ErrorMessage | Error message if transaction failed |
Status Value | Definition |
---|---|
1 | In Progress: A payment request has been sent to the terminal and is pending completion by the the payer. |
2 | Successful |
3 | Failed |
4 | System Process: The transaction is being processed by the Everyware system. |
Response Sample
{
"Id": 1,
"ExternalId": "externalId",
"Status": 2,
"ErrorMessage": "",
"TransactionId": "123456"
}
Updated 9 months ago