About this endpoint
What it does
Validates a single QR payment or GS1 payload against the selected standard and returns the validation outcome, parsed fields, and any findings. The request provides the raw payload plus the standard to apply; the response reports whether it is valid and includes structured validation details.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| payload | String | Yes | Complete raw payload to validate, exactly as encoded in the QR symbol or URI. Length: 1 to 10,000 characters. Preserve newlines for EPC/SEPA and Swiss QR-bill payloads; whitespace and case are significant for most schemes. |
| standard | ENUM | Yes | Standard to validate the payload against. Allowed values: gs1-digital-link, epc-sepa, swiss-qr-bill, pix-br-code, upi, emvco-mpm. Only the selected scheme's rules run. |
Response
Returns a JSON object with valid as a boolean, errors and warnings as arrays of validation findings, fields as a structured object with parsed payload data, standard as a string naming the applied standard, normalized as a nullable string for the canonical payload form when available, and specification as a string identifying the public specification and version used for validation.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| valid | Boolean | Yes | True when no blocking validation errors were found. Warnings alone do not set this to false. |
| errors | Object Array | No | Blocking issues that make the payload invalid. Each item contains code and message, with optional field when available. |
| fields | Object | No | Structured fields parsed from the payload. Shape depends on the scheme; additional properties are allowed. |
| standard | String | Yes | Standard that was applied to the payload. |
| warnings | Object Array | No | Non-blocking interoperability or quality findings. The payload can still be valid with warnings present. |
| normalized | String | No | Canonical payload representation when the standard defines one, such as a lower-cased GS1 host and scheme, LF-normalized EPC/Swiss payloads, or a re-encoded UPI query. Null when no canonical form exists. |
| specification | String | Yes | Exact public specification and version used for validation. |