An API version is a stable contract between your integration and Payvala. It defines how requests must be structured, how responses are shaped, which validation rules are enforced, and how each resource behaves. As long as your integration stays on a given version, that contract does not change in ways that would break your code.
Versioning exists because payment integrations are long-lived and operationally sensitive. A change to a field type, a new required parameter, or a stricter validation rule can cause failed payments, broken reconciliation, or rejected webhooks in production. Versions let Payvala evolve the platform while you decide when to adopt changes that affect your integration.
Each version covers the following parts of the contract:
Request formats
Endpoint paths, HTTP methods, required and optional parameters, and accepted data types.
Response structures
Field names, field types, nesting, and the shape of lists, errors, and pagination.
Validation rules
Accepted value ranges, formats, and the error codes returned for invalid input.
API behavior
Resource state transitions, idempotency semantics, and the side effects of each operation.