Import transactions
documentedImport transactions from a file or data source.
POST /budgets/{budget_id}/transactions/importTransactionsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.ynab.com/v1/budgets/{{$budget_id}}/transactions/import" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"transactions": [{"transaction": {"account_id": "{{$account_id}}", "date": "{{$date}}", "amount": {{$amount}}, "payee_name": "{{$payee_name}}", "memo": "{{$memo}}", "category_id": "{{$category_id}}"}}]}'