API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

PUT/exercise_quotes/{id}/fulfillOther

Fulfill CFAR Exercise Quote

https://fintech.staging.htsapis.com/lodging-cfar/v2/exercise_quotes/{id}/fulfill

Fulfill a CFAR Exercise Quote. When applicable, HTS will payout the exercise amount to the user.

Parameters

id
path · string
required

The ID of the CFAR exercise quote.

Responses

204
No body.
400Syntactic errors were encountered while handling the request
Array of error
message
string
required
code
string
required
Example
[
  {
    "message": "string",
    "code": "string"
  }
]
401The client could not be authenticated
No body.
403The authenticated client does not have permission to call this endpoint
No body.
404The requested resource could not be found
No body.
422Semantic errors were encountered while handling the request
Array of fulfill_exercise_error · one of 11
Items ≥ 1
Exactly one of the following, selected by code:
contract_expired (contract_expired1) contract_expired1
message
string
required

A human-readable message describing the error

code
string
required
contract_state_changed (contract_state_changed) contract_state_changed
message
string
required

A human-readable message describing the error

code
string
required
exercise_already_in_progress (exercise_already_in_progress1) exercise_already_in_progress1
message
string
required

A human-readable message describing the error

code
string
required
exercised (exercised) exercised
message
string
required

A human-readable message describing the error

code
string
required
not_purchased (not_purchased2) not_purchased2
message
string
required

A human-readable message describing the error

code
string
required
past_check_in (past_check_in1) past_check_in1
message
string
required

A human-readable message describing the error

code
string
required
payout_failed (payout_failed) payout_failed
message
string
required

A human-readable message describing the error

code
string
required
quote_expired (quote_expired) quote_expired
message
string
required

A human-readable message describing the error

code
string
required
reservation_cancel_failed (reservation_cancel_failed) reservation_cancel_failed
message
string
required

A human-readable message describing the error

code
string
required
reservation_cancelled (reservation_cancelled1) reservation_cancelled1
message
string
required

A human-readable message describing the error

code
string
required
voided (voided) voided
message
string
required

A human-readable message describing the error

code
string
required
Example
[
  {
    "message": "string",
    "code": "string"
  }
]
499The client cancelled the request
No body.
500The server encountered an internal error
No body.
Request
curl -X PUT "https://fintech.staging.htsapis.com/lodging-cfar/v2/exercise_quotes/<id>/fulfill" \
  -H "X-Api-Key: $HTS_API_KEY"

Examples are generated from the schema where the spec publishes none; field values are illustrative.