Payments Scheme

Introduction to JSON Schema

Overview of the Swift Payment Rules service and JSON Schema basics.

What is a JSON Schema?

JSON Schema is a declarative language that allows you to annotate and validate JSON documents. It provides a structured format to describe your existing data formats in a clear, human- and machine-readable documentation.

For the Swift Payment Rules service, JSON Schema acts as the single source of truth for payment validation requirements.

With these schemas, you can:

  • Describe the exact payload structure required for a specific corridor.
  • Provide clear, machine-readable validation rules like regex patterns and character limits.
  • Generate UI forms dynamically in your web or mobile applications.
  • Perform automated tests against incoming JSON payloads.

Why use our API?

By downloading the JSON Schemas from our API, you eliminate the need to hardcode regional rules and validations into your application logic. Every time Swift introduces a new requirement or a new payment corridor, your backend and frontend will dynamically adjust based on the updated schema configurations.

On this page