extras

GET /v1/extra-purchases/{purchaseId}

Get an extra purchase.

All extras endpoints

Authentication

Send an API key as a bearer token. The key must carry the billing.view permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/extra-purchases/{purchaseId} \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

Returns one extra purchase in scope with its status and outcome. Requires `billing.view`.

Parameters

NameTypeRequiredWhat it is
purchaseId (path)UuidYesThe extra purchase's id.

Response

NameTypeRequiredWhat it is
idUuidYesUUIDv7 identifier — sortable by creation time (docs/02 §8).
org_idUuidYesUUIDv7 identifier — sortable by creation time (docs/02 §8).
extra_idUuidYesUUIDv7 identifier — sortable by creation time (docs/02 §8).
site_idobjectNo
domain_idobjectNo
statusExtraPurchaseStatusYesAn extra purchase's lifecycle state.
categorystringYes
fulfilment_typeExtraFulfilmentTypeYesHow an extra is delivered.
intervalExtraIntervalYesOne-off charge or a recurring subscription.
priceMoneyAmountYesA money value — integer minor units + an ISO 4217 code (CLAUDE.md §2.8).
recurrencestring<none, active, ended>YesWhether the recurrence behind this purchase is still live. `none` = it never recurred (a one-off); `active` = a scheduled charge exists; `ended` = it recurred and no longer does…
next_renewal_onobjectNoThe next charge date, or `null`. Also `null` for a live charge that has no date scheduled yet, so read `recurrence` — not this field — to decide whether a purchase renews at all.
sla_due_atobjectNo
completed_atobjectNo
failure_reasonstringNo
created_atstringYes
updated_atstringYes

Errors this endpoint can return

401 · 403 · 404 · 429