# publicVerify

publicVerify in @provenanceauth/rails/checkout, Rails. An `onlineStatus` callback for the free, keyless `POST /v1/verify`.

## Signature

```ts
publicVerify(baseUrl: string, opts?: { surface?: "page" | "embed" | "checkout" | "api"; fetch?: typeof fetch }): OnlineStatus
```

## Parameters

- `baseUrl` (string)
- `opts` ({ surface?: "page" | "embed" | "checkout" | "api"; fetch?: typeof fetch }, optional)

## Returns

`OnlineStatus`

Runs locally, with no request to the API.
