GET /external-checkout/sessions/{id}/status
Use this from the customer-facing return page after a partner-hosted checkout (CKO-03 / WooCommerce) to show whether provisioning has completed. It is public (no key or secret) and returns only catalog + lifecycle fields — never contact, address, or payment data — so it is safe to call from the browser.
Endpoint
GET /partner/external-checkout/sessions/{session_id}/statusAuthentication
None. This is the only external-checkout read that requires no credential. It is rate-limited to 60 requests / minute per IP.
Path parameters
| Parameter | Description |
|---|---|
session_id |
The external-checkout session id returned when the session was created. |
Response
{ "status": "completed", "provisioned": true, "subscription_status": "ACTIVE", "plan_name": "Fibre 500/500", "provider_name": "Acme Fibre", "partner_reference": "wc_order_10432", "is_anonymous": false, "portal_url": "https://my.acme-fibre.ca", "install_path": null, "discount_code": "SPRING25", "operator_discount_name": "Spring offer"}| Field | Type | Meaning |
|---|---|---|
status |
string | Session lifecycle — pending, redirected (your checkout page has read the session) or completed (expired and cancelled sessions surface as 410, not as a status value). |
provisioned |
boolean | true once a kurnl subscription exists for the session. |
subscription_status |
string | null | The subscription’s own status (e.g. ACTIVE, PENDING_INSTALL) once provisioned; null before that. |
plan_name |
string | null | The checked-out plan’s display name. |
provider_name |
string | null | The ISP the session belongs to. |
partner_reference |
string | null | Your reference echoed back (e.g. an order id). |
is_anonymous |
boolean | true when the subscription was created through the anonymous completion endpoint, meaning kurnl holds no subscriber record and the customer has no kurnl portal account. Use it to decide whether a “manage my account” link makes sense on your thank-you page. |
install_path |
string | null | How a PENDING_INSTALL order gets connected: book_visit (a technician visit the customer books from an e-mailed link), provider_visit (a visit kurnl schedules), router_shipment (a router is shipped to the suite); null in every other status, when the order needs no install, or when it has no subscription yet. |
discount_code |
string | null | The discount code the session carries, or null. |
operator_discount_name |
string | null | The name of the kurnl operator discount the code resolves to, or null. Use it on the thank-you page: the code was passed on to the partner checkout. Nothing else about the discount is public. |
portal_url |
string | null |
Errors
| Status | Meaning |
|---|---|
404 |
Session not found — wrong or mistyped session id (the most common error). |
410 |
Session expired or cancelled — nested body, see below. |
429 |
Rate limit exceeded (60 requests / minute per IP). |
The 410 body nests an object inside detail:
{ "detail": { "detail": "Session expired", "expired_at": "2026-07-01T12:30:00Z" }}TTL / expiry
Semantics match the authenticated GET /external-checkout/sessions/{id}: only a session your checkout
page never read expires, 2 hours after it was created, and then returns 410 Gone. A redirected or
completed session never expires. The lifecycle: Checkout Sessions.