---
title: "Process checkout session detail after payment"
method: GET
path: "/api/{org_id}/billings/checkout_session_detail"
tags: ["Billings"]
---

# Process checkout session detail after payment

`GET /api/{org_id}/billings/checkout_session_detail`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/billings/checkout_session_detail`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/billings/checkout_session_detail/get.ts> (a function with typed inputs; its response is checked against the schema)

Processes successful checkout session details and updates subscription status

## Path parameters

- `org_id` string, required

## Query parameters

- `session_id` string, required
- `status` string, required
- `plan` string, required

## Other responses

- `302`: Redirects to the billing plans page: under 1024 bytes it is in Location and the body is empty; at 1024 bytes or more there is no Location and the body is a text/html refresh page to it
- `404`: NotFound
- `500`: Failure

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
