Rivaire Recurring series API
The Recurring series API from Rivaire — 2 operation(s) for recurring series.
The Recurring series API from Rivaire — 2 operation(s) for recurring series.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/rivaire-pro:rivaire-pro-recurring-series-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Rivaire Recurring series API
version: '1'
description: 'Create a token in Settings → API
Send it as `Authorization: Bearer rvr_...`
Spec: openapi.json
## Workspaces
Pass `?workspaceId=` to pick a workspace; get IDs from `GET /v1/workspaces`. Without it, requests about a
transaction, wallet or recurring series use its workspace, and everything else uses your Main workspace.
## Amounts
Amounts are decimal strings like `"12.50"`. Send a string or a number with up to two decimals.
What a token sees is set when you create it:
- **Show amounts**: plain amounts in and out. The server encrypts them and updates balances.
- **Keep them locked** (default): amounts are `null`, with the stored values in `encrypted`. Decrypt them with
`GET /v1/keys` and your 12-word phrase. To write money, encrypt it yourself and send the new wallet balances in
`walletBalanceUpdates`.
Errors look like `{"error": "message"}`.'
servers:
- url: https://api.rivaire.pro
security:
- apiToken: []
tags:
- name: Recurring series
paths:
/v1/recurring-series:
get:
tags:
- Recurring series
summary: List recurring series
description: All subscriptions, income schedules and installment plans in the workspace, including stopped series.
parameters:
- name: workspaceId
in: query
required: false
description: Workspace to use. Defaults to the workspace of the transaction or wallet in the request, otherwise Main.
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
series:
type: array
items:
$ref: '#/components/schemas/RecurringSeries'
required:
- series
'400':
description: Invalid request. The message says what is wrong.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: The token is missing, invalid or expired.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many requests. Wait and retry.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1RecurringSeries
x-operation-id-source: derived
post:
tags:
- Recurring series
summary: Create a recurring series
description: Supply prices in periods and wallet-currency amounts in payments. Free periods have no payment. Generates plans a year ahead without moving balances. Requires a token that shows amounts. Reuse Idempotency-Key to retry safely.
parameters:
- name: workspaceId
in: query
required: false
description: Workspace to use. Defaults to the workspace of the transaction or wallet in the request, otherwise Main.
schema:
type: string
format: uuid
- name: Idempotency-Key
in: header
required: false
description: A UUID per created item. A retry with the same key returns the original instead of a duplicate.
schema:
type: string
format: uuid
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
kind:
type: string
enum:
- subscription
- income
- installment
description: Subscription, income or installment plan.
name:
type: string
minLength: 1
maxLength: 128
description: Name of the recurring item.
icon:
anyOf:
- type: string
minLength: 1
maxLength: 128
- type: 'null'
description: Icon identifier or emoji; null uses the category or wallet icon.
frequency:
type: string
enum:
- daily
- weekly
- biweekly
- monthly
- quarterly
- yearly
- custom
description: Frequency within each period, anchored to its startDate.
periods:
minItems: 1
maxItems: 100
type: array
items:
type: object
properties:
startDate:
type: string
format: date
description: First payment day, YYYY-MM-DD; recurrence anchors to this day.
endDate:
anyOf:
- type: string
format: date
- type: 'null'
description: Exclusive stop date; null continues indefinitely.
amount:
description: Price in currencyId, up to two decimals. Zero is a free period.
anyOf:
- type: string
- type: number
currencyId:
type: string
pattern: ^[A-Z]{3}$
description: Currency code, e.g. `USD`.
required:
- startDate
- endDate
- amount
- currencyId
description: Price periods, ordered by startDate. Replaces all periods on update.
walletId:
anyOf:
- type: string
format: uuid
- type: 'null'
description: Source wallet (destination for income); null leaves the series unplanned.
categoryId:
anyOf:
- type: string
format: uuid
- type: 'null'
description: Income/expense category; null leaves it unplanned. Transfers use null.
tagIds:
maxItems: 100
type: array
items:
type: string
format: uuid
description: Default tags for generated payments.
payments:
maxItems: 100
type: array
items:
type: object
properties:
periodStartDate:
type: string
format: date
description: startDate of the paid period this template belongs to.
amount:
description: Payment in the source wallet currency; supply a converted value for a foreign price.
anyOf:
- type: string
- type: number
transferToWalletId:
description: Destination wallet, required for transfers.
type: string
format: uuid
transferAmount:
description: Amount received; required for transfers between different currencies.
anyOf:
- type: string
- type: number
note:
description: Default note of generated payments.
type: string
maxLength: 1000
required:
- periodStartDate
- amount
description: One template per non-free period that will be planned, including future periods. None without a wallet and category (transfers need no category).
type:
type: string
enum:
- expense
- income
- transfer
description: Payment type; income kind requires income type.
required:
- kind
- name
- frequency
- periods
- type
responses:
'201':
description: OK
content:
application/json:
schema:
type: object
properties:
series:
$ref: '#/components/schemas/RecurringSeries'
required:
- series
'400':
description: Invalid request. The message says what is wrong.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: The token is missing, invalid or expired.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'Not allowed: a read-only token, a viewer, or plain amounts from a token that keeps them locked.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: 'Conflict: a duplicate name, an item in use, an outdated wallet `version`, or a limit reached.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many requests. Wait and retry.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: postV1RecurringSeries
x-operation-id-source: derived
/v1/recurring-series/{seriesId}:
get:
tags:
- Recurring series
summary: Get a recurring series
parameters:
- name: seriesId
in: path
required: true
schema:
type: string
format: uuid
- name: workspaceId
in: query
required: false
description: Workspace to use. Defaults to the workspace of the transaction or wallet in the request, otherwise Main.
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
series:
$ref: '#/components/schemas/RecurringSeries'
required:
- series
'400':
description: Invalid request. The message says what is wrong.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: The token is missing, invalid or expired.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many requests. Wait and retry.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1RecurringSeriesBySeriesId
x-operation-id-source: derived
patch:
tags:
- Recurring series
summary: Update, stop or resume a recurring series
description: Send only changed fields. New periods, a different wallet, or adding a missing category need replacement payments when the series has a wallet (an empty list for free periods). Other frequency and category changes reuse existing templates. Set isStopped to stop/resume. Pending edits and skips are preserved. Plain prices and payments require a token that shows amounts.
parameters:
- name: seriesId
in: path
required: true
schema:
type: string
format: uuid
- name: workspaceId
in: query
required: false
description: Workspace to use. Defaults to the workspace of the transaction or wallet in the request, otherwise Main.
schema:
type: string
format: uuid
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
kind:
type: string
enum:
- subscription
- income
- installment
description: Subscription, income or installment plan.
name:
type: string
minLength: 1
maxLength: 128
description: Name of the recurring item.
icon:
anyOf:
- type: string
minLength: 1
maxLength: 128
- type: 'null'
description: Icon identifier or emoji; null uses the category or wallet icon.
frequency:
type: string
enum:
- daily
- weekly
- biweekly
- monthly
- quarterly
- yearly
- custom
description: Frequency within each period, anchored to its startDate.
periods:
minItems: 1
maxItems: 100
type: array
items:
type: object
properties:
startDate:
type: string
format: date
description: First payment day, YYYY-MM-DD; recurrence anchors to this day.
endDate:
anyOf:
- type: string
format: date
- type: 'null'
description: Exclusive stop date; null continues indefinitely.
amount:
description: Price in currencyId, up to two decimals. Zero is a free period.
anyOf:
- type: string
- type: number
currencyId:
type: string
pattern: ^[A-Z]{3}$
description: Currency code, e.g. `USD`.
required:
- startDate
- endDate
- amount
- currencyId
description: Price periods, ordered by startDate. Replaces all periods on update.
walletId:
anyOf:
- type: string
format: uuid
- type: 'null'
description: Source wallet (destination for income); null leaves the series unplanned.
categoryId:
anyOf:
- type: string
format: uuid
- type: 'null'
description: Income/expense category; null leaves it unplanned. Transfers use null.
tagIds:
maxItems: 100
type: array
items:
type: string
format: uuid
description: Default tags for generated payments.
payments:
maxItems: 100
type: array
items:
type: object
properties:
periodStartDate:
type: string
format: date
description: startDate of the paid period this template belongs to.
amount:
description: Payment in the source wallet currency; supply a converted value for a foreign price.
anyOf:
- type: string
- type: number
transferToWalletId:
description: Destination wallet, required for transfers.
type: string
format: uuid
transferAmount:
description: Amount received; required for transfers between different currencies.
anyOf:
- type: string
- type: number
note:
description: Default note of generated payments.
type: string
maxLength: 1000
required:
- periodStartDate
- amount
description: One template per non-free period that will be planned, including future periods. None without a wallet and category (transfers need no category).
isStopped:
description: True cancels pending payments; false resumes. Booked and skipped payments stay unchanged.
type: boolean
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
series:
$ref: '#/components/schemas/RecurringSeries'
required:
- series
'400':
description: Invalid request. The message says what is wrong.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: The token is missing, invalid or expired.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'Not allowed: a read-only token, a viewer, or plain amounts from a token that keeps them locked.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: 'Conflict: a duplicate name, an item in use, an outdated wallet `version`, or a limit reached.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many requests. Wait and retry.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: patchV1RecurringSeriesBySeriesId
x-operation-id-source: derived
delete:
tags:
- Recurring series
summary: Delete a recurring series
description: Removes the schedule and its pending payments. Recorded transactions remain.
parameters:
- name: seriesId
in: path
required: true
schema:
type: string
format: uuid
- name: workspaceId
in: query
required: false
description: Workspace to use. Defaults to the workspace of the transaction or wallet in the request, otherwise Main.
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
const: true
required:
- ok
'400':
description: Invalid request. The message says what is wrong.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: The token is missing, invalid or expired.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'Not allowed: a read-only token, a viewer, or plain amounts from a token that keeps them locked.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: 'Conflict: a duplicate name, an item in use, an outdated wallet `version`, or a limit reached.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many requests. Wait and retry.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: deleteV1RecurringSeriesBySeriesId
x-operation-id-source: derived
components:
schemas:
EncryptedMoney:
type: object
properties:
ciphertext:
type: string
minLength: 1
maxLength: 1024
iv:
type: string
minLength: 1
maxLength: 64
algorithm:
type: string
const: AES-GCM
keyVersion:
type: integer
exclusiveMinimum: 0
keyId:
type: string
format: uuid
required:
- ciphertext
- iv
- algorithm
- keyVersion
description: An encrypted value (AES-256-GCM; `ciphertext` and `iv` in base64). Without `keyId` it is under your money key (Main workspace); with it, under that workspace key.
Error:
type: object
properties:
error:
type: string
required:
- error
RecurringSeries:
type: object
properties:
id:
type: string
format: uuid
workspaceId:
type: string
format: uuid
createdBy:
type: string
format: uuid
kind:
type: string
enum:
- subscription
- income
- installment
type:
type: string
enum:
- expense
- income
- transfer
name:
type: string
icon:
anyOf:
- type: string
- type: 'null'
frequency:
type: string
enum:
- daily
- weekly
- biweekly
- monthly
- quarterly
- yearly
- custom
walletId:
anyOf:
- type: string
format: uuid
- type: 'null'
categoryId:
anyOf:
- type: string
format: uuid
- type: 'null'
tagIds:
type: array
items:
type: string
format: uuid
isStopped:
type: boolean
periods:
type: array
items:
type: object
properties:
startDate:
type: string
format: date
endDate:
anyOf:
- type: string
format: date
- type: 'null'
amount:
anyOf:
- type: string
- type: 'null'
description: Decimal price; null when the connection cannot read amounts.
currencyId:
type: string
pattern: ^[A-Z]{3}$
description: Currency code, e.g. `USD`.
encrypted:
type: object
properties:
amount:
$ref: '#/components/schemas/EncryptedMoney'
required:
- amount
required:
- startDate
- endDate
- amount
- currencyId
createdAt:
type: string
format: date-time
required:
- id
- workspaceId
- createdBy
- kind
- type
- name
- icon
- frequency
- walletId
- categoryId
- tagIds
- isStopped
- periods
- createdAt
securitySchemes:
apiToken:
type: http
scheme: bearer
bearerFormat: rvr_...