SDK reference · Node SDK
prov.authorize.discovery
prov.authorize.discovery in the Node SDK: 3 methods. The authorize.discovery methods.
Methods
lookup
prov.authorize.discovery.lookup(origin: string): Promise<ProvenanceProfile>The signed profile for an origin or host (https://shop.example, shop.example).
Calls GET /v1/public/businesses/lookup.
profile
prov.authorize.discovery.profile(business: string): Promise<ProvenanceProfile>The signed profile by business id (biz_…), origin or host.
Calls GET /v1/public/businesses/{business}/profile.
search
prov.authorize.discovery.search(params?: BusinessSearchParams): Promise<ListResponse<DirectoryBusiness>>Directory results, ordered by name (never ranked), with each selling agent's two-fact record.
Calls GET /v1/public/businesses/search.