API reference

HTS APIs

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

POST/orders/{id}/exercise_urlRetrieve

Create order exercise URL

https://fintech.staging.htsapis.com/lodging-cfar/v2/orders/{id}/exercise_url

Produce JWT for contract portal exercise

Parameters

id
path · string
required

The ID of the CFAR order.

Responses

201Login order exercise url with JWT token
exercise_url
string
required

The exercise url with the JWT token and any display information as query parameter.

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.
499The client cancelled the request
No body.
500The server encountered an internal error
No body.
Request
curl -X POST "https://fintech.staging.htsapis.com/lodging-cfar/v2/orders/<id>/exercise_url" \
  -H "X-Api-Key: $HTS_API_KEY"
Response 201
{
  "exercise_url": "string"
}

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