Get the account or store of a terminal

Returns the company account, merchant account, or store that a payment terminal is assigned to.