Skip to main content
GET
cURL
Returns the reservation a check with reserve made under requestId, with its status: held, settled (a track charged it: see settledCredits and uncoveredCredits), released, or expired (held past its expiry, so it no longer holds anything). availableCredits is the customer’s balance now, after every active reservation. Reading never waits behind the customer’s tracks, and its availableCredits doesn’t yet include a renewal that is due until the next check or track grants it. An unknown requestId returns 404 reservation_not_found. Needs the Credits permission at Check.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

requestId
string
required

The request_id you sent with the check that reserved.

Required string length: 1 - 255

Query Parameters

customerId
string
required

Your ID for the customer, such as your user ID.

Required string length: 1 - 255

Response

The reservation

requestId
string
required
customerId
string
required
entityId
string | null
required

The entity the reservation holds for. Null: the customer's shared credits.

featureId
string
required
status
enum<string>
required

held: reserving credits. settled: a track charged it. released: let go without charging. expired: the hold lapsed before a track settled it.

Available options:
held,
settled,
released,
expired
credits
integer
required

Credits the reservation holds (or held); a metered feature's units for a metered one.

settledCredits
integer | null
required

What the settling track charged, from grants and overage. Null until settled.

Required range: x >= 0
uncoveredCredits
integer | null
required

Settled credits that couldn't be charged because the grants under the hold ended while it was held (a cancellation, for example). Null until settled.

Required range: x >= 0
expiresAt
string<date-time>
required
createdAt
string<date-time>
required
availableCredits
integer
required

The customer's prepaid credits after this request, less what active reservations hold.

Required range: x >= 0
idempotent
boolean
required

True when the request repeated one already applied and changed nothing.