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

# Checkout Overview

> Accept credit card payments on your website in minutes with Ozura Checkout

Ozura Checkout is a hosted, PCI-compliant payment page. Your server creates a session, the customer pays on our secure page, and we redirect them back to your site. You never touch credit card data.

## There Are 2 Ways to Integrate

> [card] [Hosted Page (Redirect)](https://docs.ozura.com/guides/payments/checkout/quickstart.md)
>
> Your server creates a session. Customer is sent to our checkout page to pay, then redirected back. **Simplest integration — start here.**

> [card] [Popup / New Tab](https://docs.ozura.com/guides/payments/checkout/integration-modes.md)
>
> Same flow, but the checkout opens in a popup or new tab, so your page stays open and gets the result.

***

## How It Works

```mermaid theme={null}
flowchart LR
  A["1. CREATE\nYour server calls\nour API to create\na session"] --> B["2. REDIRECT\nCustomer goes to\nour secure checkout\npage and pays"]
  B --> C["3. DONE\nCustomer is sent\nback to your site\nwith payment result"]
```

***

## What You'll Need

Before you start, gather these credentials:

| Credential | Where to Find | What It's For |
| :- | :- | :- |
| **Vault API Key** | Developers → Vault Key | Put in `X-API-KEY` header (authenticates with secure card storage) |
| **Merchant API Key** | Developers → API Keys | Put in `X-OZURA-API-KEY` header (identifies your account) |
| **Merchant ID** | Developers → Identity | Put in request body as `merchantId` |

> [!NOTE]
>
> **Don't have your Vault API Key?** Find it under Developers → Vault Key. **Don't have an Ozura account?** Contact the Ozura sales team to get started.

> [!NOTE]
>
> **Coming from OzElements?** If you've been using [OzElements](https://docs.ozura.com/sdks/elements/overview.md) to tokenize cards directly and are wondering what to do with your Vault Pub Key (`X-Pub-Key`) — you don't need to worry about it here. Checkout handles tokenization and pub key authentication internally. You only need the three credentials listed above.

> [!NOTE]
>
> **Checkout users never need a Vault Pub Key.** Checkout handles pub key authentication server-side for both production and test vault keys. (Pub key requirements only matter when integrating Elements directly — see the [Elements Installation](https://docs.ozura.com/sdks/elements/installation.md) guide.)

***

## Capabilities

| Feature | Description |
| :- | :- |
| **Simple Payments** | Charge a flat amount (e.g., `$25.00`) |
| **Itemized Cart** | Show product images, quantities, and discounts |
| **Donation Mode** | Preset amount buttons with optional custom input |
| **Recurring Mode** | Subscriptions and memberships — customer pays once, billing continues automatically |
| **Sales Tax** | Calculated from the customer's billing address in the US and over 80 other countries (VAT, GST or sales tax); the exact tax is shown in the order summary before they pay. See [Sales tax in the order summary](https://docs.ozura.com/guides/payments/checkout/create-session.md#sales-tax-in-the-order-summary) |
| **Surcharge** | Add a configurable credit card surcharge (up to 3%) displayed as a line item. On hosted payment sessions it's applied by the processor's payment page instead; see [Surcharge](https://docs.ozura.com/guides/payments/checkout/recurring-mode.md#surcharge) |
| **Payment Links** | Shareable URLs for email, social media, or invoices |
| **Display Modes** | Redirect, popup, or new tab |
| **Custom Branding** | Match the hosted page to your brand (colors, logo, typography); see [Customize Appearance](https://docs.ozura.com/guides/payments/checkout/appearance.md) |
| **Theme Preview** | Embed a live checkout preview in your dashboard to test appearance changes without a real session |
| **Multi-Currency** | Accept payments in USD, EUR, GBP, CAD, and more |

***

## I Want To...

| Question | Answer |
| :- | :- |
| Accept my first payment quickly | [Quickstart](https://docs.ozura.com/guides/payments/checkout/quickstart.md) |
| Understand all session creation options | [Create a Session](https://docs.ozura.com/guides/payments/checkout/create-session.md) |
| Choose redirect, popup, or new tab | [Integration Modes](https://docs.ozura.com/guides/payments/checkout/integration-modes.md) |
| Handle success, errors, and cancellations | [Handle the Result](https://docs.ozura.com/guides/payments/checkout/handle-result.md) |
| Create shareable payment URLs | [Payment Links](https://docs.ozura.com/guides/payments/checkout/payment-links.md) |
| Accept donations | [Donation Mode](https://docs.ozura.com/guides/payments/checkout/donation-mode.md) |
| Set up subscriptions and recurring billing | [Recurring Mode](https://docs.ozura.com/guides/payments/checkout/recurring-mode.md) |
| Add a credit card surcharge | [Recurring Mode → Surcharge Reference](https://docs.ozura.com/guides/payments/checkout/recurring-mode.md#surcharge-reference) |
| Preview appearance without a real session | [Theme Preview](https://docs.ozura.com/guides/payments/checkout/preview.md) |
| Match checkout to my brand | [Customize Appearance](https://docs.ozura.com/guides/payments/checkout/appearance.md) |
| See supported currencies | [Currencies](https://docs.ozura.com/guides/payments/checkout/currencies.md) |
| Test before going live | [Testing Guide](https://docs.ozura.com/guides/payments/checkout/testing-guide.md) |
| Keep my integration secure | [Security Best Practices](https://docs.ozura.com/guides/payments/checkout/security.md) |
| See the full endpoint reference | [API Reference](https://docs.ozura.com/guides/payments/checkout/api-reference.md) |
| Fix an error | [Troubleshooting](https://docs.ozura.com/guides/payments/checkout/troubleshooting.md) |
| Understand error codes and retry logic | [Error Handling](https://docs.ozura.com/guides/payments/checkout/error-handling.md) |

***

## Quick Reference

> [card] [Quickstart](https://docs.ozura.com/guides/payments/checkout/quickstart.md)
>
> Accept your first payment in 5 minutes

> [card] [Create a Session](https://docs.ozura.com/guides/payments/checkout/create-session.md)
>
> Full guide to session creation and all options

> [card] [API Reference](https://docs.ozura.com/guides/payments/checkout/api-reference.md)
>
> Complete endpoint reference

> [card] [Testing Guide](https://docs.ozura.com/guides/payments/checkout/testing-guide.md)
>
> Test your integration before going live


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.