Nuvei · API Governance Rules

Nuvei API Rules

Spectral linting rules defining API design standards and conventions for Nuvei.

6 Rules error 2 warn 3 info 1
View Rules File View on GitHub

Rule Categories

nuvei

Rules

warn
nuvei-operation-id-camelCase
Operation IDs in Nuvei specs use camelCase mirroring the .do endpoint name.
$.paths.*.*.operationId
warn
nuvei-paths-do-suffix
Nuvei REST paths end with .do.
$.paths
error
nuvei-tag-required
Every operation must declare a tag.
$.paths.*.*
warn
nuvei-summary-title-case
Operation summaries use Title Case.
$.paths.*.*.summary
error
nuvei-server-https
All servers must use HTTPS.
$.servers[*].url
info
nuvei-checksum-required
Request bodies should reference a checksum-bearing schema.
$.paths.*.post.requestBody.content.application/json.schema

Spectral Ruleset

Raw ↑
extends: [[spectral:oas, all]]
functions: []
rules:
  nuvei-operation-id-camelCase:
    description: Operation IDs in Nuvei specs use camelCase mirroring the .do endpoint name.
    severity: warn
    given: $.paths.*.*.operationId
    then:
      function: pattern
      functionOptions:
        match: "^[a-z][a-zA-Z0-9]+$"
  nuvei-paths-do-suffix:
    description: Nuvei REST paths end with .do.
    severity: warn
    given: $.paths
    then:
      field: "@key"
      function: pattern
      functionOptions:
        match: ".*\\.do$"
  nuvei-tag-required:
    description: Every operation must declare a tag.
    severity: error
    given: $.paths.*.*
    then:
      field: tags
      function: truthy
  nuvei-summary-title-case:
    description: Operation summaries use Title Case.
    severity: warn
    given: $.paths.*.*.summary
    then:
      function: pattern
      functionOptions:
        match: "^(?:[A-Z0-9][A-Za-z0-9]*)(?: (?:[A-Z0-9][A-Za-z0-9]*|[a-z]{1,3}))*$"
  nuvei-server-https:
    description: All servers must use HTTPS.
    severity: error
    given: $.servers[*].url
    then:
      function: pattern
      functionOptions:
        match: "^https://"
  nuvei-checksum-required:
    description: Request bodies should reference a checksum-bearing schema.
    severity: info
    given: $.paths.*.post.requestBody.content.application/json.schema
    then:
      function: truthy

Work with this as data

Every ruleset 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 spectral rules

4 MCP tools reach this
  • find_rulesBrowse and filter every ruleset in the catalog.
  • 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 ruleset
curl "https://apis.io/api/v1/rules/nuvei-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.