View as Markdown

SDK reference · Node SDK

prov.mandate.intents.createWithApproval

prov.mandate.intents.createWithApproval in Node SDK. Authorize a checkout step-up and poll until the person decides, the store's challenge runs out, or timeoutMs (default 120 s) elapses.

Signature

prov.mandate.intents.createWithApproval(params: AuthorizeParams & { approval: ApprovalParams }, opts?: { pollMs?: number; timeoutMs?: number } & IntentCallOptions): Promise<StepUpAuthorization>

Parameters

paramsAuthorizeParams & { approval: ApprovalParams }Required
opts{ pollMs?: number; timeoutMs?: number } & IntentCallOptions

Returns

Promise<StepUpAuthorization>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.