Nusii Api::V2::Taxation API

The Api::V2::Taxation API from Nusii — 2 operation(s) for api::v2::taxation.

GitHub OpenAPI

Operations 4

GET /api/v2/proposals/{proposal_id}/taxations index #
POST /api/v2/proposals/{proposal_id}/taxations create #
DELETE /api/v2/proposals/{proposal_id}/taxations/{id} destroy #
PUT /api/v2/proposals/{proposal_id}/taxations/{id} update #

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/nusii-com:nusii-com-api-v2-taxation-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

nusii-com-api-v2-taxation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nusii API v2 Api::V2::Taxation API
  version: '2.0'
  description: 'The Nusii proposal API. Authenticate with an API key (`Authorization: Token token=YOUR_API_KEY`) or an OAuth 2.0 bearer token. Narrative documentation lives at https://developer.nusii.com.'
servers:
- url: https://app.nusii.com
security:
- TokenAuth: []
- OAuthBearer: []
tags:
- name: Api::V2::Taxation
paths:
  /api/v2/proposals/{proposal_id}/taxations:
    get:
      summary: index
      tags:
      - Api::V2::Taxation
      parameters:
      - name: proposal_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: returns http success
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        type:
                          type: string
                        attributes:
                          type: object
                          properties:
                            name:
                              type: string
                            percentage:
                              type: string
                            created_at:
                              type: string
                            updated_at:
                              type: string
                          required:
                          - name
                          - percentage
                          - created_at
                          - updated_at
                      required:
                      - id
                      - type
                      - attributes
                required:
                - data
      operationId: getApiV2ProposalsByProposalIdTaxations
      x-operation-id-source: derived
    post:
      summary: create
      tags:
      - Api::V2::Taxation
      parameters:
      - name: proposal_id
        in: path
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                percentage:
                  type: string
                name:
                  type: string
              required:
              - percentage
              - name
      responses:
        '200':
          description: returns http success
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      type:
                        type: string
                      attributes:
                        type: object
                        properties:
                          name:
                            type: string
                          percentage:
                            type: string
                          created_at:
                            type: string
                          updated_at:
                            type: string
                        required:
                        - name
                        - percentage
                        - created_at
                        - updated_at
                    required:
                    - id
                    - type
                    - attributes
                required:
                - data
        '422':
          description: refuses to add a tax
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        source:
                          type: object
                          properties:
                            pointer:
                              type: string
                          required:
                          - pointer
                        detail:
                          type: string
                      required:
                      - source
                      - detail
                  error:
                    type: string
                  message:
                    type: string
      operationId: postApiV2ProposalsByProposalIdTaxations
      x-operation-id-source: derived
  /api/v2/proposals/{proposal_id}/taxations/{id}:
    delete:
      summary: destroy
      tags:
      - Api::V2::Taxation
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      - name: proposal_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: returns http success
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      type:
                        type: string
                      attributes:
                        type: object
                        properties:
                          name:
                            type: string
                          percentage:
                            type: string
                          created_at:
                            type: string
                          updated_at:
                            type: string
                        required:
                        - name
                        - percentage
                        - created_at
                        - updated_at
                    required:
                    - id
                    - type
                    - attributes
                required:
                - data
        '422':
          description: refuses to remove a tax
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                - error
                - message
      operationId: deleteApiV2ProposalsByProposalIdTaxationsById
      x-operation-id-source: derived
    put:
      summary: update
      tags:
      - Api::V2::Taxation
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      - name: proposal_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: returns http success
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      type:
                        type: string
                      attributes:
                        type: object
                        properties:
                          name:
                            type: string
                          percentage:
                            type: string
                          created_at:
                            type: string
                          updated_at:
                            type: string
                        required:
                        - name
                        - percentage
                        - created_at
                        - updated_at
                    required:
                    - id
                    - type
                    - attributes
                required:
                - data
        '422':
          description: refuses to change a tax
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        source:
                          type: object
                          properties:
                            pointer:
                              type: string
                          required:
                          - pointer
                        detail:
                          type: string
                      required:
                      - source
                      - detail
                  error:
                    type: string
                  message:
                    type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                percentage:
                  type: string
                name:
                  type: string
              required:
              - percentage
              - name
      operationId: putApiV2ProposalsByProposalIdTaxationsById
      x-operation-id-source: derived
components:
  securitySchemes:
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'API key authentication: `Authorization: Token token=YOUR_API_KEY`'
    OAuthBearer:
      type: http
      scheme: bearer
      description: OAuth 2.0 access token