# 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

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

## Parameters

- `params` (AuthorizeParams & { approval: ApprovalParams })
- `opts` ({ pollMs?: number; timeoutMs?: number } & IntentCallOptions, optional)

## Returns

`Promise<StepUpAuthorization>`

Runs locally, with no request to the API.
