# getInstallUrl

> **getInstallUrl**(`__namedParameters?`): `Promise`\<`string` \| `undefined`\>

Defined in: actions/getInstallUrl.ts:18

Build the wallet install URL (`/i`) for a merchant, carrying this page's own
credential so the install is attributed back to it. UUIDs travel as 22-char
compact ids; the proof rides in the fragment (`#p=`), never the query. `a=` is
dropped only when a proof is attached (the wallet hashes the id from its public
key); a proofless link keeps it, since the Play Store referrer is built from it.

## Parameters

### \_\_namedParameters?

#### checkoutToken?

`string`

#### merchantId?

`string`

## Returns

`Promise`\<`string` \| `undefined`\>

The install URL, or `undefined` when no merchant id resolves