Visa Acceptance · API Governance Rules
Visa Acceptance API Rules
Spectral linting rules defining API design standards and conventions for Visa Acceptance.
8 Rules
error 3
warn 4
info 1
Rule Categories
visa
Rules
warn
visa-acceptance-operation-id-case
Operation IDs must use camelCase consistent with Visa Acceptance SDK conventions
$.paths[*][*].operationId
error
visa-acceptance-tags-required
All operations must have tags
$.paths[*][*]
warn
visa-acceptance-amount-as-string
Visa Acceptance represents monetary amounts as decimal strings to avoid floating-point precision issues
$.components.schemas[*].properties.totalAmount
warn
visa-acceptance-payment-id-in-path
Payment-related follow-on operations should use paymentId path parameter
$.paths['/pts/v2/payments/{paymentId}/captures','/pts/v2/payments/{paymentId}/refunds','/pts/v2/payments/{paymentId}/voids']
error
visa-acceptance-https-only
All server URLs must use HTTPS for payment security
$.servers[*].url
error
visa-acceptance-security-defined
All payment operations must require authentication
$.paths[*][post,get,patch,delete]
warn
visa-acceptance-response-codes
Payment endpoints should define error responses
$.paths['/pts/v2/payments'][post]
info
visa-acceptance-currency-iso4217
Currency fields should use ISO 4217 format
$.components.schemas[*].properties.currency
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/visa-acceptance-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.