Rivaire Account API

The Account API from Rivaire — 3 operation(s) for account.

GitHub OpenAPI

Operations 3

GET /v1/me Get the current user #
GET /v1/keys Get encryption keys #
GET /v1/currencies List currencies #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rivaire-pro:rivaire-pro-account-api"
All apis
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.

Get an API 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 Specification

rivaire-pro-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rivaire Account 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: Account
paths:
  /v1/me:
    get:
      tags:
      - Account
      summary: Get the current user
      description: The user, their Main workspace, and the token making the request.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  user:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      username:
                        type: string
                      mainCurrencyId:
                        anyOf:
                        - type: string
                        - type: 'null'
                    required:
                    - id
                    - username
                    - mainCurrencyId
                  mainWorkspaceId:
                    type: string
                    format: uuid
                  apiToken:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      name:
                        anyOf:
                        - type: string
                        - type: 'null'
                      hint:
                        type: string
                        description: Start and end of the token, e.g. `rvr_Ab3d...Xy9Z`.
                      access:
                        type: string
                        enum:
                        - read
                        - write
                      canDecrypt:
                        type: boolean
                        description: Whether the token shows amounts.
                      expiresAt:
                        anyOf:
                        - type: string
                          format: date-time
                        - type: 'null'
                    required:
                    - id
                    - name
                    - hint
                    - access
                    - canDecrypt
                    - expiresAt
                required:
                - user
                - mainWorkspaceId
                - apiToken
        '401':
          description: The token is missing, invalid or expired.
          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: getV1Me
      x-operation-id-source: derived
  /v1/keys:
    get:
      tags:
      - Account
      summary: Get encryption keys
      description: For tokens that keep amounts locked. Unlock `wrappedMoneyKey` with your 12-word phrase, then use the money key to unwrap `workspaceKeys`. The server can't open these keys.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  keys:
                    $ref: '#/components/schemas/AccountKeys'
                required:
                - keys
        '401':
          description: The token is missing, invalid or expired.
          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: getV1Keys
      x-operation-id-source: derived
  /v1/currencies:
    get:
      tags:
      - Account
      summary: List currencies
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  currencies:
                    type: array
                    items:
                      $ref: '#/components/schemas/Currency'
                required:
                - currencies
        '401':
          description: The token is missing, invalid or expired.
          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: getV1Currencies
      x-operation-id-source: derived
components:
  schemas:
    Currency:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        symbol:
          type: string
      required:
      - id
      - name
      - symbol
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
    AccountKeys:
      type: object
      properties:
        moneyKdfSalt:
          type: string
          minLength: 1
          maxLength: 128
        wrappedMoneyKey:
          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
        moneyEncryptionCheck:
          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
        moneyKeyVersion:
          type: integer
          exclusiveMinimum: 0
        mainWorkspaceId:
          type: string
          format: uuid
        publicKey:
          anyOf:
          - type: string
            minLength: 1
            maxLength: 256
          - type: 'null'
        encryptedPrivateKey:
          anyOf:
          - 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
          - type: 'null'
        workspaceKeys:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              workspaceId:
                type: string
                format: uuid
              generation:
                type: integer
                exclusiveMinimum: 0
              wrappedKey:
                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
            required:
            - id
            - workspaceId
            - generation
            - wrappedKey
        pendingWorkspaceKeys:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              workspaceId:
                type: string
                format: uuid
              generation:
                type: integer
                exclusiveMinimum: 0
              sealedKey:
                type: object
                properties:
                  algorithm:
                    type: string
                    const: ECDH-P256+HKDF-SHA256+AES-GCM
                  ephemeralPublicKey:
                    type: string
                    minLength: 1
                    maxLength: 256
                  iv:
                    type: string
                    minLength: 1
                    maxLength: 64
                  ciphertext:
                    type: string
                    minLength: 1
                    maxLength: 1024
                required:
                - algorithm
                - ephemeralPublicKey
                - iv
                - ciphertext
            required:
            - id
            - workspaceId
            - generation
            - sealedKey
      required:
      - moneyKdfSalt
      - wrappedMoneyKey
      - moneyEncryptionCheck
      - moneyKeyVersion
      - mainWorkspaceId
      - publicKey
      - encryptedPrivateKey
      - workspaceKeys
      - pendingWorkspaceKeys
      description: Your encryption keys, wrapped. Your 12-word phrase unlocks the money key, which unlocks the workspace keys and your private key.
  securitySchemes:
    apiToken:
      type: http
      scheme: bearer
      bearerFormat: rvr_...