public T Create(Dictionary <string, object> payload) { dynamic resource; resource = Client.Post <T>(GetURI(), Resource.Serialize(payload)); return(resource); }
public void Confirm(int amount_1, int amount_2) { Dictionary <string, int> payload = new Dictionary <string, int>(); payload.Add("amount_1", amount_1); payload.Add("amount_2", amount_2); Client.Put <BankAccountVerification>(href, Resource.Serialize(payload)); Reload(); }