# App Links

## Introduction

Zapper App Linking allows your users to pay quickly and easily, by tapping a link and opening the Zapper app on the payment screen, using your merchant and transaction details.

### Creating the app link

#### Example

```http
https://www.zapper.com/payWithZapper?qr=http%3A%2F%2F2.zap.pe%3Ft%3D4%26i%3D1%3A1%3A7%5B34%7C50.00%7C11%2C33%7CORD-001%3A10%5B38%7CMy%20Merchant%20Name%2C39%7CUSD&appNameAcme%20Inc
```

The structure of the app link must be:

<https://www.zapper.com/payWithZapper?qr={**zapperCodeString**}\\&appName={**appName**}\\&successCallbackURL={**callbackURL**}>

| Property                   | Description                                                                                                                                                                    |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **zapperCodeString**       | A **URL encoded** version of your Zapper Code string. i.e. the decoded Zapper QR Code.                                                                                         |
| **appName**                | A **URL encoded** version of the referral application name.                                                                                                                    |
| **callbackURL (optional)** | <p>The URL you would like to be opened once the payment has been completed. </p><p>This scheme of this URL must be either <strong>http</strong> or <strong>https</strong>.</p> |

### Zapper Code String

Retrieve your Zapper Code using the [Invoice API](https://zapper.gitbook.io/integrations/api-1/invoice). Ensure that you **URL encode** the returned value before using it in your App Link.
