View as Markdown

SDK reference · Node SDK

prov.account.setCaptureRouting

prov.account.setCaptureRouting in Node SDK. order and storeListing (Growth and up; 402 plan_required below) and requireTier (any plan).

Signature

prov.account.setCaptureRouting(params: { order?: Array<"company_app" | "provenance_app" | "app_clip" | "store_listing" | "web">; storeListing?: { ios?: "provenance" | "company"; android?: "provenance" | "company" }; requireTier?: "any" | "hardware"; }): Promise<CaptureRoutingSettings>

Parameters

params{ order?: Array<"company_app" | "provenance_app" | "app_clip" | "store_listing" | "web">; storeListing?: { ios?: "provenance" | "company"; android?: "provenance" | "company" }; requireTier?: "any" | "hardware"; }Required

Request fields

orderarray of enums
Growth and up: the destinations that are on, first choice first, no repeats.
store_listingobject
Growth and up: whose listing each platform opens.
Show child attributes
iosenum
The App Store listing. One of provenance, company.
androidenum
The Google Play listing. One of provenance, company.
require_tierenum
Any plan: hardware removes the browser (Require hardware proof). One of any, hardware.

Returns

Promise<CaptureRoutingSettings> The routing setting.

HTTP operation

PUT /v1/attest/settings/capture_routing: Set where capture links open

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/settings/capture_routing`, {
  method: "PUT",
  headers: { Authorization: "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x", "Content-Type": "application/json" },
  body: JSON.stringify({ "require_tier": "any" }),
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.