Retrieve the list of location IDs attached to a Tyro Merchant ID. A location ID represents the physical location from which a payment originates and is required in order to create the Reader
The list of locations for the provided merchant ID
When you don't have the right permissions to fetch the locations
When the provided merchantId
does not exist in our system
curl -i -X GET \ 'https://api.tyro.com/connect/tap-to-pay/merchants/{merchantId}/locations' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "results": [
- {
- "locationId": "tc-exampleshop-3000",
- "name": "Example Shop Melbourne"
}, - {
- "locationId": "tc-exampleshop-2000",
- "name": "Example Shop Sydney"
}
]
}