Skip to content

Keycard Validation

Validate keycard

This endpoint provides functionality to check if the customer's keycard is valid before operating with it.

Supported keycards

Keycard which can be validated with this endpoint are next: - swisspass

How to validate keycard

To do that, it's required to provide keycardNumber and type. For some keycards there might be additional properties.

Here is a sample of successful swisspass keycard validation which requires additionalProperty.postalCode.

    "type": "swisspass",
            "value": "6600"
    "isValid": true,
    "validationMessages": []