This endpoint is used for retrieving Embedded Payments transactions by search.
Success
When you don't have the right permissions to access the transactions
When the provided merchant or location ID does not exist in our system
curl -i -X GET \ 'https://api.tyro.com/connect/tap-to-pay/merchants/{merchantId}/transactions?reference=string&locationId=tc-location-2000&limit=10&page=2' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "results": [
- {
- "transactionId": "string",
- "transactionLocalDateTime": "2023-05-02T08:28:13",
- "reference": "string",
- "transactionReference": "string",
- "locationId": "tc-exampleshop-3000",
- "mid": "string",
- "tid": "string",
- "amount": 0,
- "paymentType": "Purchase",
- "surchargeAmount": 0,
- "tipAmount": 0,
- "elidedPan": "string",
- "cardType": "string",
- "approvalCode": "string",
- "transactionResult": "APPROVED",
- "retrievalReferenceNumber": "string",
- "customerReceipt": " Example Restaurant\n 55 Market St\n Sydney NSW 2000\n\n Tyro Payments EFTPOS\n\nVisa DEBIT\nAID: A0000000031010\nCard: XXXXXXXXX2989(T)\nPSN: 00, ATC: 0007\nTVR: 0000000000\n\nPurchase AUD $4.55\n----------------------------\nTotal AUD $4.55\n\nAPPROVED 00\n\nTerminal ID: 4\nTransaction Ref: 395001\nAuthorisation No: 000184\n02 Apr 2024 at 04:52 PM"
}
], - "pagination": {
- "page": 1,
- "size": 10,
- "limit": 100,
- "total": 45
}
}