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

# Auth Endpoints

> Issue session tokens for checkout flows

Auth endpoints are **API Key exclusive**. Use these endpoints to issue session tokens that allow customers to interact with your store's checkout flow.

## Typical Flow: Embedded Checkout

```mermaid theme={"system"}
sequenceDiagram
    participant C as Customer Browser
    participant S as Your Server
    participant W as Waffo Pancake API

    C->>S: Click "Buy Now"
    S->>W: POST /issue-session-token
    Note over S,W: API Key signature
    W->>S: { token, expiresAt }

    S->>C: Return token + checkout URL

    C->>W: POST /create-order
    Note over C,W: Bearer sessionToken
    W->>C: { checkoutUrl }

    C->>C: Redirect to checkout page
```

## Endpoints

<CardGroup cols={1}>
  <Card title="Issue Session Token" icon="key" href="/api-reference/endpoints/auth/issue-session-token">
    Issue a session token for a customer to create orders in your store.
  </Card>
</CardGroup>
