def create_transaction(budget_id, data, opts = {})
      data, _status_code, _headers = create_transaction_with_http_info(budget_id, data, opts)
      data
    end
def create_transaction(budget_id, data, opts = {})
      data, _status_code, _headers = create_transaction_with_http_info(budget_id, data, opts)
      data
    end
Create a single transaction or multiple transactions
 Creates a single transaction or multiple transactions.  If you provide a body containing a 'transaction' object, a single transaction will be created and if you provide a body containing a 'transactions' array, multiple transactions will be created.
 @param budget_id The id of the budget (\&quot;last-used\&quot; can also be used to specify the last used budget)
 @param data The transaction or transactions to create.  To create a single transaction you can specify a value for the &#39;transaction&#39; object and to create multiple transactions you can specify an array of &#39;transactions&#39;.  It is expected that you will only provide a value for one of these objects.
 @param [Hash] opts the optional parameters
 @return [SaveTransactionsResponse]