> ## Documentation Index
> Fetch the complete documentation index at: https://808-labs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# HTTP and transport

> Use HTTP/1.1 or HTTP/2 with the same public REST contract.

Transport compatibility
HTTP/1.1 and HTTP/2 use the same endpoints, credentials and JSON bodies. The API stays at /v1/.

## Supported connections

| Connection | Behavior |
| - | - |
| Client → hosted HTTPS API | HTTP/1.1 or HTTP/2, negotiated with the TLS edge |
| Edge → application | An internal hop; it can remain HTTP/1.1 independently |
| Direct local development API | HTTP/1.1 by default; HTTPS/HTTP/2 requires an appropriately configured local edge |

The current Render staging ingress has been checked with both HTTP/1.1 and HTTP/2. This does not activate the planned `sandbox.ignite-checkout.ai` or `api.ignite-checkout.ai` hosts. Use the assigned deployment URL until those hosts have their own DNS, TLS and protocol checks.

Production access and merchant/payment qualification remain separate from transport support. HTTP/2 does not mean `/v2/`, a different signing scheme or a larger API allowance.

## Choose the protocol with cURL

Use your assigned HTTPS base URL and load the scoped server key from your secret manager.

```bash HTTP/1.1 theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl --http1.1 --fail-with-body "$IGNITE_API_BASE_URL/v1/me" \
  -H "Authorization: Bearer $IGNITE_API_KEY" \
  --write-out '\nNegotiated HTTP version: %{http_version}\n'
```

```bash HTTP/2 theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl --http2 --fail-with-body "$IGNITE_API_BASE_URL/v1/me" \
  -H "Authorization: Bearer $IGNITE_API_KEY" \
  --write-out '\nNegotiated HTTP version: %{http_version}\n'
```

Your cURL build must include HTTP/2 support (`curl --version`). `--http2` negotiates support and can fall back; inspect the reported version instead of assuming the flag proves HTTP/2. Do not disable certificate validation or send keys to an unconfirmed host.

## Request examples

Every endpoint includes an HTTP/1.1 request scaffold and a logical HTTP/2 header equivalent alongside the generated language examples. HTTP/2 uses binary frames and pseudo-headers such as `:method`, `:authority` and `:path`; the displayed header block illustrates their meaning and is not a raw wire-format message to paste into a socket.

Use lower-case HTTP/2 field names. Do not add HTTP/1.1 connection-specific headers such as `Connection`, `Keep-Alive`, `Transfer-Encoding` or `Upgrade` to an HTTP/2 request. Let your HTTP client handle framing, compression and connection negotiation.

Language snippets use the generated library's default transport. They do not claim that each library or Ignyt's Python SDK enables HTTP/2 automatically. Use your client's documented HTTP/2 configuration if needed; HTTP/1.1 remains a supported option.

## Retries and usage stay the same

A multiplexed connection can carry many independent requests. Each billable integration/shopper request still counts once, regardless of its connection or HTTP version. HTTP/2 does not bypass plan features, key scopes, rate limits or merchant readiness.

A stream reset or lost connection can leave a write's result unknown. Preserve the original idempotency key and body where supported, and reconcile the original operation before retrying. Never create a second payment because a transport connection failed.

## Continue building

> [card] [Retry safely](https://808-labs.mintlify.site/errors-and-retries.md)
>
> Distinguish connection failures from business outcomes.

> [card] [Control request volume](https://808-labs.mintlify.site/pagination-and-limits.md)
>
> Use bounded pages, checkpoints and backoff.


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