/// <summary> /// /budgets/{budgetId}/payees - List payees /// </summary> /// <param name="budgetId">The id of the budget (“last-used” can also be used to specify the last used budget)</param> /// <returns>Returns all payees</returns> public PayeesResponse GetPayees(string budgetId = "last-used") { return(PayeesResponse.Load(Connect("GET", $"/budgets/{budgetId}/payees"))); }
/// <summary> /// /budgets/{budgetId}/payees/{payeeId} - Single payee /// </summary> /// <param name="payeeId">The id of the payee</param> /// <param name="budgetId">The id of the budget (“last-used” can also be used to specify the last used budget)</param> /// <returns>Returns single payee</returns> public Task <PayeeResponse> GetPayee(string payeeId, string budgetId = "last-used") { return(PayeesResponse.Load(Connect("GET", $"/budgets/{budgetId}/payees/{payeeId}"))); }