For the complete documentation index, see llms.txt. This page is also available as Markdown.

Checkouts

List checkouts

get

List and search checkouts. Returns active checkouts by default; filter by product_id (matches products attached as line items OR block items), status, or search internal_name/offer_name.

Authorizations
AuthorizationstringRequired

Account API key authentication. Pass an API key as a Bearer token in the Authorization header. An account may have multiple named keys; any of them grants full access to all endpoints — equivalent to all OAuth scopes.

Query parameters
pageintegerOptional

Page number

Example: 1
per_pageinteger · max: 100Optional

Items per page (max 100)

Example: 25
searchstringOptional

Search across: internal_name, offer_name

Example: search term
filter[status]stringOptional

Filter by status (exact match).

filter[product_id]stringOptional

Filter by product_id (exact match).

filter[created_at]stringOptional

Filter by created_at (exact match).

filter[created_at.gte]stringOptional

Filter by created_at (greater than or equal)

filter[created_at.lte]stringOptional

Filter by created_at (less than or equal)

filter[updated_at]stringOptional

Filter by updated_at (exact match).

filter[updated_at.gte]stringOptional

Filter by updated_at (greater than or equal)

filter[updated_at.lte]stringOptional

Filter by updated_at (less than or equal)

sortstringOptional

Sort field (prefix with - for descending)

Example: -created_at
Responses
200

Successful response with paginated list

application/json
get/v2/checkouts
GET /v2/checkouts HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": [],
  "pagination": {
    "page": 1,
    "limit": 25,
    "total": 150,
    "pages": 6
  }
}

Get checkouts

get

Retrieve a single checkouts by ID

Authorizations
AuthorizationstringRequired

Account API key authentication. Pass an API key as a Bearer token in the Authorization header. An account may have multiple named keys; any of them grants full access to all endpoints — equivalent to all OAuth scopes.

Path parameters
idintegerRequired

checkouts ID

Example: 12345
Query parameters
includestringOptional

Comma-separated list of expansions: items

Example: items
Responses
200

Successful response

application/json
any · nullableOptional
get/v2/checkouts/{id}
GET /v2/checkouts/{id} HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated