western-union · API Governance Rules
western-union API Rules
Spectral linting rules defining API design standards and conventions for western-union.
8 Rules
error 1
warn 6
info 1
Rule Categories
wu
Rules
warn
wu-operation-id-camel-case
Operation IDs must use camelCase.
$.paths.*.*.operationId
warn
wu-client-id-in-path
All customer-specific paths must include the {clientId} path parameter to scope operations to a specific WU partner account.
$.paths[?(@.startsWith('/customers'))][*]~
warn
wu-response-200-content-type
Successful responses must return application/json.
$.paths.*.*.responses.200.content
warn
wu-tags-defined
Each operation must include at least one tag.
$.paths.*.*.tags
warn
wu-description-required
Each operation must have a description.
$.paths.*.*.description
error
wu-no-trailing-slash
API paths must not have trailing slashes.
$.paths[*]~
info
wu-amount-in-minor-units
Payment amount fields should be described as minor units (e.g., cents) in their schema description.
$.components.schemas.PaymentRequest.properties.amount.description
warn
wu-mtls-security
All operations must use mutualTLS authentication.
$.paths.*.*.security
Spectral Ruleset
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.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/western-union-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.