Skip to navigation

Retrieve a credit hold

Draft scaffold — not implemented or available in the API.

Returns one credit hold with its status: active, captured by an event, released or expired. {creditHold} takes the hold’s hold_ ID.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

creditHoldstringRequired1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.

Headers

Paid-BetaenumRequired

This endpoint is in the credits=v1 beta. Send this header to use it.

Allowed values:

Response

200
idstring
The CreditHold ID.
objectenum

The type of object. Always creditHold.

Allowed values:
createdAtdatetime
When the object was created.
amountstringformat: "^\d+(\.\d{1,15})?$"

An exact non-negative credit amount, up to 15 fractional places.

capturedAtdatetime or null
When an event captured the hold.
capturedBystring or null1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.
correlationIdstring or null1-255 characters
Your stable identifier, 1 to 255 characters.
creditCurrencystring1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.
customerstring1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.
expiresAtdatetime
When an uncaptured hold expires.
livemodeboolean

true for an object on a live account, false on a test account.

metadatamap from strings to strings

String key-value pairs of your own, up to 500 characters per value. Always updatable.

productstring or null1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.
releasedAtdatetime or null
When the hold was released.
seatstring or null1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.
statusenum
Reservation lifecycle status.
Allowed values:

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error