POST

Check Eligibility By Credential


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Checks whether the holder of a presented credential would be granted entry at an entrance, into the area it belongs to, without recording anything or redeeming anything.

This is Check Eligibility in the Arrivals Service with the person identified by what they present instead of by contactId: the token is resolved to its credential and holder, then the same evaluation runs. A scanner app uses it to show a client their standing without admitting them: their benefits for this area and their scheduled events, each with its own issue, the forms they are missing, and the status a scan would get. It takes the same entranceId as Create Arrival By Credential, so a scanner checks and records at the one position it holds. The response has the same fields Check Eligibility returns, always against the area's own entry window, so that it predicts the Create Arrival that follows the scan. A token that does not resolve to a live credential fails with BAD_SIGNATURE or TOKEN_REVOKED, and an entranceId that names no entrance with ENTRANCE_NOT_FOUND; when Pricing Plans or Contacts can't be reached the call does not fail and reports the outage in eligibilityDetails.issues, as Check Eligibility does. To record the entry, call Create Arrival By Credential.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permission Scopes
SCOPE.ARRIVALS.ADMIT
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/arrivals/v1/arrivals/check-eligibility-by-credential

Errors
400Invalid Argument

There is 1 error with this status code.

404Not Found

There is 1 error with this status code.

428Failed Precondition

There are 2 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?