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 }Requiredopts{ pollMs?: number; timeoutMs?: number } & IntentCallOptions
Returns
Promise<StepUpAuthorization>
HTTP operation
Runs locally, with no request to the API.