> ## Documentation Index
> Fetch the complete documentation index at: https://primer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# dismiss

At any point, Universal Checkout can be dismissed.

```kotlin KOTLIN theme={"dark"}
fun dismiss()
```

## Example

```kotlin KOTLIN theme={"dark"}
class CheckoutActivity : AppCompatActivity() {
  // ...

  private fun dismissUniversalCheckout() {
    // 👇 Add this
    Primer.instance.dismiss()
  }
}
```
