# code

QR code by ID. Returns null when the code is not found.

```
code(

  id: ID!

): Code
```

### Arguments[​](#arguments "Direct link to Arguments")

#### [`code.id`](#id) ● [`ID!`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) non-null scalar[​](#id "Direct link to id")

### Type[​](#type "Direct link to Type")

#### [`Code`](https://docs.monei.com/apis/graphql/types/objects/code/.md) object[​](#code- "Direct link to code-")

Permanent QR code that routes a customer to a Point of Sale checkout. Render the image via `https://secure.monei.com/codes/{id}/qr?format=png|svg&size=100..1000` (defaults: `png`, `500`).
