Travel Credit¶
This resource represents a travel credit.
Fields
Name |
Type |
Description |
|---|---|---|
|
String |
|
|
Field |
|
|
Choice |
The type slug for this travel_credit which will be one of the following values:
* |
|
Field |
List of attributes for this travel_credit (for example, ‘VIP’) |
|
Reference Object |
The booking_company associated to this travel_credit. |
|
String |
The code (readable value) for this travel_credit. This _may_ in the be used as a means to apply the credit, although the primary method will be to use the |
|
Datetime |
The time when the resource was created, in the standard Dates & Times. |
|
Datetime |
The date this travel_credit expires. NOTE: Travel Credits with |
|
Decimal |
The price value of this travel_credit. |
|
String |
The currency ISO code, in the standard Currencies & Prices. |
|
Boolean |
Boolean ( |
|
Boolean |
Boolean ( |
|
Datetime |
The datetime this travel_credit was applied to a Booking |
|
Reference Object |
The booking to which this travel_credit is applied. |
|
Reference Object |
The booking for which this travel_credit was issued. |
|
Reference Object |
The Service to which this travel_credit was issued. It can refer to any of the |
|
Reference Object |
The customer to whom this travel_credit is issued. |
|
Reference Object |
|
|
Nested Object |
The category of this travel_credit (for example ‘VIP’ or ‘Goodwill Gesture’). |
|
String |
The unique identifier for this travel_credit category. |
|
String |
The internal (Compass) name of this travel_credit category, for example ‘VIP’ or ‘Goodwill Gesture’. This is a stable key for the category; any customer-facing display name is the responsibility of the consuming application. |
|
Reference Object |
The payment created when this travel_credit was applied to a booking. |
Get a Travel Credit
- GET /travel_credits/(string: nationality_id)¶