processing token request to params