---
title: "Create an estimate of the recurring transactions for an account"
method: POST
path: "/accounts/{accountId}/recurring-transactions"
tags: ["accounts"]
---

# Create an estimate of the recurring transactions for an account

`POST /accounts/{accountId}/recurring-transactions`

## Request

- Base URL: `https://api.moneyhub.co.uk/v2.0`
- URL: `https://api.moneyhub.co.uk/v2.0/accounts/{accountId}/recurring-transactions`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/moneyhub/apis/moneyhub-data-api/docs/accounts/:accountId/recurring-transactions/post.ts> (a function with typed inputs; its response is checked against the schema)

**THIS ENDPOINT IS DEPRECATED.** Estimation of recurring transactions has ben superseded by the regular transactions endpoint. Requires **accounts:read** and **transactions:read:all** scope.

## Path parameters

- `accountId` string, uuid, required

## Response `200`

Successful Recurring Transactions Response

- object
  - `data` RecurringTransactionEstimate[]
    - `counterpartyId` string: The id of the counterparty that the estimate is for
    - `amount` object
      - `value` integer, required: The average predicted amount of the recurring transaction in minor units of the currency, eg. pennies for GBP.
      - `majorUnits` integer: The major units of the value, based on the values currency, eg. pounds for GBP.
      - `minorUnits` integer: The minor units of the value, based on the values currency, eg. pennies for GBP.
      - `currency` string, required: The currency of the predicted amount taken from the account
    - `amountRange` object
      - `value` integer, required: The predicted range of the recurring transaction in minor units of the currency, eg. pennies for GBP.
      - `majorUnits` integer: The major units of the value, based on the values currency, eg. pounds for GBP.
      - `minorUnits` integer: The minor units of the value, based on the values currency, eg. pennies for GBP.
      - `currency` string, required: The currency of the predicted range taken from the account
    - `monthlyAmount` object
      - `value` integer, required: The predicted monthly amount for this counterparty, regardless of how many transactions in minor units of the currency, eg. pennies for GBP.
      - `majorUnits` integer: The major units of the value, based on the values currency, eg. pounds for GBP.
      - `minorUnits` integer: The minor units of the value, based on the values currency, eg. pennies for GBP.
      - `currency` string, required: The currency of the monthly amount taken from the account
    - `predictionSource` 'moneyhub': The source of the prediction
    - `monthlyAverageOnly` boolean: A flag indicating whether the predictions are based only on a monthly average or not. If the predictions are based solely on monthly averages then the dates array will be defaulted to the end of the month for the next 3 motnhs.
    - `dates` string[]
  - `links` Links
    - `next` string, uri: The url to retrieve the next page of results from
    - `prev` string, uri: The url to retrieve the previous page of results from
    - `self` string, uri, required: The url of the current resource(s)
  - `meta` object

## Other responses

- `401`: Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403`: Unsuccessful Response - Forbidden - Invalid scopes
- `404`: Unsuccessful Response - Resource Not found

---

[API](https://skmtc.dev/moneyhub/apis/moneyhub-data-api.md) - [All operations](https://skmtc.dev/moneyhub/apis/moneyhub-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moneyhub/apis/moneyhub-data-api/revisions/f2eb965eb9af?raw)
