public AccessTokenResponse RequestAccessToken(AccessTokenRequest payload) { Signature signatureService = GetSignatureService(); string messageSignature = signatureService.Sign(JsonConvert.SerializeObject(payload)); return(authApi.AuthenticationAccessTokensPost( CONTENT_TYPE, signatureService.ClientRequestId, GetApiKey(), signatureService.TimeStamp, payload, messageSignature )); }