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

# Show Purchase Context on Checkout

> Show a short purchase description on Cashfree checkout so customers can confirm what they are paying for before they complete the payment.

Checkout displays the merchant name, payment amount, and available payment methods. Use Contextual Checkout to add a short purchase description so customers can confirm what they are paying for before they complete the payment.

<Note>
  Contextual Checkout is available on request. Contact your Cashfree account manager or submit the [Support Form](https://merchant.cashfree.com/merchants/landing?env=prod\&raise_issue=1) to enable it on your account.
</Note>

If you pass a valid `checkout_context` value, checkout displays a context card above the payment methods. If the key is missing, the value is invalid, or Contextual Checkout is not enabled for your account, checkout does not display the context card.

The following tabs show checkout scenarios with and without a context card:

<Tabs>
  <Tab title="With context card">
    <Frame caption="Context card on checkout, above offers and payment methods">
      <img src="https://mintcdn.com/cashfreepayments-d00050e9/NOV-Jqj8fuwH8MuV/static/payments/online/web/checkout-context-card.jpg?fit=max&auto=format&n=NOV-Jqj8fuwH8MuV&q=85&s=e6e701da53d40d66d817dd18998c4c80" alt="Cashfree checkout for BookYourFlight showing a context card with Flight booking DEL to BOM, 12 JUN at 14:30 above Offers and Coupons" width="280" data-path="static/payments/online/web/checkout-context-card.jpg" />
    </Frame>
  </Tab>

  <Tab title="Without context card">
    <Frame caption="Default checkout when checkout_context is not sent">
      <img src="https://mintcdn.com/cashfreepayments-d00050e9/NOV-Jqj8fuwH8MuV/static/payments/online/web/checkout-without-context-card.jpg?fit=max&auto=format&n=NOV-Jqj8fuwH8MuV&q=85&s=63da2bfc39d8bae9d06dc4ed190bbfcf" alt="Cashfree checkout for BookYourFlight showing merchant name, amount, and payment methods without a context card" width="280" data-path="static/payments/online/web/checkout-without-context-card.jpg" />
    </Frame>
  </Tab>
</Tabs>

## Add checkout context

Pass a `checkout_context` key in the existing `order_tags` object when you call the [Create Order API](/docs/api-reference/payments/latest/orders/create). This requires no new endpoint, SDK upgrade, or extra integration step.

You control the text shown in the context card. Use it for a route, booking reference, invoice number, or any other short description the customer can recognise.

<Note>
  **Context card rule**: If `checkout_context` is invalid, checkout ignores the value and does not display the context card.
</Note>

```json theme={"dark"}
{
  "order_amount": 9300.00,
  "order_currency": "INR",
  "customer_details": {
    "customer_id": "<CUSTOMER_ID>",
    "customer_phone": "<CUSTOMER_PHONE>"
  },
  "order_tags": {
    "checkout_context": "Flight booking DEL to BOM, 12 JUN at 14:30"
  }
}
```

<div class="hidden" data-table-of-contents="bottom">
  <p class="mt-4 font-medium flex items-center gap-2 related-docs-heading">
    <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="w-4 h-4">
      <path d="M3 4h7a2 2 0 0 1 2 2v13a2 2 0 0 0-2-2H3z" />

      <path d="M21 4h-7a2 2 0 0 0-2 2v13a2 2 0 0 1 2-2h7z" />
    </svg>

    <span>Related topics</span>
  </p>

  <ul>
    <li><a href="/docs/docs/api-reference/payments/latest/orders/create">Create Order API</a></li>
    <li><a href="/docs/docs/payments/online/web/redirect">Hosted checkout Web Integration</a></li>
    <li><a href="/docs/docs/payments/online/mobile/android">Hosted checkout Android Integration</a></li>
  </ul>
</div>
