> ## 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.

# showUniversalCheckout

Show Primer's Drop-In Checkout.

The simplest way to integrate with Primer. With just a few lines of code, you can display a fully in-context checkout UI with all your payment methods.

Note that there are more options which you can set by passing your SDK settings in the [configure](/sdk/android/v2.x.x/primer/methods/configure) function.

```kotlin KOTLIN theme={"dark"}
fun showUniversalCheckout(context: Context, clientToken: String)
```

## Parameters

<Expandable defaultOpen title="Parameters">
  <ResponseField name="context" type="Context" required>
    Android [Context](https://developer.android.com/reference/android/content/Context.html) of your `Activity` or `Fragment`.
  </ResponseField>

  <ResponseField name="clientToken" type="String" required>
    A client token as returned by the [create client session](/checkout/client-session#create-a-client-session) call.
  </ResponseField>
</Expandable>

## Example

Availing Universal Checkout is as easy as implementing one line of code:

```kotlin KOTLIN theme={"dark"}

class CheckoutActivity : AppCompatActivity() {

	// ...

	private fun showUniversalCheckout(clientToken: String) {
        // 👇 Add this
        Primer.instance.showUniversalCheckout(context, clientToken)
    }
}
```
