> For the complete documentation index, see [llms.txt](https://docs.namiml.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.namiml.com/sdk-reference/namipaywallmanager/dismiss.md).

# dismiss

Close a paywall if it is open

Use to close a Nami paywall programmatically if desired.

{% tabs %}
{% tab title="Swift" %}

```swift
NamiPaywallManager.dismiss(animated: Bool, completion: (Void)->Void)
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
```

{% endtab %}

{% tab title="Flutter" %}

```Text
// coming soon
```

{% endtab %}

{% tab title="React Native" %}

```c
// coming soon
```

{% endtab %}

{% tab title="Unity" %}

```c
NamiPaywallManager.Dismiss();
```

{% endtab %}
{% endtabs %}

**Parameters**

* `animated`: Will animate the closing of the paywall if true.
* `completion`: Code to execute after paywall closure is fully complete.
