Skip to main content
GET
Retrieve an order
Click the base URL in the API playground and select the Sandbox host for test data or the Production host for live data. Use credentials from the same environment.

Authorizations

Authorization
string
header
required

The Server API Key obtained from the kelviq application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'

Path Parameters

id
string
required

The order ID.

Response

The order.

A completed, failed, or otherwise resolved order. Orders in PENDING status (payment not yet attempted) are never returned by the list/retrieve endpoints.

id
string

Order ID.

Example:

"ORD-20260729103000-AB3K9"

customer
object
product
object

A product in the catalog. Each product can have multiple plans, images and files.

status
enum<string>
Available options:
PENDING,
COMPLETE,
FAILED,
REFUNDED,
PARTIAL_REFUND,
CANCELLED,
FRAUDULENT
Example:

"COMPLETE"

paidAt
string<date-time> | null
Example:

"2026-07-29T10:31:12Z"

amountSubtotal
string | null

Decimal amount, serialized as a string (e.g. "261.00"), not a JSON number.

Example:

"261.00"

amountDiscount
string

Decimal amount, serialized as a string, not a JSON number.

Example:

"0.00"

amountTax
string | null

Decimal amount, serialized as a string, not a JSON number.

Example:

"0.00"

amountTotal
string | null

Decimal amount, serialized as a string, not a JSON number.

Example:

"261.00"

saleCurrency
string
Example:

"USD"

amountSubtotalUnits
integer<int64> | null
Example:

26100

amountDiscountUnits
integer<int64>
Example:

0

amountTaxUnits
integer<int64> | null
Example:

0

amountTotalUnits
integer<int64> | null
Example:

26100

saleCurrencySymbol
string
Example:

"$"

billingAddress
object | null

The billing address of the customer.

plan
object

A versioned plan attached to a product. Updates create new versions; only the published version is is_latest=true.

billingType
enum<string> | null
Available options:
ONE_TIME,
SUBSCRIPTION
Example:

"SUBSCRIPTION"

license
object[]

Licenses issued for the order's subscription, if the plan includes licensing.

isTrial
boolean
Example:

false

subscription
object

Summary of the subscription linked to this order. An empty object ({}) when the order has no linked subscription.

invoiceId
string | null
Example:

"INV-20260729103000-XZ7Q1"

customFieldsData
object
Example:
paymentMethod
object | null

The payment method used for the order's first successful transaction. null if no successful transaction exists yet.