/// <summary> /// Begin a new asynchronous WithdrawChallengeRequest /// </summary> /// <param name="requestData"></param> /// <returns></returns> public async Task <WithdrawChallengeResponse> WithdrawChallengeRequestAsync(WithdrawChallengeRequest requestData) { var res = await Requestor.PostStringAsync(Urls.WithdrawChallengeRequest, JsonHelper.SerializeData(requestData)); return(JsonConvert.DeserializeObject <WithdrawChallengeResponse>(res.ResponseJson)); }
/// <summary> /// Begin a new WithdrawChallengeRequest /// </summary> /// <param name="requestData"></param> /// <returns></returns> public WithdrawChallengeResponse WithdrawChallengeRequest(WithdrawChallengeRequest requestData) { return(JsonConvert.DeserializeObject <WithdrawChallengeResponse>(Requestor.PostString(Urls.WithdrawChallengeRequest, JsonHelper.SerializeData(requestData)).ResponseJson)); }