create_transaction

Function create_transaction 

Source
pub async fn create_transaction(
    configuration: &Configuration,
    budget_id: &str,
    data: PostTransactionsWrapper,
) -> Result<SaveTransactionsResponse, Error<CreateTransactionError>>
Expand description

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. Scheduled transactions (transactions with a future date) cannot be created on this endpoint.