Zamok Kiosk API
    Preparing search index...
    authorize: PayloadAC<"oauth/AUTHORIZE", AuthorizationCode> = ...

    Dispatch to exchange an authorization code in the OAuth flow.

    {
    type: "oauth/AUTHORIZE",
    payload: {
    code: "authorization-code",
    clientId: "client-id",
    redirectUri: "https://kiosk.example.com/oauth/callback",
    scope: "payments",
    state: "request-state",
    expiresAt: 1787662800000,
    userId: "user-id"
    }
    }