When your App is first initialised, a request is sent to your server to establish a Tyro Embedded Payments connection. This is required to connect to the Embedded Payments reader. Upon receiving the client request, authenticate your user and send the request to Tyro with the readerId
in the request body.
Created
When the provided payload is not valid.
When you don't have the right permissions to create a Connection for the provided Reader ID.
When the provided readerId
does not exist in our system.
{- "readerId": "0f448ac1-862a-4c7b-bdb4-a3b7cdbf6149"
}
{- "id": "2688fcf2-44dd-4c72-88ac-79d0910f2983",
- "connectionSecret": "$2a$10$OjXTE/Ul4UVVlW8RtKNtcuV3NdoP8sFc.5Lqov0N5wp6vU8Dmj8H3",
- "createdDate": "2023-05-02T08:28:13+10:00",
- "readerId": "0f448ac1-862a-4c7b-bdb4-a3b7cdbf6149",
- "readerName": "Reader 1 - Example Shop Sydney",
- "locationId": "tc-exampleshop-3000",
- "locationName": "Example Shop Melbourne"
}