Skip to main content
GET
/
order_drafts
/
{id}
/
checkout_sessions
List order draft checkout sessions
curl --request GET \
  --url https://api.akua.dev/v1/order_drafts/{id}/checkout_sessions \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "chk_j572abc...",
      "order_draft_id": "odft_j572abc...",
      "order_draft_etag_at_mint": "<string>",
      "stripe_checkout_session_id": "cs_test_...",
      "created_at": 1,
      "updated_at": 1,
      "url": "<string>",
      "expires_at": 1
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.akua.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens

Path Parameters

id
string
required

Order draft ID

Required string length: 1 - 55
Example:

"odft_j572abc..."

Query Parameters

cursor
string

Pagination cursor from a previous response's next_cursor.

limit
integer
default:50

Items per page (1-100, default 50)

Required range: 1 <= x <= 100
Example:

50

Response

List of checkout sessions

data
object[]
required
has_more
boolean
required

True if more items exist after this page.

next_cursor
string | null
required

Opaque cursor for the next page, or null if no more pages.