encounter transaction api - doc