Download OpenAPI specification:Download
Retrieves a list of all currently connected card terminals. Results can be filtered by currency, capabilities, and status.
| status | string Enum: "AVAILABLE" "BUSY" Restricts the response to show only available or only busy terminals. |
| capabilities | string Restricts the response to terminals that have specific capabilities. Values should be provided as a comma-separated list. |
| currency | string Enum: "GBP" "EUR" Restricts the response to terminals configured for a specific currency. |
{- "terminals": [
- {
- "tpi": "12345678",
- "status": "AVAILABLE",
- "currency": "GBP",
- "capabilities": [
- "SALE",
- "REFUND"
],
}
]
}Retrieves details for a specific terminal.
| tpi required | string Unique identifier of the terminal to use in this request. |
{- "tpi": "12345678",
- "status": "AVAILABLE",
- "currency": "GBP",
- "capabilities": [
- "SALE",
- "REFUND"
],
}Initiates a transaction on the terminal identified by the given terminal identifier.
| tpi required | string Unique identifier of the terminal to use in this request. |
| transactionType | string (transactionType) Enum: "SALE" "REFUND" "DUPLICATE" Type of the transaction. |
| amount | integer Base amount for the transaction (in pence). |
| currency | string (currency) Enum: "GBP" "EUR" Currency for the request. Uses the textual representation from ISO 4217. |
{- "transactionType": "SALE",
- "amount": 1234,
- "currency": "GBP"
}{- "requestId": "d19912ad-11a3-4af3-86e0-d6eb2ebea63c",
}Retrieves data for the transaction identified by the given requestId.
| tpi required | string Unique identifier of the terminal to use in this request. |
| requestId required | string Request Id (a UUID assigned to a terminal request) for the terminal request to use in this request. |
{- "amountBase": "100",
- "amountCashback": "30",
- "amountGratuity": "20",
- "amountTotal": "150",
- "applicationId": "A0000000031010",
- "applicationLabel": "VISA",
- "authCode": "78YT6RS0",
- "cardSchemeName": "VISA",
- "cardHolderVerificationMethod": "PIN",
- "currency": "GBP",
- "dateOfExpiry": "01/25",
- "dateOfStart": "01/19",
- "notifications": [
- "TRANSACTION_FINISHED",
- "APPROVED",
- "CONNECTION_MADE",
- "CONNECTING",
- "PIN_ENTRY",
- "PLEASE_WAIT",
- "PRESENT_CARD",
- "TRANSACTION_STARTED"
], - "paymentMethod": "ICC_CHIP",
- "primaryAccountNumber": "************1234",
- "primaryAccountNumberSequence": "01",
- "receiptLines": {
- "MERCHANT": [
- {
- "format": [
- "BOLD"
], - "type": "TEXT",
- "value": "John's Shop"
}
], - "CUSTOMER": [
- {
- "format": [
- "BOLD"
], - "type": "TEXT",
- "value": "John's Shop"
}
]
}, - "requestId": "d19912ad-11a3-4af3-86e0-d6eb2ebea63c",
- "transactionId": "1234567",
- "transactionNumber": "0012",
- "transactionResult": "SUCCESSFUL",
- "transactionTime": "2019-03-04T16:12:00",
- "transactionType": "SALE"
}Attempts to cancel the transaction identified by the given requestId.
| tpi required | string Unique identifier of the terminal to use in this request. |
| requestId required | string Request Id (a UUID assigned to a terminal request) for the terminal request to use in this request. |
nullInitiates a report on the terminal identified by the given terminal identifier.
| tpi required | string Unique identifier of the terminal to use in this request. |
| reportType | string (reportType) Enum: "END_OF_DAY" "BANKING" "X_BALANCE" "Z_BALANCE" Type of the report. |
{- "reportType": "END_OF_DAY"
}{- "requestId": "d19912ad-11a3-4af3-86e0-d6eb2ebea63c",
}Retrieves data for the report identified by the given requestId.
| tpi required | string Unique identifier of the terminal to use in this request. |
| requestId required | string Request Id (a UUID assigned to a terminal request) for the terminal request to use in this request. |
{- "balances": {
- "currency": "GBP",
- "issuerTotals": {
- "{issuerName}": {
- "currency": "GBP",
- "totalAmount": 0,
- "totalRefundsAmount": 0,
- "totalRefundsCount": 0,
- "totalSalesAmount": 0,
- "totalSalesCount": 0
}
}, - "totalAmount": "1000",
- "totalCashbackAmount": "100",
- "totalCashbackCount": "2",
- "totalGratuityAmount": "100",
- "totalGratuityCount": "3",
- "totalRefundsAmount": "400",
- "totalRefundsCount": "9",
- "totalSalesAmount": "1200",
- "totalSalesCount": "14",
- "totalsSince": "INSTALLATION",
- "waiterTotals": {
- "{waiterId}": {
- "currency": "GBP",
- "totalAmount": 0,
- "totalRefundsAmount": 0,
- "totalRefundsCount": 0,
- "totalSalesAmount": 0,
- "totalSalesCount": 0
}
}
}, - "banking": {
- "{acquirerName}": {
- "currency": "GBP",
- "currentSessionIssuerTotals": {
- "{issuerName}": {
- "currency": "GBP",
- "totalAmount": 0,
- "totalRefundsAmount": 0,
- "totalRefundsCount": 0,
- "totalSalesAmount": 0,
- "totalSalesCount": 0
}
}, - "previousSessionIssuerTotals": {
- "{issuerName}": {
- "currency": "GBP",
- "totalAmount": 0,
- "totalRefundsAmount": 0,
- "totalRefundsCount": 0,
- "totalSalesAmount": 0,
- "totalSalesCount": 0
}
}, - "currentSessionTotals": {
- "currency": "GBP",
- "totalAmount": 0,
- "totalRefundsAmount": 0,
- "totalRefundsCount": 0,
- "totalSalesAmount": 0,
- "totalSalesCount": 0
}, - "previousSessionTotals": {
- "currency": "GBP",
- "totalAmount": 0,
- "totalRefundsAmount": 0,
- "totalRefundsCount": 0,
- "totalSalesAmount": 0,
- "totalSalesCount": 0
}, - "currentSessionTransactionNumbers": [
- "0076",
- "0123"
], - "previousSessionTransactionNumbers": [
- "0000",
- "0075"
]
}
}, - "reportLines": [
- {
- "format": [
- "BOLD"
], - "type": "TEXT",
- "value": "John's Shop"
}
], - "reportTime": "2019-03-04T16:12:00",
- "reportType": "END_OF_DAY",
- "reportResult": "COMPLETE",
- "tpi": "12345678",
- "requestId": "d19912ad-11a3-4af3-86e0-d6eb2ebea63c",
- "notifications": [
- [
- "REPORT_FINISHED",
- "REPORT_STARTED"
]
]
}