@gojinko/api-client 2.24.0 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/money.d.ts +53 -0
- package/dist/money.d.ts.map +1 -0
- package/dist/money.js +149 -0
- package/dist/money.js.map +1 -0
- package/dist/types/devplatform.d.ts +24 -5
- package/dist/types/devplatform.d.ts.map +1 -1
- package/dist/types/devplatform.js +6 -5
- package/dist/types/devplatform.js.map +1 -1
- package/dist/types/generated.d.ts +1041 -783
- package/dist/types/generated.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.yaml +1077 -1580
package/public-api.yaml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# synced from jinko-api@
|
|
1
|
+
# synced from jinko-api@558277d11f0dc4707c3e6bf121a97ddf60b12a77 (558277d1)
|
|
2
2
|
# Vendored copy of the canonical public contract. Do not hand-edit: change it in
|
|
3
|
-
# jinko-api,
|
|
3
|
+
# jinko-api, then `pnpm sync:api-spec <ref>` here, which also runs `pnpm generate:api-types`.
|
|
4
4
|
openapi: 3.0.0
|
|
5
5
|
info:
|
|
6
6
|
title: Jinko Public API
|
|
7
|
-
version: 0.
|
|
7
|
+
version: 0.11.0
|
|
8
8
|
description: >-
|
|
9
9
|
Curated public REST surface for Jinko. Authenticated with jnk_ API keys. See
|
|
10
10
|
https://docs.gojinko.com for guides.
|
|
@@ -207,6 +207,16 @@ components:
|
|
|
207
207
|
on a value-shaped object, fall back to the ISO digits for the
|
|
208
208
|
currency."
|
|
209
209
|
example: 2
|
|
210
|
+
display:
|
|
211
|
+
type: string
|
|
212
|
+
description: 'The same figure as a string ready to show: the ISO 4217 code, a
|
|
213
|
+
space, then the amount, e.g. "USD 159.77". With decimal_places it is
|
|
214
|
+
written at exactly that scale (value 1561500, JPY, decimal_places 2
|
|
215
|
+
is "JPY 15615.00"); without, at the ISO digits of the currency. Show
|
|
216
|
+
this; compute with the number. Absent when the figure is not money
|
|
217
|
+
(a cancellation step expressed as a percent or a number of nights)
|
|
218
|
+
or could not be read unambiguously.'
|
|
219
|
+
example: USD 412.50
|
|
210
220
|
required:
|
|
211
221
|
- value
|
|
212
222
|
- currency
|
|
@@ -313,6 +323,7 @@ components:
|
|
|
313
323
|
- FORBIDDEN
|
|
314
324
|
- NOT_FOUND
|
|
315
325
|
- CONFLICT
|
|
326
|
+
- GONE
|
|
316
327
|
- QUOTE_EXPIRED
|
|
317
328
|
- TRIP_EXPIRED
|
|
318
329
|
- TRIP_STATE_CONFLICT
|
|
@@ -447,6 +458,26 @@ components:
|
|
|
447
458
|
direct_only:
|
|
448
459
|
type: boolean
|
|
449
460
|
example: false
|
|
461
|
+
include_carriers:
|
|
462
|
+
type: array
|
|
463
|
+
items:
|
|
464
|
+
type: string
|
|
465
|
+
pattern: ^[A-Za-z0-9]{2,3}$
|
|
466
|
+
description: Keep only itineraries whose VALIDATING (ticketing) carrier is in
|
|
467
|
+
this list — the only carrier field the flight cache carries, unlike
|
|
468
|
+
the marketing-carrier match on flight_search. 2-3 character
|
|
469
|
+
IATA/ICAO codes. Must not overlap `exclude_carriers`.
|
|
470
|
+
example: &a8
|
|
471
|
+
- UA
|
|
472
|
+
exclude_carriers:
|
|
473
|
+
type: array
|
|
474
|
+
items:
|
|
475
|
+
type: string
|
|
476
|
+
pattern: ^[A-Za-z0-9]{2,3}$
|
|
477
|
+
description: Drop itineraries whose VALIDATING (ticketing) carrier is in this
|
|
478
|
+
list. Same semantics as `include_carriers`; must not overlap it.
|
|
479
|
+
example: &a9
|
|
480
|
+
- NK
|
|
450
481
|
adults:
|
|
451
482
|
type: integer
|
|
452
483
|
minimum: 0
|
|
@@ -497,7 +528,7 @@ components:
|
|
|
497
528
|
default: 0
|
|
498
529
|
sort_by:
|
|
499
530
|
type: string
|
|
500
|
-
enum: &
|
|
531
|
+
enum: &a10
|
|
501
532
|
- lowest
|
|
502
533
|
- recommendation
|
|
503
534
|
default: lowest
|
|
@@ -534,6 +565,19 @@ components:
|
|
|
534
565
|
next_page_token:
|
|
535
566
|
type: string
|
|
536
567
|
example: eyJvZmZzZXQiOjIwfQ==
|
|
568
|
+
available_airlines:
|
|
569
|
+
type: array
|
|
570
|
+
items:
|
|
571
|
+
type: string
|
|
572
|
+
description: VALIDATING (ticketing) carrier codes present across the WHOLE
|
|
573
|
+
cached match set — not just this page — ordered by itinerary count
|
|
574
|
+
descending. Lets a caller discover which airlines are available
|
|
575
|
+
(e.g. to retry with `include_carriers`) without paging through every
|
|
576
|
+
result. Absent when the platform reports no facet data.
|
|
577
|
+
example:
|
|
578
|
+
- UA
|
|
579
|
+
- DL
|
|
580
|
+
- AA
|
|
537
581
|
required:
|
|
538
582
|
- itineraries
|
|
539
583
|
FlightDiscoveryRequest:
|
|
@@ -604,6 +648,24 @@ components:
|
|
|
604
648
|
direct_only:
|
|
605
649
|
type: boolean
|
|
606
650
|
example: false
|
|
651
|
+
include_carriers:
|
|
652
|
+
type: array
|
|
653
|
+
items:
|
|
654
|
+
type: string
|
|
655
|
+
pattern: ^[A-Za-z0-9]{2,3}$
|
|
656
|
+
description: Keep only itineraries whose VALIDATING (ticketing) carrier is in
|
|
657
|
+
this list — the only carrier field the flight cache carries, unlike
|
|
658
|
+
the marketing-carrier match on flight_search. 2-3 character
|
|
659
|
+
IATA/ICAO codes. Must not overlap `exclude_carriers`.
|
|
660
|
+
example: *a8
|
|
661
|
+
exclude_carriers:
|
|
662
|
+
type: array
|
|
663
|
+
items:
|
|
664
|
+
type: string
|
|
665
|
+
pattern: ^[A-Za-z0-9]{2,3}$
|
|
666
|
+
description: Drop itineraries whose VALIDATING (ticketing) carrier is in this
|
|
667
|
+
list. Same semantics as `include_carriers`; must not overlap it.
|
|
668
|
+
example: *a9
|
|
607
669
|
adults:
|
|
608
670
|
type: integer
|
|
609
671
|
minimum: 0
|
|
@@ -654,7 +716,7 @@ components:
|
|
|
654
716
|
default: 0
|
|
655
717
|
sort_by:
|
|
656
718
|
type: string
|
|
657
|
-
enum: *
|
|
719
|
+
enum: *a10
|
|
658
720
|
default: lowest
|
|
659
721
|
intent:
|
|
660
722
|
$ref: "#/components/schemas/IntentInput"
|
|
@@ -854,6 +916,22 @@ components:
|
|
|
854
916
|
on a value-shaped object, fall back to the ISO digits for the
|
|
855
917
|
currency."
|
|
856
918
|
example: 2
|
|
919
|
+
display:
|
|
920
|
+
type: string
|
|
921
|
+
description: 'The same figure as a string ready to show: the ISO 4217 code, a
|
|
922
|
+
space, then the amount, e.g. "USD 159.77". With decimal_places it is
|
|
923
|
+
written at exactly that scale (value 1561500, JPY, decimal_places 2
|
|
924
|
+
is "JPY 15615.00"); without, at the ISO digits of the currency. Show
|
|
925
|
+
this; compute with the number. Absent when the figure is not money
|
|
926
|
+
(a cancellation step expressed as a percent or a number of nights)
|
|
927
|
+
or could not be read unambiguously.'
|
|
928
|
+
example: USD 412.50
|
|
929
|
+
description: "A money figure in one of two scales, told apart by one rule. When
|
|
930
|
+
`decimal_places` is present, `value` (or `amount`) is an INTEGER in
|
|
931
|
+
minor units: divide by 10 ** decimal_places. When it is absent, `amount`
|
|
932
|
+
is already in MAJOR units. Branch on whether decimal_places is present
|
|
933
|
+
in the response you received, never on the currency code or the field
|
|
934
|
+
name. `display` is the same figure as a string to show."
|
|
857
935
|
CheckedBaggage:
|
|
858
936
|
type: object
|
|
859
937
|
properties:
|
|
@@ -1364,6 +1442,16 @@ components:
|
|
|
1364
1442
|
on a value-shaped object, fall back to the ISO digits for the
|
|
1365
1443
|
currency."
|
|
1366
1444
|
example: 2
|
|
1445
|
+
display:
|
|
1446
|
+
type: string
|
|
1447
|
+
description: 'The same figure as a string ready to show: the ISO 4217 code, a
|
|
1448
|
+
space, then the amount, e.g. "USD 159.77". With decimal_places it is
|
|
1449
|
+
written at exactly that scale (value 1561500, JPY, decimal_places 2
|
|
1450
|
+
is "JPY 15615.00"); without, at the ISO digits of the currency. Show
|
|
1451
|
+
this; compute with the number. Absent when the figure is not money
|
|
1452
|
+
(a cancellation step expressed as a percent or a number of nights)
|
|
1453
|
+
or could not be read unambiguously.'
|
|
1454
|
+
example: USD 412.50
|
|
1367
1455
|
MonitoredCarrier:
|
|
1368
1456
|
type: object
|
|
1369
1457
|
properties:
|
|
@@ -1470,12 +1558,12 @@ components:
|
|
|
1470
1558
|
pattern: ^\d{4}-\d{2}-\d{2}$
|
|
1471
1559
|
origin_type:
|
|
1472
1560
|
type: string
|
|
1473
|
-
enum: &
|
|
1561
|
+
enum: &a11
|
|
1474
1562
|
- city
|
|
1475
1563
|
- airport
|
|
1476
1564
|
destination_type:
|
|
1477
1565
|
type: string
|
|
1478
|
-
enum: *
|
|
1566
|
+
enum: *a11
|
|
1479
1567
|
cabin_class:
|
|
1480
1568
|
type: string
|
|
1481
1569
|
enum: *a7
|
|
@@ -1542,39 +1630,7 @@ components:
|
|
|
1542
1630
|
description:
|
|
1543
1631
|
type: string
|
|
1544
1632
|
price_per_unit:
|
|
1545
|
-
|
|
1546
|
-
properties:
|
|
1547
|
-
amount:
|
|
1548
|
-
type: number
|
|
1549
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
1550
|
-
together); its scale depends on decimal_places. When this object
|
|
1551
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
1552
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
1553
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
1554
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
1555
|
-
trip and checkout totals).
|
|
1556
|
-
value:
|
|
1557
|
-
type: integer
|
|
1558
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
1559
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
1560
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
1561
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
1562
|
-
example: 41250
|
|
1563
|
-
currency:
|
|
1564
|
-
type: string
|
|
1565
|
-
description: ISO 4217 currency code.
|
|
1566
|
-
example: USD
|
|
1567
|
-
decimal_places:
|
|
1568
|
-
type: integer
|
|
1569
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
1570
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
1571
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
1572
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
1573
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
1574
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
1575
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
1576
|
-
digits for the currency."
|
|
1577
|
-
example: 2
|
|
1633
|
+
$ref: "#/components/schemas/Money"
|
|
1578
1634
|
per_pax:
|
|
1579
1635
|
type: boolean
|
|
1580
1636
|
description: True when the price is charged per passenger rather than once per
|
|
@@ -1616,111 +1672,19 @@ components:
|
|
|
1616
1672
|
type: object
|
|
1617
1673
|
properties:
|
|
1618
1674
|
original:
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
type: number
|
|
1623
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
1624
|
-
together); its scale depends on decimal_places. When this object
|
|
1625
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
1626
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
1627
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
1628
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
1629
|
-
trip and checkout totals).
|
|
1630
|
-
value:
|
|
1631
|
-
type: integer
|
|
1632
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
1633
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
1634
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
1635
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
1636
|
-
example: 41250
|
|
1637
|
-
currency:
|
|
1638
|
-
type: string
|
|
1639
|
-
description: ISO 4217 currency code.
|
|
1640
|
-
example: USD
|
|
1641
|
-
decimal_places:
|
|
1642
|
-
type: integer
|
|
1643
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
1644
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
1645
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
1646
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
1647
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
1648
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
1649
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
1650
|
-
digits for the currency."
|
|
1651
|
-
example: 2
|
|
1652
|
-
description: The selling price shown at search time, before the quote.
|
|
1675
|
+
allOf:
|
|
1676
|
+
- $ref: "#/components/schemas/Money"
|
|
1677
|
+
- description: The selling price shown at search time, before the quote.
|
|
1653
1678
|
current:
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
1659
|
-
together); its scale depends on decimal_places. When this object
|
|
1660
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
1661
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
1662
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
1663
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
1664
|
-
trip and checkout totals).
|
|
1665
|
-
value:
|
|
1666
|
-
type: integer
|
|
1667
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
1668
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
1669
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
1670
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
1671
|
-
example: 41250
|
|
1672
|
-
currency:
|
|
1673
|
-
type: string
|
|
1674
|
-
description: ISO 4217 currency code.
|
|
1675
|
-
example: USD
|
|
1676
|
-
decimal_places:
|
|
1677
|
-
type: integer
|
|
1678
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
1679
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
1680
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
1681
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
1682
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
1683
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
1684
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
1685
|
-
digits for the currency."
|
|
1686
|
-
example: 2
|
|
1687
|
-
description: The selling price the trip is quoted at — the same figure as `price`.
|
|
1679
|
+
allOf:
|
|
1680
|
+
- $ref: "#/components/schemas/Money"
|
|
1681
|
+
- description: The selling price the trip is quoted at — the same figure as
|
|
1682
|
+
`price`.
|
|
1688
1683
|
delta:
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
1694
|
-
together); its scale depends on decimal_places. When this object
|
|
1695
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
1696
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
1697
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
1698
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
1699
|
-
trip and checkout totals).
|
|
1700
|
-
value:
|
|
1701
|
-
type: integer
|
|
1702
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
1703
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
1704
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
1705
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
1706
|
-
example: 41250
|
|
1707
|
-
currency:
|
|
1708
|
-
type: string
|
|
1709
|
-
description: ISO 4217 currency code.
|
|
1710
|
-
example: USD
|
|
1711
|
-
decimal_places:
|
|
1712
|
-
type: integer
|
|
1713
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
1714
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
1715
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
1716
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
1717
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
1718
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
1719
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
1720
|
-
digits for the currency."
|
|
1721
|
-
example: 2
|
|
1722
|
-
description: "`current` minus `original`, SIGNED: positive when the price rose,
|
|
1723
|
-
negative when it fell."
|
|
1684
|
+
allOf:
|
|
1685
|
+
- $ref: "#/components/schemas/Money"
|
|
1686
|
+
- description: "`current` minus `original`, SIGNED: positive when the price rose,
|
|
1687
|
+
negative when it fell."
|
|
1724
1688
|
required:
|
|
1725
1689
|
- original
|
|
1726
1690
|
- current
|
|
@@ -1751,6 +1715,16 @@ components:
|
|
|
1751
1715
|
the guest pays it at the property on top. Getting this backwards
|
|
1752
1716
|
misquotes the trip.
|
|
1753
1717
|
example: true
|
|
1718
|
+
display:
|
|
1719
|
+
type: string
|
|
1720
|
+
description: 'The same figure as a string ready to show: the ISO 4217 code, a
|
|
1721
|
+
space, then the amount, e.g. "USD 159.77". With decimal_places it is
|
|
1722
|
+
written at exactly that scale (value 1561500, JPY, decimal_places 2
|
|
1723
|
+
is "JPY 15615.00"); without, at the ISO digits of the currency. Show
|
|
1724
|
+
this; compute with the number. Absent when the figure is not money
|
|
1725
|
+
(a cancellation step expressed as a percent or a number of nights)
|
|
1726
|
+
or could not be read unambiguously.'
|
|
1727
|
+
example: EUR 164.49
|
|
1754
1728
|
CancellationStep:
|
|
1755
1729
|
type: object
|
|
1756
1730
|
properties:
|
|
@@ -1774,6 +1748,16 @@ components:
|
|
|
1774
1748
|
type: string
|
|
1775
1749
|
description: How the charge is expressed — "amount", "percent" or "nights".
|
|
1776
1750
|
example: amount
|
|
1751
|
+
display:
|
|
1752
|
+
type: string
|
|
1753
|
+
description: 'The same figure as a string ready to show: the ISO 4217 code, a
|
|
1754
|
+
space, then the amount, e.g. "USD 159.77". With decimal_places it is
|
|
1755
|
+
written at exactly that scale (value 1561500, JPY, decimal_places 2
|
|
1756
|
+
is "JPY 15615.00"); without, at the ISO digits of the currency. Show
|
|
1757
|
+
this; compute with the number. Absent when the figure is not money
|
|
1758
|
+
(a cancellation step expressed as a percent or a number of nights)
|
|
1759
|
+
or could not be read unambiguously.'
|
|
1760
|
+
example: EUR 606.13
|
|
1777
1761
|
HotelTerms:
|
|
1778
1762
|
type: object
|
|
1779
1763
|
properties:
|
|
@@ -1873,42 +1857,18 @@ components:
|
|
|
1873
1857
|
came from. Hotel items only.
|
|
1874
1858
|
example: lp1f2c3
|
|
1875
1859
|
price:
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
type: integer
|
|
1889
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
1890
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
1891
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
1892
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
1893
|
-
example: 41250
|
|
1894
|
-
currency:
|
|
1895
|
-
type: string
|
|
1896
|
-
description: ISO 4217 currency code.
|
|
1897
|
-
example: USD
|
|
1898
|
-
decimal_places:
|
|
1899
|
-
type: integer
|
|
1900
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
1901
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
1902
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
1903
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
1904
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
1905
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
1906
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
1907
|
-
digits for the currency."
|
|
1908
|
-
example: 2
|
|
1909
|
-
description: Item total in major currency units. Absent until the trip has been
|
|
1910
|
-
quoted — an unpriced item carries no `price` key at all, so absence
|
|
1911
|
-
means "not priced yet", not "free".
|
|
1860
|
+
allOf:
|
|
1861
|
+
- $ref: "#/components/schemas/Money"
|
|
1862
|
+
- description: Item total in major currency units. Absent until the trip has been
|
|
1863
|
+
quoted — an unpriced item carries no `price` key at all, so
|
|
1864
|
+
absence means "not priced yet", not "free".
|
|
1865
|
+
price_display:
|
|
1866
|
+
type: string
|
|
1867
|
+
description: The item price as a string ready to show, e.g. "EUR 545.55". Sent
|
|
1868
|
+
beside a `price` that arrives as a bare major-units number with
|
|
1869
|
+
`currency` (the trip create response); a `price` object carries its
|
|
1870
|
+
own `display` instead.
|
|
1871
|
+
example: EUR 545.55
|
|
1912
1872
|
pax_count:
|
|
1913
1873
|
type: number
|
|
1914
1874
|
example: 1
|
|
@@ -1931,42 +1891,11 @@ components:
|
|
|
1931
1891
|
two figures and the signed difference. Absent when the price held.
|
|
1932
1892
|
example: true
|
|
1933
1893
|
original_price:
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
together); its scale depends on decimal_places. When this object
|
|
1940
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
1941
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
1942
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
1943
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
1944
|
-
trip and checkout totals).
|
|
1945
|
-
value:
|
|
1946
|
-
type: integer
|
|
1947
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
1948
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
1949
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
1950
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
1951
|
-
example: 41250
|
|
1952
|
-
currency:
|
|
1953
|
-
type: string
|
|
1954
|
-
description: ISO 4217 currency code.
|
|
1955
|
-
example: USD
|
|
1956
|
-
decimal_places:
|
|
1957
|
-
type: integer
|
|
1958
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
1959
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
1960
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
1961
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
1962
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
1963
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
1964
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
1965
|
-
digits for the currency."
|
|
1966
|
-
example: 2
|
|
1967
|
-
description: The snapshot price recorded at search time. Present only when
|
|
1968
|
-
`price_changed` is true; compare it against `price` to show the
|
|
1969
|
-
caller what moved.
|
|
1894
|
+
allOf:
|
|
1895
|
+
- $ref: "#/components/schemas/Money"
|
|
1896
|
+
- description: The snapshot price recorded at search time. Present only when
|
|
1897
|
+
`price_changed` is true; compare it against `price` to show the
|
|
1898
|
+
caller what moved.
|
|
1970
1899
|
price_change:
|
|
1971
1900
|
$ref: "#/components/schemas/PriceChange"
|
|
1972
1901
|
required_attributes:
|
|
@@ -2051,7 +1980,7 @@ components:
|
|
|
2051
1980
|
example: trip_1048576
|
|
2052
1981
|
status:
|
|
2053
1982
|
type: string
|
|
2054
|
-
enum: &
|
|
1983
|
+
enum: &a12
|
|
2055
1984
|
- draft
|
|
2056
1985
|
- quoting
|
|
2057
1986
|
- quoted
|
|
@@ -2101,6 +2030,11 @@ components:
|
|
|
2101
2030
|
type: string
|
|
2102
2031
|
total:
|
|
2103
2032
|
type: number
|
|
2033
|
+
total_display:
|
|
2034
|
+
type: string
|
|
2035
|
+
description: The trip total as a string ready to show, e.g. "USD 318.40". Absent
|
|
2036
|
+
with `total`.
|
|
2037
|
+
example: USD 318.40
|
|
2104
2038
|
example:
|
|
2105
2039
|
currency: USD
|
|
2106
2040
|
total: 318.4
|
|
@@ -2126,7 +2060,7 @@ components:
|
|
|
2126
2060
|
- message
|
|
2127
2061
|
status:
|
|
2128
2062
|
type: string
|
|
2129
|
-
enum: *
|
|
2063
|
+
enum: *a12
|
|
2130
2064
|
description: The trip state that refused the write. `expired` on TRIP_EXPIRED;
|
|
2131
2065
|
on TRIP_STATE_CONFLICT it is whichever state the trip is actually
|
|
2132
2066
|
in. Nothing was changed, so re-reading the trip returns this same
|
|
@@ -2331,7 +2265,7 @@ components:
|
|
|
2331
2265
|
example: trip_1048576
|
|
2332
2266
|
status:
|
|
2333
2267
|
type: string
|
|
2334
|
-
enum: *
|
|
2268
|
+
enum: *a12
|
|
2335
2269
|
description: "Where the trip is in its lifecycle. `expired` is the 24-hour
|
|
2336
2270
|
lapse: it is evaluated LAZILY, on the read that first observes it,
|
|
2337
2271
|
so this call is where a dead trip becomes visible. Once a trip is
|
|
@@ -2358,39 +2292,7 @@ components:
|
|
|
2358
2292
|
items:
|
|
2359
2293
|
$ref: "#/components/schemas/TripItem"
|
|
2360
2294
|
total_amount:
|
|
2361
|
-
|
|
2362
|
-
properties:
|
|
2363
|
-
amount:
|
|
2364
|
-
type: number
|
|
2365
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
2366
|
-
together); its scale depends on decimal_places. When this object
|
|
2367
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
2368
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
2369
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
2370
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
2371
|
-
trip and checkout totals).
|
|
2372
|
-
value:
|
|
2373
|
-
type: integer
|
|
2374
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
2375
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
2376
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
2377
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
2378
|
-
example: 41250
|
|
2379
|
-
currency:
|
|
2380
|
-
type: string
|
|
2381
|
-
description: ISO 4217 currency code.
|
|
2382
|
-
example: USD
|
|
2383
|
-
decimal_places:
|
|
2384
|
-
type: integer
|
|
2385
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
2386
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
2387
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
2388
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
2389
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
2390
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
2391
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
2392
|
-
digits for the currency."
|
|
2393
|
-
example: 2
|
|
2295
|
+
$ref: "#/components/schemas/Money"
|
|
2394
2296
|
quote:
|
|
2395
2297
|
type: object
|
|
2396
2298
|
properties:
|
|
@@ -2475,39 +2377,7 @@ components:
|
|
|
2475
2377
|
items:
|
|
2476
2378
|
$ref: "#/components/schemas/SelectedAncillary"
|
|
2477
2379
|
total_with_ancillaries:
|
|
2478
|
-
|
|
2479
|
-
properties:
|
|
2480
|
-
amount:
|
|
2481
|
-
type: number
|
|
2482
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
2483
|
-
together); its scale depends on decimal_places. When this object
|
|
2484
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
2485
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
2486
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
2487
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
2488
|
-
trip and checkout totals).
|
|
2489
|
-
value:
|
|
2490
|
-
type: integer
|
|
2491
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
2492
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
2493
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
2494
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
2495
|
-
example: 41250
|
|
2496
|
-
currency:
|
|
2497
|
-
type: string
|
|
2498
|
-
description: ISO 4217 currency code.
|
|
2499
|
-
example: USD
|
|
2500
|
-
decimal_places:
|
|
2501
|
-
type: integer
|
|
2502
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
2503
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
2504
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
2505
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
2506
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
2507
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
2508
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
2509
|
-
digits for the currency."
|
|
2510
|
-
example: 2
|
|
2380
|
+
$ref: "#/components/schemas/Money"
|
|
2511
2381
|
AncillaryRequest:
|
|
2512
2382
|
type: object
|
|
2513
2383
|
properties:
|
|
@@ -2606,15 +2476,19 @@ components:
|
|
|
2606
2476
|
example: ready
|
|
2607
2477
|
expires_at:
|
|
2608
2478
|
type: string
|
|
2609
|
-
description: "When the
|
|
2610
|
-
Roughly
|
|
2611
|
-
NOT the
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
`
|
|
2479
|
+
description: "When the quote behind this checkout stops being payable (RFC
|
|
2480
|
+
3339). Roughly fifteen minutes from the call — pay before it passes.
|
|
2481
|
+
It is NOT a price hold: the supplier guarantees neither the price
|
|
2482
|
+
nor availability for the window, so an offer can lapse inside it.
|
|
2483
|
+
Nor is it the lifetime of `checkout_url`, which stays openable
|
|
2484
|
+
longer. After this instant the platform REFUSES to take payment
|
|
2485
|
+
rather than charging a stale price: `POST /v1/agent_payment/submit`
|
|
2486
|
+
answers **410 `QUOTE_EXPIRED`** and no payment object is created. To
|
|
2487
|
+
recover, call `POST /v1/checkout` again on the same trip — it
|
|
2488
|
+
re-quotes at the current price — and pay against the new
|
|
2489
|
+
`expires_at`. The hosted page cannot recover on its own: past this
|
|
2490
|
+
instant it shows the price as expired and the customer has to be
|
|
2491
|
+
sent a fresh checkout."
|
|
2618
2492
|
example: "2026-06-01T12:39:56Z"
|
|
2619
2493
|
payment_type:
|
|
2620
2494
|
type: string
|
|
@@ -2630,39 +2504,7 @@ components:
|
|
|
2630
2504
|
you."
|
|
2631
2505
|
example: checkout
|
|
2632
2506
|
total_amount:
|
|
2633
|
-
|
|
2634
|
-
properties:
|
|
2635
|
-
amount:
|
|
2636
|
-
type: number
|
|
2637
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
2638
|
-
together); its scale depends on decimal_places. When this object
|
|
2639
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
2640
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
2641
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
2642
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
2643
|
-
trip and checkout totals).
|
|
2644
|
-
value:
|
|
2645
|
-
type: integer
|
|
2646
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
2647
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
2648
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
2649
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
2650
|
-
example: 41250
|
|
2651
|
-
currency:
|
|
2652
|
-
type: string
|
|
2653
|
-
description: ISO 4217 currency code.
|
|
2654
|
-
example: USD
|
|
2655
|
-
decimal_places:
|
|
2656
|
-
type: integer
|
|
2657
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
2658
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
2659
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
2660
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
2661
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
2662
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
2663
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
2664
|
-
digits for the currency."
|
|
2665
|
-
example: 2
|
|
2507
|
+
$ref: "#/components/schemas/Money"
|
|
2666
2508
|
items:
|
|
2667
2509
|
type: array
|
|
2668
2510
|
items:
|
|
@@ -2725,6 +2567,12 @@ components:
|
|
|
2725
2567
|
type: string
|
|
2726
2568
|
description: The instant the refused quote expired (RFC 3339).
|
|
2727
2569
|
example: "2026-09-04T12:39:56Z"
|
|
2570
|
+
quoted_cart_id:
|
|
2571
|
+
type: number
|
|
2572
|
+
description: The quote that lapsed — the same `quoted_cart_id` the trip and
|
|
2573
|
+
checkout responses carry, so a caller holding several can tell which
|
|
2574
|
+
one this refusal is about.
|
|
2575
|
+
example: 2097152
|
|
2728
2576
|
required:
|
|
2729
2577
|
- error
|
|
2730
2578
|
AgentPaymentSubmitRequest:
|
|
@@ -2759,6 +2607,12 @@ components:
|
|
|
2759
2607
|
description: Price for the whole stay in `currency`, at the currency’s own
|
|
2760
2608
|
precision.
|
|
2761
2609
|
example: 1818.4
|
|
2610
|
+
total_amount_display:
|
|
2611
|
+
type: string
|
|
2612
|
+
description: 'The rate total as a string ready to show: the ISO 4217 code, a
|
|
2613
|
+
space, then `total_amount` at the currency’s ISO digits, e.g. "EUR
|
|
2614
|
+
606.13". Show this; compute with `total_amount`.'
|
|
2615
|
+
example: EUR 606.13
|
|
2762
2616
|
currency:
|
|
2763
2617
|
type: string
|
|
2764
2618
|
example: EUR
|
|
@@ -3207,6 +3061,15 @@ components:
|
|
|
3207
3061
|
type: string
|
|
3208
3062
|
decimal_places:
|
|
3209
3063
|
type: integer
|
|
3064
|
+
display:
|
|
3065
|
+
type: string
|
|
3066
|
+
description: 'The same figure as a string ready to show: the ISO 4217 code, a
|
|
3067
|
+
space, then the amount, e.g. "USD 159.77". With decimal_places it is
|
|
3068
|
+
written at exactly that scale (value 1561500, JPY, decimal_places 2
|
|
3069
|
+
is "JPY 15615.00"); without, at the ISO digits of the currency. Show
|
|
3070
|
+
this; compute with the number. Absent when the figure is not money
|
|
3071
|
+
(a cancellation step expressed as a percent or a number of nights)
|
|
3072
|
+
or could not be read unambiguously.'
|
|
3210
3073
|
required:
|
|
3211
3074
|
- value
|
|
3212
3075
|
- currency
|
|
@@ -3528,6 +3391,16 @@ components:
|
|
|
3528
3391
|
on a value-shaped object, fall back to the ISO digits for the
|
|
3529
3392
|
currency."
|
|
3530
3393
|
example: 2
|
|
3394
|
+
display:
|
|
3395
|
+
type: string
|
|
3396
|
+
description: 'The same figure as a string ready to show: the ISO 4217 code, a
|
|
3397
|
+
space, then the amount, e.g. "USD 159.77". With decimal_places it is
|
|
3398
|
+
written at exactly that scale (value 1561500, JPY, decimal_places 2
|
|
3399
|
+
is "JPY 15615.00"); without, at the ISO digits of the currency. Show
|
|
3400
|
+
this; compute with the number. Absent when the figure is not money
|
|
3401
|
+
(a cancellation step expressed as a percent or a number of nights)
|
|
3402
|
+
or could not be read unambiguously.'
|
|
3403
|
+
example: EUR 412.50
|
|
3531
3404
|
description: The only amount Jinko charges at checkout.
|
|
3532
3405
|
CarOfferPrice:
|
|
3533
3406
|
type: object
|
|
@@ -3841,7 +3714,7 @@ components:
|
|
|
3841
3714
|
required:
|
|
3842
3715
|
- booking_ref
|
|
3843
3716
|
- last_name
|
|
3844
|
-
example: &
|
|
3717
|
+
example: &a13
|
|
3845
3718
|
booking_ref: JNK-8PT9VS
|
|
3846
3719
|
last_name: Carrard
|
|
3847
3720
|
CarCancelCommitResponse:
|
|
@@ -3946,7 +3819,7 @@ components:
|
|
|
3946
3819
|
required:
|
|
3947
3820
|
- booking_ref
|
|
3948
3821
|
- last_name
|
|
3949
|
-
example: *
|
|
3822
|
+
example: *a13
|
|
3950
3823
|
CarExchangeVehicle:
|
|
3951
3824
|
type: object
|
|
3952
3825
|
properties:
|
|
@@ -4300,7 +4173,7 @@ components:
|
|
|
4300
4173
|
required:
|
|
4301
4174
|
- booking_ref
|
|
4302
4175
|
- last_name
|
|
4303
|
-
example: *
|
|
4176
|
+
example: *a13
|
|
4304
4177
|
DestinationSnapshotRow:
|
|
4305
4178
|
type: object
|
|
4306
4179
|
properties:
|
|
@@ -4446,6 +4319,50 @@ components:
|
|
|
4446
4319
|
`UNSUPPORTED` — the provider or fare does not allow it at all; nothing
|
|
4447
4320
|
you send will change that. Do not treat MANUAL_REQUIRED as a failure,
|
|
4448
4321
|
and do not retry UNSUPPORTED.
|
|
4322
|
+
BookingCalendarFile:
|
|
4323
|
+
type: object
|
|
4324
|
+
properties:
|
|
4325
|
+
method:
|
|
4326
|
+
type: string
|
|
4327
|
+
description: "The iTIP method (RFC 5546) this file carries: `REQUEST` for the
|
|
4328
|
+
events the booking still holds, `CANCEL` for the ones it no longer
|
|
4329
|
+
does. One file carries exactly one method — a booking that both
|
|
4330
|
+
retires and confirms flights, which is what an exchange does, comes
|
|
4331
|
+
back as two files rather than one mixed one."
|
|
4332
|
+
example: REQUEST
|
|
4333
|
+
filename:
|
|
4334
|
+
type: string
|
|
4335
|
+
description: The name the confirmation or cancellation email attached this same
|
|
4336
|
+
file under.
|
|
4337
|
+
example: jinko-JNK-A0AUR2.ics
|
|
4338
|
+
content_type:
|
|
4339
|
+
type: string
|
|
4340
|
+
description: "The media type, including the `method` parameter. Attach or serve
|
|
4341
|
+
the file under this exact value: the method parameter is what makes
|
|
4342
|
+
a mail client act on the file instead of storing it as a plain
|
|
4343
|
+
attachment."
|
|
4344
|
+
example: text/calendar; charset=utf-8; method=REQUEST
|
|
4345
|
+
content:
|
|
4346
|
+
type: string
|
|
4347
|
+
description: The iCalendar file itself. Real CRLF line endings, as iCalendar
|
|
4348
|
+
requires — the example escapes them only so it can be read here.
|
|
4349
|
+
Byte-identical to what the email carried for the current state of
|
|
4350
|
+
this booking.
|
|
4351
|
+
example: BEGIN:VCALENDAR\r\nVERSION:2.0\r\n…\r\nEND:VCALENDAR\r\n
|
|
4352
|
+
BookingCalendar:
|
|
4353
|
+
type: object
|
|
4354
|
+
properties:
|
|
4355
|
+
files:
|
|
4356
|
+
type: array
|
|
4357
|
+
items:
|
|
4358
|
+
$ref: "#/components/schemas/BookingCalendarFile"
|
|
4359
|
+
description: "The iCalendar files this booking is carried in, cancellation first
|
|
4360
|
+
and then invitation — the order the emails attach them in. Never
|
|
4361
|
+
empty: a booking with nothing to put in a calendar omits `calendar`
|
|
4362
|
+
altogether."
|
|
4363
|
+
description: The calendar entries for this booking, as iCalendar files. Absent —
|
|
4364
|
+
not null, and never an empty list — when the booking holds no flight and
|
|
4365
|
+
no hotel, and whenever the files could not be built.
|
|
4449
4366
|
Booking:
|
|
4450
4367
|
type: object
|
|
4451
4368
|
properties:
|
|
@@ -4466,39 +4383,7 @@ components:
|
|
|
4466
4383
|
type: string
|
|
4467
4384
|
example: Carrard
|
|
4468
4385
|
total_paid:
|
|
4469
|
-
|
|
4470
|
-
properties:
|
|
4471
|
-
value:
|
|
4472
|
-
type: integer
|
|
4473
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
4474
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
4475
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
4476
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
4477
|
-
example: 41250
|
|
4478
|
-
amount:
|
|
4479
|
-
type: number
|
|
4480
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
4481
|
-
together); its scale depends on decimal_places. When this object
|
|
4482
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
4483
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
4484
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
4485
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
4486
|
-
trip and checkout totals).
|
|
4487
|
-
currency:
|
|
4488
|
-
type: string
|
|
4489
|
-
description: ISO 4217 currency code.
|
|
4490
|
-
example: USD
|
|
4491
|
-
decimal_places:
|
|
4492
|
-
type: integer
|
|
4493
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
4494
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
4495
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
4496
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
4497
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
4498
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
4499
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
4500
|
-
digits for the currency."
|
|
4501
|
-
example: 2
|
|
4386
|
+
$ref: "#/components/schemas/Money"
|
|
4502
4387
|
refund_support_level:
|
|
4503
4388
|
$ref: "#/components/schemas/SupportLevel"
|
|
4504
4389
|
exchange_support_level:
|
|
@@ -4506,6 +4391,8 @@ components:
|
|
|
4506
4391
|
created_at:
|
|
4507
4392
|
type: string
|
|
4508
4393
|
example: "2026-05-20T09:14:00Z"
|
|
4394
|
+
calendar:
|
|
4395
|
+
$ref: "#/components/schemas/BookingCalendar"
|
|
4509
4396
|
description: "The booked trip. Minimally described — the platform sends more
|
|
4510
4397
|
(items, per-item confirmations, provider state) and all of it reaches
|
|
4511
4398
|
you. The two `*_support_level` fields are a SNAPSHOT: a fare’s void
|
|
@@ -4528,6 +4415,12 @@ components:
|
|
|
4528
4415
|
currency: USD
|
|
4529
4416
|
decimal_places: 2
|
|
4530
4417
|
created_at: "2026-05-20T09:14:00Z"
|
|
4418
|
+
calendar:
|
|
4419
|
+
files:
|
|
4420
|
+
- method: REQUEST
|
|
4421
|
+
filename: jinko-JNK-A0AUR2.ics
|
|
4422
|
+
content_type: text/calendar; charset=utf-8; method=REQUEST
|
|
4423
|
+
content: BEGIN:VCALENDAR\r\nVERSION:2.0\r\n…\r\nEND:VCALENDAR\r\n
|
|
4531
4424
|
GetBookingRequest:
|
|
4532
4425
|
type: object
|
|
4533
4426
|
properties:
|
|
@@ -4568,112 +4461,17 @@ components:
|
|
|
4568
4461
|
MANUAL_REQUIRED`."
|
|
4569
4462
|
example: fare rules require agent review
|
|
4570
4463
|
refund_amount:
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
4579
|
-
example: 41250
|
|
4580
|
-
amount:
|
|
4581
|
-
type: number
|
|
4582
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
4583
|
-
together); its scale depends on decimal_places. When this object
|
|
4584
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
4585
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
4586
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
4587
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
4588
|
-
trip and checkout totals).
|
|
4589
|
-
currency:
|
|
4590
|
-
type: string
|
|
4591
|
-
description: ISO 4217 currency code.
|
|
4592
|
-
example: USD
|
|
4593
|
-
decimal_places:
|
|
4594
|
-
type: integer
|
|
4595
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
4596
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
4597
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
4598
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
4599
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
4600
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
4601
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
4602
|
-
digits for the currency."
|
|
4603
|
-
example: 2
|
|
4604
|
-
description: "What would be refunded. **Absent is not zero** — on a voidable
|
|
4605
|
-
ticket (`is_voidable: true`) the whole charge is reversed and no
|
|
4606
|
-
amount is quoted, and on an unsupported refund nothing is computed
|
|
4607
|
-
at all. Read `is_refundable` and `is_voidable` before showing a
|
|
4608
|
-
figure."
|
|
4464
|
+
allOf:
|
|
4465
|
+
- $ref: "#/components/schemas/Money"
|
|
4466
|
+
- description: "What would be refunded. **Absent is not zero** — on a voidable
|
|
4467
|
+
ticket (`is_voidable: true`) the whole charge is reversed and no
|
|
4468
|
+
amount is quoted, and on an unsupported refund nothing is
|
|
4469
|
+
computed at all. Read `is_refundable` and `is_voidable` before
|
|
4470
|
+
showing a figure."
|
|
4609
4471
|
penalty_amount:
|
|
4610
|
-
|
|
4611
|
-
properties:
|
|
4612
|
-
value:
|
|
4613
|
-
type: integer
|
|
4614
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
4615
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
4616
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
4617
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
4618
|
-
example: 41250
|
|
4619
|
-
amount:
|
|
4620
|
-
type: number
|
|
4621
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
4622
|
-
together); its scale depends on decimal_places. When this object
|
|
4623
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
4624
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
4625
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
4626
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
4627
|
-
trip and checkout totals).
|
|
4628
|
-
currency:
|
|
4629
|
-
type: string
|
|
4630
|
-
description: ISO 4217 currency code.
|
|
4631
|
-
example: USD
|
|
4632
|
-
decimal_places:
|
|
4633
|
-
type: integer
|
|
4634
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
4635
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
4636
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
4637
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
4638
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
4639
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
4640
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
4641
|
-
digits for the currency."
|
|
4642
|
-
example: 2
|
|
4472
|
+
$ref: "#/components/schemas/Money"
|
|
4643
4473
|
total_paid:
|
|
4644
|
-
|
|
4645
|
-
properties:
|
|
4646
|
-
value:
|
|
4647
|
-
type: integer
|
|
4648
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
4649
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
4650
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
4651
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
4652
|
-
example: 41250
|
|
4653
|
-
amount:
|
|
4654
|
-
type: number
|
|
4655
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
4656
|
-
together); its scale depends on decimal_places. When this object
|
|
4657
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
4658
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
4659
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
4660
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
4661
|
-
trip and checkout totals).
|
|
4662
|
-
currency:
|
|
4663
|
-
type: string
|
|
4664
|
-
description: ISO 4217 currency code.
|
|
4665
|
-
example: USD
|
|
4666
|
-
decimal_places:
|
|
4667
|
-
type: integer
|
|
4668
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
4669
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
4670
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
4671
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
4672
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
4673
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
4674
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
4675
|
-
digits for the currency."
|
|
4676
|
-
example: 2
|
|
4474
|
+
$ref: "#/components/schemas/Money"
|
|
4677
4475
|
expires_at:
|
|
4678
4476
|
type: string
|
|
4679
4477
|
example: "2026-06-02T00:00:00Z"
|
|
@@ -4701,7 +4499,7 @@ components:
|
|
|
4701
4499
|
required:
|
|
4702
4500
|
- booking_ref
|
|
4703
4501
|
- last_name
|
|
4704
|
-
example: &
|
|
4502
|
+
example: &a14
|
|
4705
4503
|
booking_ref: JNK-A0AUR2
|
|
4706
4504
|
last_name: Carrard
|
|
4707
4505
|
ServicingState:
|
|
@@ -4732,113 +4530,18 @@ components:
|
|
|
4732
4530
|
type: object
|
|
4733
4531
|
properties:
|
|
4734
4532
|
refund_net:
|
|
4735
|
-
|
|
4736
|
-
properties:
|
|
4737
|
-
value:
|
|
4738
|
-
type: integer
|
|
4739
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
4740
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
4741
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
4742
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
4743
|
-
example: 41250
|
|
4744
|
-
amount:
|
|
4745
|
-
type: number
|
|
4746
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
4747
|
-
together); its scale depends on decimal_places. When this object
|
|
4748
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
4749
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
4750
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
4751
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
4752
|
-
trip and checkout totals).
|
|
4753
|
-
currency:
|
|
4754
|
-
type: string
|
|
4755
|
-
description: ISO 4217 currency code.
|
|
4756
|
-
example: USD
|
|
4757
|
-
decimal_places:
|
|
4758
|
-
type: integer
|
|
4759
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
4760
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
4761
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
4762
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
4763
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
4764
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
4765
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
4766
|
-
digits for the currency."
|
|
4767
|
-
example: 2
|
|
4533
|
+
$ref: "#/components/schemas/Money"
|
|
4768
4534
|
penalty_net:
|
|
4769
|
-
|
|
4770
|
-
properties:
|
|
4771
|
-
value:
|
|
4772
|
-
type: integer
|
|
4773
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
4774
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
4775
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
4776
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
4777
|
-
example: 41250
|
|
4778
|
-
amount:
|
|
4779
|
-
type: number
|
|
4780
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
4781
|
-
together); its scale depends on decimal_places. When this object
|
|
4782
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
4783
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
4784
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
4785
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
4786
|
-
trip and checkout totals).
|
|
4787
|
-
currency:
|
|
4788
|
-
type: string
|
|
4789
|
-
description: ISO 4217 currency code.
|
|
4790
|
-
example: USD
|
|
4791
|
-
decimal_places:
|
|
4792
|
-
type: integer
|
|
4793
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
4794
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
4795
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
4796
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
4797
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
4798
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
4799
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
4800
|
-
digits for the currency."
|
|
4801
|
-
example: 2
|
|
4535
|
+
$ref: "#/components/schemas/Money"
|
|
4802
4536
|
currency:
|
|
4803
4537
|
type: string
|
|
4804
4538
|
example: USD
|
|
4805
4539
|
total_paid_net:
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
4812
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
4813
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
4814
|
-
example: 41250
|
|
4815
|
-
amount:
|
|
4816
|
-
type: number
|
|
4817
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
4818
|
-
together); its scale depends on decimal_places. When this object
|
|
4819
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
4820
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
4821
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
4822
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
4823
|
-
trip and checkout totals).
|
|
4824
|
-
currency:
|
|
4825
|
-
type: string
|
|
4826
|
-
description: ISO 4217 currency code.
|
|
4827
|
-
example: USD
|
|
4828
|
-
decimal_places:
|
|
4829
|
-
type: integer
|
|
4830
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
4831
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
4832
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
4833
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
4834
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
4835
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
4836
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
4837
|
-
digits for the currency."
|
|
4838
|
-
example: 2
|
|
4839
|
-
description: What the airline recorded as paid to it for this item, net of
|
|
4840
|
-
Jinko’s margin. The base `refund_net` is measured against, and not
|
|
4841
|
-
what the customer paid.
|
|
4540
|
+
allOf:
|
|
4541
|
+
- $ref: "#/components/schemas/Money"
|
|
4542
|
+
- description: What the airline recorded as paid to it for this item, net of
|
|
4543
|
+
Jinko’s margin. The base `refund_net` is measured against, and
|
|
4544
|
+
not what the customer paid.
|
|
4842
4545
|
description: "The airline's own net figures, for reconciliation — never what the
|
|
4843
4546
|
customer receives. `refund_net` is what the airline returns to Jinko,
|
|
4844
4547
|
`penalty_net` what it withheld from Jinko and `total_paid_net` what it
|
|
@@ -4882,86 +4585,24 @@ components:
|
|
|
4882
4585
|
operation_kind:
|
|
4883
4586
|
$ref: "#/components/schemas/FlightOperationKind"
|
|
4884
4587
|
refund_amount:
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
example: 41250
|
|
4894
|
-
amount:
|
|
4895
|
-
type: number
|
|
4896
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
4897
|
-
together); its scale depends on decimal_places. When this object
|
|
4898
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
4899
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
4900
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
4901
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
4902
|
-
trip and checkout totals).
|
|
4903
|
-
currency:
|
|
4904
|
-
type: string
|
|
4905
|
-
description: ISO 4217 currency code.
|
|
4906
|
-
example: USD
|
|
4907
|
-
decimal_places:
|
|
4908
|
-
type: integer
|
|
4909
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
4910
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
4911
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
4912
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
4913
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
4914
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
4915
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
4916
|
-
digits for the currency."
|
|
4917
|
-
example: 2
|
|
4918
|
-
description: "THE CUSTOMER FIGURE: what goes back to the payment method that
|
|
4919
|
-
paid for this ticket — what they paid, less the penalty, or the
|
|
4920
|
-
whole charge when the ticket was voided (`operation_kind: void`).
|
|
4921
|
-
Show this one. `confirmed_refund_amount` beside it is the airline's
|
|
4922
|
-
net figure and is smaller on any ticket sold at a margin. Absent is
|
|
4923
|
-
not zero."
|
|
4588
|
+
allOf:
|
|
4589
|
+
- $ref: "#/components/schemas/Money"
|
|
4590
|
+
- description: "THE CUSTOMER FIGURE: what goes back to the payment method that
|
|
4591
|
+
paid for this ticket — what they paid, less the penalty, or the
|
|
4592
|
+
whole charge when the ticket was voided (`operation_kind:
|
|
4593
|
+
void`). Show this one. `confirmed_refund_amount` beside it is
|
|
4594
|
+
the airline's net figure and is smaller on any ticket sold at a
|
|
4595
|
+
margin. Absent is not zero."
|
|
4924
4596
|
confirmed_refund_amount:
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
amount:
|
|
4935
|
-
type: number
|
|
4936
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
4937
|
-
together); its scale depends on decimal_places. When this object
|
|
4938
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
4939
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
4940
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
4941
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
4942
|
-
trip and checkout totals).
|
|
4943
|
-
currency:
|
|
4944
|
-
type: string
|
|
4945
|
-
description: ISO 4217 currency code.
|
|
4946
|
-
example: USD
|
|
4947
|
-
decimal_places:
|
|
4948
|
-
type: integer
|
|
4949
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
4950
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
4951
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
4952
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
4953
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
4954
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
4955
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
4956
|
-
digits for the currency."
|
|
4957
|
-
example: 2
|
|
4958
|
-
description: The AIRLINE's net refund — what the supplier returns to Jinko, not
|
|
4959
|
-
what the customer receives — kept unchanged for one contract version
|
|
4960
|
-
under the name it has always had. Read `refund_amount` for the
|
|
4961
|
-
customer and `provider_figures.refund_net` for reconciliation; this
|
|
4962
|
-
field is removed in the next version. Omitted on a void, where no
|
|
4963
|
-
supplier figure is read at all.
|
|
4964
|
-
deprecated: true
|
|
4597
|
+
allOf:
|
|
4598
|
+
- $ref: "#/components/schemas/Money"
|
|
4599
|
+
- description: The AIRLINE's net refund — what the supplier returns to Jinko, not
|
|
4600
|
+
what the customer receives — kept unchanged for one contract
|
|
4601
|
+
version under the name it has always had. Read `refund_amount`
|
|
4602
|
+
for the customer and `provider_figures.refund_net` for
|
|
4603
|
+
reconciliation; this field is removed in the next version.
|
|
4604
|
+
Omitted on a void, where no supplier figure is read at all.
|
|
4605
|
+
deprecated: true
|
|
4965
4606
|
provider_figures:
|
|
4966
4607
|
$ref: "#/components/schemas/FlightProviderFigures"
|
|
4967
4608
|
refund_reference:
|
|
@@ -4991,7 +4632,7 @@ components:
|
|
|
4991
4632
|
required:
|
|
4992
4633
|
- booking_ref
|
|
4993
4634
|
- last_name
|
|
4994
|
-
example: *
|
|
4635
|
+
example: *a14
|
|
4995
4636
|
RefundStatusResponse:
|
|
4996
4637
|
type: object
|
|
4997
4638
|
properties:
|
|
@@ -5018,42 +4659,11 @@ components:
|
|
|
5018
4659
|
state:
|
|
5019
4660
|
$ref: "#/components/schemas/ServicingState"
|
|
5020
4661
|
refund_amount:
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
5027
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
5028
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
5029
|
-
example: 41250
|
|
5030
|
-
amount:
|
|
5031
|
-
type: number
|
|
5032
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5033
|
-
together); its scale depends on decimal_places. When this object
|
|
5034
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5035
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5036
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5037
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5038
|
-
trip and checkout totals).
|
|
5039
|
-
currency:
|
|
5040
|
-
type: string
|
|
5041
|
-
description: ISO 4217 currency code.
|
|
5042
|
-
example: USD
|
|
5043
|
-
decimal_places:
|
|
5044
|
-
type: integer
|
|
5045
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5046
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5047
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5048
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5049
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5050
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5051
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5052
|
-
digits for the currency."
|
|
5053
|
-
example: 2
|
|
5054
|
-
description: "THE CUSTOMER FIGURE: what goes back to the payment method — the
|
|
5055
|
-
settled figure once the refund has settled, the quoted one before.
|
|
5056
|
-
Absent is not zero."
|
|
4662
|
+
allOf:
|
|
4663
|
+
- $ref: "#/components/schemas/Money"
|
|
4664
|
+
- description: "THE CUSTOMER FIGURE: what goes back to the payment method — the
|
|
4665
|
+
settled figure once the refund has settled, the quoted one
|
|
4666
|
+
before. Absent is not zero."
|
|
5057
4667
|
refund_reference:
|
|
5058
4668
|
type: string
|
|
5059
4669
|
example: rfnd_3c91f0a2
|
|
@@ -5083,7 +4693,7 @@ components:
|
|
|
5083
4693
|
required:
|
|
5084
4694
|
- booking_ref
|
|
5085
4695
|
- last_name
|
|
5086
|
-
example: *
|
|
4696
|
+
example: *a14
|
|
5087
4697
|
ExchangeOffer:
|
|
5088
4698
|
type: object
|
|
5089
4699
|
properties:
|
|
@@ -5101,39 +4711,7 @@ components:
|
|
|
5101
4711
|
/v1/exchange_price is the binding figure.
|
|
5102
4712
|
example: additional_payment_due
|
|
5103
4713
|
estimated_amount:
|
|
5104
|
-
|
|
5105
|
-
properties:
|
|
5106
|
-
value:
|
|
5107
|
-
type: integer
|
|
5108
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
5109
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
5110
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
5111
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
5112
|
-
example: 41250
|
|
5113
|
-
amount:
|
|
5114
|
-
type: number
|
|
5115
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5116
|
-
together); its scale depends on decimal_places. When this object
|
|
5117
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5118
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5119
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5120
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5121
|
-
trip and checkout totals).
|
|
5122
|
-
currency:
|
|
5123
|
-
type: string
|
|
5124
|
-
description: ISO 4217 currency code.
|
|
5125
|
-
example: USD
|
|
5126
|
-
decimal_places:
|
|
5127
|
-
type: integer
|
|
5128
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5129
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5130
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5131
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5132
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5133
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5134
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5135
|
-
digits for the currency."
|
|
5136
|
-
example: 2
|
|
4714
|
+
$ref: "#/components/schemas/Money"
|
|
5137
4715
|
validating_carrier:
|
|
5138
4716
|
type: string
|
|
5139
4717
|
example: AA
|
|
@@ -5176,7 +4754,7 @@ components:
|
|
|
5176
4754
|
required:
|
|
5177
4755
|
- booking_ref
|
|
5178
4756
|
- last_name
|
|
5179
|
-
example: *
|
|
4757
|
+
example: *a14
|
|
5180
4758
|
ExchangePriceResponse:
|
|
5181
4759
|
type: object
|
|
5182
4760
|
properties:
|
|
@@ -5184,141 +4762,13 @@ components:
|
|
|
5184
4762
|
type: string
|
|
5185
4763
|
example: additional_payment_due
|
|
5186
4764
|
fare_difference:
|
|
5187
|
-
|
|
5188
|
-
properties:
|
|
5189
|
-
value:
|
|
5190
|
-
type: integer
|
|
5191
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
5192
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
5193
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
5194
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
5195
|
-
example: 41250
|
|
5196
|
-
amount:
|
|
5197
|
-
type: number
|
|
5198
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5199
|
-
together); its scale depends on decimal_places. When this object
|
|
5200
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5201
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5202
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5203
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5204
|
-
trip and checkout totals).
|
|
5205
|
-
currency:
|
|
5206
|
-
type: string
|
|
5207
|
-
description: ISO 4217 currency code.
|
|
5208
|
-
example: USD
|
|
5209
|
-
decimal_places:
|
|
5210
|
-
type: integer
|
|
5211
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5212
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5213
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5214
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5215
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5216
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5217
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5218
|
-
digits for the currency."
|
|
5219
|
-
example: 2
|
|
4765
|
+
$ref: "#/components/schemas/Money"
|
|
5220
4766
|
penalty_amount:
|
|
5221
|
-
|
|
5222
|
-
properties:
|
|
5223
|
-
value:
|
|
5224
|
-
type: integer
|
|
5225
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
5226
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
5227
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
5228
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
5229
|
-
example: 41250
|
|
5230
|
-
amount:
|
|
5231
|
-
type: number
|
|
5232
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5233
|
-
together); its scale depends on decimal_places. When this object
|
|
5234
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5235
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5236
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5237
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5238
|
-
trip and checkout totals).
|
|
5239
|
-
currency:
|
|
5240
|
-
type: string
|
|
5241
|
-
description: ISO 4217 currency code.
|
|
5242
|
-
example: USD
|
|
5243
|
-
decimal_places:
|
|
5244
|
-
type: integer
|
|
5245
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5246
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5247
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5248
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5249
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5250
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5251
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5252
|
-
digits for the currency."
|
|
5253
|
-
example: 2
|
|
4767
|
+
$ref: "#/components/schemas/Money"
|
|
5254
4768
|
total_due:
|
|
5255
|
-
|
|
5256
|
-
properties:
|
|
5257
|
-
value:
|
|
5258
|
-
type: integer
|
|
5259
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
5260
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
5261
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
5262
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
5263
|
-
example: 41250
|
|
5264
|
-
amount:
|
|
5265
|
-
type: number
|
|
5266
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5267
|
-
together); its scale depends on decimal_places. When this object
|
|
5268
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5269
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5270
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5271
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5272
|
-
trip and checkout totals).
|
|
5273
|
-
currency:
|
|
5274
|
-
type: string
|
|
5275
|
-
description: ISO 4217 currency code.
|
|
5276
|
-
example: USD
|
|
5277
|
-
decimal_places:
|
|
5278
|
-
type: integer
|
|
5279
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5280
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5281
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5282
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5283
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5284
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5285
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5286
|
-
digits for the currency."
|
|
5287
|
-
example: 2
|
|
4769
|
+
$ref: "#/components/schemas/Money"
|
|
5288
4770
|
total_refund:
|
|
5289
|
-
|
|
5290
|
-
properties:
|
|
5291
|
-
value:
|
|
5292
|
-
type: integer
|
|
5293
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
5294
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
5295
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
5296
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
5297
|
-
example: 41250
|
|
5298
|
-
amount:
|
|
5299
|
-
type: number
|
|
5300
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5301
|
-
together); its scale depends on decimal_places. When this object
|
|
5302
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5303
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5304
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5305
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5306
|
-
trip and checkout totals).
|
|
5307
|
-
currency:
|
|
5308
|
-
type: string
|
|
5309
|
-
description: ISO 4217 currency code.
|
|
5310
|
-
example: USD
|
|
5311
|
-
decimal_places:
|
|
5312
|
-
type: integer
|
|
5313
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5314
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5315
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5316
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5317
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5318
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5319
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5320
|
-
digits for the currency."
|
|
5321
|
-
example: 2
|
|
4771
|
+
$ref: "#/components/schemas/Money"
|
|
5322
4772
|
session_reference:
|
|
5323
4773
|
type: string
|
|
5324
4774
|
example: exch_7a1c93f0
|
|
@@ -5451,78 +4901,14 @@ components:
|
|
|
5451
4901
|
required:
|
|
5452
4902
|
- booking_ref
|
|
5453
4903
|
- last_name
|
|
5454
|
-
example: *
|
|
5455
|
-
ProviderFigures:
|
|
5456
|
-
type: object
|
|
5457
|
-
properties:
|
|
5458
|
-
refund_net:
|
|
5459
|
-
|
|
5460
|
-
properties:
|
|
5461
|
-
value:
|
|
5462
|
-
type: integer
|
|
5463
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
5464
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
5465
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
5466
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
5467
|
-
example: 41250
|
|
5468
|
-
amount:
|
|
5469
|
-
type: number
|
|
5470
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5471
|
-
together); its scale depends on decimal_places. When this object
|
|
5472
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5473
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5474
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5475
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5476
|
-
trip and checkout totals).
|
|
5477
|
-
currency:
|
|
5478
|
-
type: string
|
|
5479
|
-
description: ISO 4217 currency code.
|
|
5480
|
-
example: USD
|
|
5481
|
-
decimal_places:
|
|
5482
|
-
type: integer
|
|
5483
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5484
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5485
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5486
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5487
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5488
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5489
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5490
|
-
digits for the currency."
|
|
5491
|
-
example: 2
|
|
4904
|
+
example: *a14
|
|
4905
|
+
ProviderFigures:
|
|
4906
|
+
type: object
|
|
4907
|
+
properties:
|
|
4908
|
+
refund_net:
|
|
4909
|
+
$ref: "#/components/schemas/Money"
|
|
5492
4910
|
penalty_net:
|
|
5493
|
-
|
|
5494
|
-
properties:
|
|
5495
|
-
value:
|
|
5496
|
-
type: integer
|
|
5497
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
5498
|
-
divide by 10 ** decimal_places to display. Example: value 15977
|
|
5499
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
5500
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
5501
|
-
example: 41250
|
|
5502
|
-
amount:
|
|
5503
|
-
type: number
|
|
5504
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5505
|
-
together); its scale depends on decimal_places. When this object
|
|
5506
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5507
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5508
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5509
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5510
|
-
trip and checkout totals).
|
|
5511
|
-
currency:
|
|
5512
|
-
type: string
|
|
5513
|
-
description: ISO 4217 currency code.
|
|
5514
|
-
example: USD
|
|
5515
|
-
decimal_places:
|
|
5516
|
-
type: integer
|
|
5517
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5518
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5519
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5520
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5521
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5522
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5523
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5524
|
-
digits for the currency."
|
|
5525
|
-
example: 2
|
|
4911
|
+
$ref: "#/components/schemas/Money"
|
|
5526
4912
|
currency:
|
|
5527
4913
|
type: string
|
|
5528
4914
|
example: USD
|
|
@@ -5555,124 +4941,31 @@ components:
|
|
|
5555
4941
|
state:
|
|
5556
4942
|
$ref: "#/components/schemas/ServicingState"
|
|
5557
4943
|
refund_amount:
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
amount:
|
|
5568
|
-
type: number
|
|
5569
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5570
|
-
together); its scale depends on decimal_places. When this object
|
|
5571
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5572
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5573
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5574
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5575
|
-
trip and checkout totals).
|
|
5576
|
-
currency:
|
|
5577
|
-
type: string
|
|
5578
|
-
description: ISO 4217 currency code.
|
|
5579
|
-
example: USD
|
|
5580
|
-
decimal_places:
|
|
5581
|
-
type: integer
|
|
5582
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5583
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5584
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5585
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5586
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5587
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5588
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5589
|
-
digits for the currency."
|
|
5590
|
-
example: 2
|
|
5591
|
-
description: "THE CUSTOMER FIGURE: what goes back to the payment method that
|
|
5592
|
-
paid for this booking — what the customer paid for it, less
|
|
5593
|
-
`penalty_amount`. Up to contract version 0.3.0 this field carried
|
|
5594
|
-
the SUPPLIER's net refund instead, which on a booking sold at a
|
|
5595
|
-
margin is a smaller number; the supplier's figure now lives in
|
|
5596
|
-
`provider_figures.refund_net`. Absent when no refund was scheduled —
|
|
5597
|
-
absent is not zero."
|
|
4944
|
+
allOf:
|
|
4945
|
+
- $ref: "#/components/schemas/Money"
|
|
4946
|
+
- description: "THE CUSTOMER FIGURE: what goes back to the payment method that
|
|
4947
|
+
paid for this booking — what the customer paid for it, less
|
|
4948
|
+
`penalty_amount`. Up to contract version 0.3.0 this field
|
|
4949
|
+
carried the SUPPLIER's net refund instead, which on a booking
|
|
4950
|
+
sold at a margin is a smaller number; the supplier's figure now
|
|
4951
|
+
lives in `provider_figures.refund_net`. Absent when no refund
|
|
4952
|
+
was scheduled — absent is not zero."
|
|
5598
4953
|
customer_refund_amount:
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
value
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
example: 41250
|
|
5608
|
-
amount:
|
|
5609
|
-
type: number
|
|
5610
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5611
|
-
together); its scale depends on decimal_places. When this object
|
|
5612
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5613
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5614
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5615
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5616
|
-
trip and checkout totals).
|
|
5617
|
-
currency:
|
|
5618
|
-
type: string
|
|
5619
|
-
description: ISO 4217 currency code.
|
|
5620
|
-
example: USD
|
|
5621
|
-
decimal_places:
|
|
5622
|
-
type: integer
|
|
5623
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5624
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5625
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5626
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5627
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5628
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5629
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5630
|
-
digits for the currency."
|
|
5631
|
-
example: 2
|
|
5632
|
-
description: Deprecated alias of `refund_amount`, carrying the same value. It
|
|
5633
|
-
existed because `refund_amount` used to be the supplier figure; now
|
|
5634
|
-
that `refund_amount` IS the customer figure the alias is redundant.
|
|
5635
|
-
Read `refund_amount` — this field is removed in the next contract
|
|
5636
|
-
version.
|
|
5637
|
-
deprecated: true
|
|
4954
|
+
allOf:
|
|
4955
|
+
- $ref: "#/components/schemas/Money"
|
|
4956
|
+
- description: Deprecated alias of `refund_amount`, carrying the same value. It
|
|
4957
|
+
existed because `refund_amount` used to be the supplier figure;
|
|
4958
|
+
now that `refund_amount` IS the customer figure the alias is
|
|
4959
|
+
redundant. Read `refund_amount` — this field is removed in the
|
|
4960
|
+
next contract version.
|
|
4961
|
+
deprecated: true
|
|
5638
4962
|
penalty_amount:
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
with decimal_places 2 is 159.77 USD. Rendering this field
|
|
5646
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
5647
|
-
example: 41250
|
|
5648
|
-
amount:
|
|
5649
|
-
type: number
|
|
5650
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5651
|
-
together); its scale depends on decimal_places. When this object
|
|
5652
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5653
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5654
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5655
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5656
|
-
trip and checkout totals).
|
|
5657
|
-
currency:
|
|
5658
|
-
type: string
|
|
5659
|
-
description: ISO 4217 currency code.
|
|
5660
|
-
example: USD
|
|
5661
|
-
decimal_places:
|
|
5662
|
-
type: integer
|
|
5663
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5664
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5665
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5666
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5667
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5668
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5669
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5670
|
-
digits for the currency."
|
|
5671
|
-
example: 2
|
|
5672
|
-
description: "The cancellation penalty withheld from the customer, on the same
|
|
5673
|
-
basis as `refund_amount`: what they paid, less this, is what they
|
|
5674
|
-
get back. The penalty the SUPPLIER withheld from Jinko is
|
|
5675
|
-
`provider_figures.penalty_net`."
|
|
4963
|
+
allOf:
|
|
4964
|
+
- $ref: "#/components/schemas/Money"
|
|
4965
|
+
- description: "The cancellation penalty withheld from the customer, on the same
|
|
4966
|
+
basis as `refund_amount`: what they paid, less this, is what
|
|
4967
|
+
they get back. The penalty the SUPPLIER withheld from Jinko is
|
|
4968
|
+
`provider_figures.penalty_net`."
|
|
5676
4969
|
provider_figures:
|
|
5677
4970
|
$ref: "#/components/schemas/ProviderFigures"
|
|
5678
4971
|
connector_reference:
|
|
@@ -5765,89 +5058,32 @@ components:
|
|
|
5765
5058
|
holding several items is quoted and cancelled one item at a time.
|
|
5766
5059
|
example: itm_7f2c9a4e8b1d
|
|
5767
5060
|
refund:
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
together); its scale depends on decimal_places. When this object
|
|
5781
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5782
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5783
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5784
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5785
|
-
trip and checkout totals).
|
|
5786
|
-
currency:
|
|
5787
|
-
type: string
|
|
5788
|
-
description: ISO 4217 currency code.
|
|
5789
|
-
example: USD
|
|
5790
|
-
decimal_places:
|
|
5791
|
-
type: integer
|
|
5792
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5793
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5794
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5795
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5796
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5797
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5798
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5799
|
-
digits for the currency."
|
|
5800
|
-
example: 2
|
|
5801
|
-
basis:
|
|
5802
|
-
type: string
|
|
5803
|
-
description: How the figure was computed. `sell_minus_penalty` — what the
|
|
5804
|
-
customer paid for this item, less the penalty. `original_charge`
|
|
5805
|
-
— the entire charge is reversed, penalty-free (a void). The
|
|
5806
|
-
platform chooses; the caller cannot ask for one.
|
|
5807
|
-
example: sell_minus_penalty
|
|
5061
|
+
allOf:
|
|
5062
|
+
- $ref: "#/components/schemas/Money"
|
|
5063
|
+
- type: object
|
|
5064
|
+
properties:
|
|
5065
|
+
basis:
|
|
5066
|
+
type: string
|
|
5067
|
+
description: How the figure was computed. `sell_minus_penalty` — what the
|
|
5068
|
+
customer paid for this item, less the penalty.
|
|
5069
|
+
`original_charge` — the entire charge is reversed,
|
|
5070
|
+
penalty-free (a void). The platform chooses; the caller
|
|
5071
|
+
cannot ask for one.
|
|
5072
|
+
example: sell_minus_penalty
|
|
5808
5073
|
description: "THE CUSTOMER FIGURE: what would go back to the payment method, on
|
|
5809
5074
|
the basis named in `basis`. Show this one. Absent is not zero."
|
|
5810
5075
|
penalty:
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5823
|
-
together); its scale depends on decimal_places. When this object
|
|
5824
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
5825
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
5826
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
5827
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
5828
|
-
trip and checkout totals).
|
|
5829
|
-
currency:
|
|
5830
|
-
type: string
|
|
5831
|
-
description: ISO 4217 currency code.
|
|
5832
|
-
example: USD
|
|
5833
|
-
decimal_places:
|
|
5834
|
-
type: integer
|
|
5835
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5836
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
5837
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
5838
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
5839
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
5840
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
5841
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
5842
|
-
digits for the currency."
|
|
5843
|
-
example: 2
|
|
5844
|
-
fee_known:
|
|
5845
|
-
type: boolean
|
|
5846
|
-
description: false means the penalty could not be established — UNKNOWN, not
|
|
5847
|
-
zero. Render it as "we will confirm the fee", never as free
|
|
5848
|
-
cancellation, and expect the final figure on the operation
|
|
5849
|
-
status.
|
|
5850
|
-
example: true
|
|
5076
|
+
allOf:
|
|
5077
|
+
- $ref: "#/components/schemas/Money"
|
|
5078
|
+
- type: object
|
|
5079
|
+
properties:
|
|
5080
|
+
fee_known:
|
|
5081
|
+
type: boolean
|
|
5082
|
+
description: false means the penalty could not be established — UNKNOWN, not
|
|
5083
|
+
zero. Render it as "we will confirm the fee", never as free
|
|
5084
|
+
cancellation, and expect the final figure on the operation
|
|
5085
|
+
status.
|
|
5086
|
+
example: true
|
|
5851
5087
|
description: What the customer would forfeit — read `fee_known` before showing it.
|
|
5852
5088
|
policy:
|
|
5853
5089
|
type: object
|
|
@@ -5872,43 +5108,7 @@ components:
|
|
|
5872
5108
|
description: When this step starts applying.
|
|
5873
5109
|
example: "2026-09-01T00:00:00Z"
|
|
5874
5110
|
amount:
|
|
5875
|
-
|
|
5876
|
-
properties:
|
|
5877
|
-
value:
|
|
5878
|
-
type: integer
|
|
5879
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
5880
|
-
divide by 10 ** decimal_places to display. Example:
|
|
5881
|
-
value 15977 with decimal_places 2 is 159.77 USD.
|
|
5882
|
-
Rendering this field directly shows prices 100x too
|
|
5883
|
-
high for 2-decimal currencies."
|
|
5884
|
-
example: 41250
|
|
5885
|
-
amount:
|
|
5886
|
-
type: number
|
|
5887
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
5888
|
-
together); its scale depends on decimal_places. When
|
|
5889
|
-
this object carries decimal_places, amount is an
|
|
5890
|
-
INTEGER in minor units — divide by 10 **
|
|
5891
|
-
decimal_places (e.g. select_ancillaries
|
|
5892
|
-
total_with_ancillaries). When there is no
|
|
5893
|
-
decimal_places field, amount is a decimal in MAJOR
|
|
5894
|
-
units, safe to display as-is (e.g. trip and checkout
|
|
5895
|
-
totals).
|
|
5896
|
-
currency:
|
|
5897
|
-
type: string
|
|
5898
|
-
description: ISO 4217 currency code.
|
|
5899
|
-
example: USD
|
|
5900
|
-
decimal_places:
|
|
5901
|
-
type: integer
|
|
5902
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
5903
|
-
decimal_places. Always sent alongside minor-unit
|
|
5904
|
-
amounts. Usually the ISO 4217 digits of the currency
|
|
5905
|
-
(2 for USD/EUR/GBP, 0 for JPY/KRW, 3 for BHD/JOD/KWD)
|
|
5906
|
-
but currency-converted prices can carry a different
|
|
5907
|
-
scale — ALWAYS use the decimal_places sent with the
|
|
5908
|
-
amount, never a hardcoded 2. Only if the field is
|
|
5909
|
-
genuinely absent on a value-shaped object, fall back
|
|
5910
|
-
to the ISO digits for the currency."
|
|
5911
|
-
example: 2
|
|
5111
|
+
$ref: "#/components/schemas/Money"
|
|
5912
5112
|
fraction:
|
|
5913
5113
|
type: number
|
|
5914
5114
|
description: The share of the paid price withheld from `from` onwards, when the
|
|
@@ -6024,41 +5224,7 @@ components:
|
|
|
6024
5224
|
type: object
|
|
6025
5225
|
properties:
|
|
6026
5226
|
refund:
|
|
6027
|
-
|
|
6028
|
-
properties:
|
|
6029
|
-
value:
|
|
6030
|
-
type: integer
|
|
6031
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
6032
|
-
divide by 10 ** decimal_places to display. Example: value
|
|
6033
|
-
15977 with decimal_places 2 is 159.77 USD. Rendering this
|
|
6034
|
-
field directly shows prices 100x too high for 2-decimal
|
|
6035
|
-
currencies."
|
|
6036
|
-
example: 41250
|
|
6037
|
-
amount:
|
|
6038
|
-
type: number
|
|
6039
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
6040
|
-
together); its scale depends on decimal_places. When this
|
|
6041
|
-
object carries decimal_places, amount is an INTEGER in minor
|
|
6042
|
-
units — divide by 10 ** decimal_places (e.g.
|
|
6043
|
-
select_ancillaries total_with_ancillaries). When there is no
|
|
6044
|
-
decimal_places field, amount is a decimal in MAJOR units,
|
|
6045
|
-
safe to display as-is (e.g. trip and checkout totals).
|
|
6046
|
-
currency:
|
|
6047
|
-
type: string
|
|
6048
|
-
description: ISO 4217 currency code.
|
|
6049
|
-
example: USD
|
|
6050
|
-
decimal_places:
|
|
6051
|
-
type: integer
|
|
6052
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
6053
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
6054
|
-
Usually the ISO 4217 digits of the currency (2 for
|
|
6055
|
-
USD/EUR/GBP, 0 for JPY/KRW, 3 for BHD/JOD/KWD) but
|
|
6056
|
-
currency-converted prices can carry a different scale —
|
|
6057
|
-
ALWAYS use the decimal_places sent with the amount, never a
|
|
6058
|
-
hardcoded 2. Only if the field is genuinely absent on a
|
|
6059
|
-
value-shaped object, fall back to the ISO digits for the
|
|
6060
|
-
currency."
|
|
6061
|
-
example: 2
|
|
5227
|
+
$ref: "#/components/schemas/Money"
|
|
6062
5228
|
description: The customer refund as it stands now, on `quote_drift`. This is
|
|
6063
5229
|
what the customer would get if they accepted the new quote.
|
|
6064
5230
|
active_operation:
|
|
@@ -6069,43 +5235,13 @@ components:
|
|
|
6069
5235
|
/v1/flight_refund_status.
|
|
6070
5236
|
example: svc_01J7ZR5Q2KME8V4T
|
|
6071
5237
|
shortfall:
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
6080
|
-
example: 41250
|
|
6081
|
-
amount:
|
|
6082
|
-
type: number
|
|
6083
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
6084
|
-
together); its scale depends on decimal_places. When this object
|
|
6085
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
6086
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
6087
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
6088
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
6089
|
-
trip and checkout totals).
|
|
6090
|
-
currency:
|
|
6091
|
-
type: string
|
|
6092
|
-
description: ISO 4217 currency code.
|
|
6093
|
-
example: USD
|
|
6094
|
-
decimal_places:
|
|
6095
|
-
type: integer
|
|
6096
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
6097
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
6098
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
6099
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
6100
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
6101
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
6102
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
6103
|
-
digits for the currency."
|
|
6104
|
-
example: 2
|
|
6105
|
-
description: How much of the refund could not be reserved, on
|
|
6106
|
-
`funds_unavailable`. The refusal is about money still moving on the
|
|
6107
|
-
original payment, not about this booking, so this is the figure that
|
|
6108
|
-
says how much has to clear before a commit can succeed.
|
|
5238
|
+
allOf:
|
|
5239
|
+
- $ref: "#/components/schemas/Money"
|
|
5240
|
+
- description: How much of the refund could not be reserved, on
|
|
5241
|
+
`funds_unavailable`. The refusal is about money still moving on
|
|
5242
|
+
the original payment, not about this booking, so this is the
|
|
5243
|
+
figure that says how much has to clear before a commit can
|
|
5244
|
+
succeed.
|
|
6109
5245
|
blocking:
|
|
6110
5246
|
type: array
|
|
6111
5247
|
items:
|
|
@@ -6259,58 +5395,29 @@ components:
|
|
|
6259
5395
|
still moving — that is the normal middle of a cancellation, not a
|
|
6260
5396
|
discrepancy.
|
|
6261
5397
|
money:
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
type: integer
|
|
6286
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
6287
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
6288
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
6289
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
6290
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
6291
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
6292
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
6293
|
-
digits for the currency."
|
|
6294
|
-
example: 2
|
|
6295
|
-
direction:
|
|
6296
|
-
type: string
|
|
6297
|
-
description: Which way the money moves. `refund` on a cancellation.
|
|
6298
|
-
example: refund
|
|
6299
|
-
vehicle_state:
|
|
6300
|
-
type: string
|
|
6301
|
-
description: "How far the money itself has got, independently of the supplier:
|
|
6302
|
-
`reserved` (earmarked, nothing sent), `refund_pending`
|
|
6303
|
-
(submitted to the payment provider), `payout_initiated` and
|
|
6304
|
-
`payout_settled` (paid out to a third party), `paid` (it has
|
|
6305
|
-
reached the customer), `released` (earmark dropped, nothing
|
|
6306
|
-
owed), `refund_review` (a person at Jinko has to release it).
|
|
6307
|
-
Only `paid` and `payout_settled` mean the customer has the
|
|
6308
|
-
money."
|
|
6309
|
-
example: paid
|
|
6310
|
-
stripe_reference:
|
|
6311
|
-
type: string
|
|
6312
|
-
description: The payment provider's own refund id, once one exists.
|
|
6313
|
-
example: re_3UBIxK2eZvKYlo2C
|
|
5398
|
+
allOf:
|
|
5399
|
+
- $ref: "#/components/schemas/Money"
|
|
5400
|
+
- type: object
|
|
5401
|
+
properties:
|
|
5402
|
+
direction:
|
|
5403
|
+
type: string
|
|
5404
|
+
description: Which way the money moves. `refund` on a cancellation.
|
|
5405
|
+
example: refund
|
|
5406
|
+
vehicle_state:
|
|
5407
|
+
type: string
|
|
5408
|
+
description: "How far the money itself has got, independently of the supplier:
|
|
5409
|
+
`reserved` (earmarked, nothing sent), `refund_pending`
|
|
5410
|
+
(submitted to the payment provider), `payout_initiated` and
|
|
5411
|
+
`payout_settled` (paid out to a third party), `paid` (it has
|
|
5412
|
+
reached the customer), `released` (earmark dropped, nothing
|
|
5413
|
+
owed), `refund_review` (a person at Jinko has to release
|
|
5414
|
+
it). Only `paid` and `payout_settled` mean the customer has
|
|
5415
|
+
the money."
|
|
5416
|
+
example: paid
|
|
5417
|
+
stripe_reference:
|
|
5418
|
+
type: string
|
|
5419
|
+
description: The payment provider's own refund id, once one exists.
|
|
5420
|
+
example: re_3UBIxK2eZvKYlo2C
|
|
6314
5421
|
description: The refund and where it has got to. Read `vehicle_state` before
|
|
6315
5422
|
telling a customer they have been refunded.
|
|
6316
5423
|
HotelCancelStatusRequest:
|
|
@@ -6461,100 +5568,43 @@ components:
|
|
|
6461
5568
|
item:
|
|
6462
5569
|
type: string
|
|
6463
5570
|
description: The booked item this quote covers ("itm_…"). A booking holding
|
|
6464
|
-
several items is quoted and refunded one item at a time; within an
|
|
6465
|
-
item, every ticket issued for it is covered together.
|
|
6466
|
-
example: itm_7f2c9a4e8b1d
|
|
6467
|
-
provider:
|
|
6468
|
-
type: string
|
|
6469
|
-
description: Which supplier the operation would be sent to. Informational.
|
|
6470
|
-
example: sabre-rest
|
|
6471
|
-
refund:
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
together); its scale depends on decimal_places. When this object
|
|
6485
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
6486
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
6487
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
6488
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
6489
|
-
trip and checkout totals).
|
|
6490
|
-
currency:
|
|
6491
|
-
type: string
|
|
6492
|
-
description: ISO 4217 currency code.
|
|
6493
|
-
example: USD
|
|
6494
|
-
decimal_places:
|
|
6495
|
-
type: integer
|
|
6496
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
6497
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
6498
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
6499
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
6500
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
6501
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
6502
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
6503
|
-
digits for the currency."
|
|
6504
|
-
example: 2
|
|
6505
|
-
basis:
|
|
6506
|
-
type: string
|
|
6507
|
-
description: How the figure was computed. `sell_minus_penalty` — what the
|
|
6508
|
-
customer paid for this item, less the penalty. `original_charge`
|
|
6509
|
-
— the entire charge is reversed, penalty-free (a void). The
|
|
6510
|
-
platform chooses; the caller cannot ask for one.
|
|
6511
|
-
example: sell_minus_penalty
|
|
5571
|
+
several items is quoted and refunded one item at a time; within an
|
|
5572
|
+
item, every ticket issued for it is covered together.
|
|
5573
|
+
example: itm_7f2c9a4e8b1d
|
|
5574
|
+
provider:
|
|
5575
|
+
type: string
|
|
5576
|
+
description: Which supplier the operation would be sent to. Informational.
|
|
5577
|
+
example: sabre-rest
|
|
5578
|
+
refund:
|
|
5579
|
+
allOf:
|
|
5580
|
+
- $ref: "#/components/schemas/Money"
|
|
5581
|
+
- type: object
|
|
5582
|
+
properties:
|
|
5583
|
+
basis:
|
|
5584
|
+
type: string
|
|
5585
|
+
description: How the figure was computed. `sell_minus_penalty` — what the
|
|
5586
|
+
customer paid for this item, less the penalty.
|
|
5587
|
+
`original_charge` — the entire charge is reversed,
|
|
5588
|
+
penalty-free (a void). The platform chooses; the caller
|
|
5589
|
+
cannot ask for one.
|
|
5590
|
+
example: sell_minus_penalty
|
|
6512
5591
|
description: "THE CUSTOMER FIGURE: what would go back to the payment method, on
|
|
6513
5592
|
the basis named in `basis` — what they paid less the penalty, or the
|
|
6514
5593
|
entire charge on a void. Show this one, never `provider_figures`.
|
|
6515
5594
|
Absent is not zero: a quote whose penalty is unknown carries no
|
|
6516
5595
|
refund figure at all."
|
|
6517
5596
|
penalty:
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
6530
|
-
together); its scale depends on decimal_places. When this object
|
|
6531
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
6532
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
6533
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
6534
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
6535
|
-
trip and checkout totals).
|
|
6536
|
-
currency:
|
|
6537
|
-
type: string
|
|
6538
|
-
description: ISO 4217 currency code.
|
|
6539
|
-
example: USD
|
|
6540
|
-
decimal_places:
|
|
6541
|
-
type: integer
|
|
6542
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
6543
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
6544
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
6545
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
6546
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
6547
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
6548
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
6549
|
-
digits for the currency."
|
|
6550
|
-
example: 2
|
|
6551
|
-
fee_known:
|
|
6552
|
-
type: boolean
|
|
6553
|
-
description: false means the penalty could not be established — UNKNOWN, not
|
|
6554
|
-
zero. Render it as "we will confirm the fee", never as free
|
|
6555
|
-
cancellation, and expect the final figure on the operation
|
|
6556
|
-
status.
|
|
6557
|
-
example: true
|
|
5597
|
+
allOf:
|
|
5598
|
+
- $ref: "#/components/schemas/Money"
|
|
5599
|
+
- type: object
|
|
5600
|
+
properties:
|
|
5601
|
+
fee_known:
|
|
5602
|
+
type: boolean
|
|
5603
|
+
description: false means the penalty could not be established — UNKNOWN, not
|
|
5604
|
+
zero. Render it as "we will confirm the fee", never as free
|
|
5605
|
+
cancellation, and expect the final figure on the operation
|
|
5606
|
+
status.
|
|
5607
|
+
example: true
|
|
6558
5608
|
description: What the customer would forfeit, in the currency they were charged.
|
|
6559
5609
|
Zero on a void. Read `fee_known` before showing it — false means
|
|
6560
5610
|
UNKNOWN, not free.
|
|
@@ -6620,7 +5670,7 @@ components:
|
|
|
6620
5670
|
example: Carrard
|
|
6621
5671
|
intent:
|
|
6622
5672
|
$ref: "#/components/schemas/IntentInput"
|
|
6623
|
-
example: *
|
|
5673
|
+
example: *a14
|
|
6624
5674
|
FlightRefundCommitResponse:
|
|
6625
5675
|
type: object
|
|
6626
5676
|
properties:
|
|
@@ -6699,41 +5749,7 @@ components:
|
|
|
6699
5749
|
type: object
|
|
6700
5750
|
properties:
|
|
6701
5751
|
refund:
|
|
6702
|
-
|
|
6703
|
-
properties:
|
|
6704
|
-
value:
|
|
6705
|
-
type: integer
|
|
6706
|
-
description: "Integer amount in MINOR units, always paired with decimal_places —
|
|
6707
|
-
divide by 10 ** decimal_places to display. Example: value
|
|
6708
|
-
15977 with decimal_places 2 is 159.77 USD. Rendering this
|
|
6709
|
-
field directly shows prices 100x too high for 2-decimal
|
|
6710
|
-
currencies."
|
|
6711
|
-
example: 41250
|
|
6712
|
-
amount:
|
|
6713
|
-
type: number
|
|
6714
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
6715
|
-
together); its scale depends on decimal_places. When this
|
|
6716
|
-
object carries decimal_places, amount is an INTEGER in minor
|
|
6717
|
-
units — divide by 10 ** decimal_places (e.g.
|
|
6718
|
-
select_ancillaries total_with_ancillaries). When there is no
|
|
6719
|
-
decimal_places field, amount is a decimal in MAJOR units,
|
|
6720
|
-
safe to display as-is (e.g. trip and checkout totals).
|
|
6721
|
-
currency:
|
|
6722
|
-
type: string
|
|
6723
|
-
description: ISO 4217 currency code.
|
|
6724
|
-
example: USD
|
|
6725
|
-
decimal_places:
|
|
6726
|
-
type: integer
|
|
6727
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
6728
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
6729
|
-
Usually the ISO 4217 digits of the currency (2 for
|
|
6730
|
-
USD/EUR/GBP, 0 for JPY/KRW, 3 for BHD/JOD/KWD) but
|
|
6731
|
-
currency-converted prices can carry a different scale —
|
|
6732
|
-
ALWAYS use the decimal_places sent with the amount, never a
|
|
6733
|
-
hardcoded 2. Only if the field is genuinely absent on a
|
|
6734
|
-
value-shaped object, fall back to the ISO digits for the
|
|
6735
|
-
currency."
|
|
6736
|
-
example: 2
|
|
5752
|
+
$ref: "#/components/schemas/Money"
|
|
6737
5753
|
description: The customer refund as it stands now, on `quote_drift`. This is
|
|
6738
5754
|
what the customer would get if they accepted the new quote.
|
|
6739
5755
|
active_operation:
|
|
@@ -6744,43 +5760,13 @@ components:
|
|
|
6744
5760
|
/v1/flight_refund_status.
|
|
6745
5761
|
example: svc_01J7ZR5Q2KME8V4T
|
|
6746
5762
|
shortfall:
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
directly shows prices 100x too high for 2-decimal currencies."
|
|
6755
|
-
example: 41250
|
|
6756
|
-
amount:
|
|
6757
|
-
type: number
|
|
6758
|
-
description: Alternative to `value` on some endpoints (the two never appear
|
|
6759
|
-
together); its scale depends on decimal_places. When this object
|
|
6760
|
-
carries decimal_places, amount is an INTEGER in minor units —
|
|
6761
|
-
divide by 10 ** decimal_places (e.g. select_ancillaries
|
|
6762
|
-
total_with_ancillaries). When there is no decimal_places field,
|
|
6763
|
-
amount is a decimal in MAJOR units, safe to display as-is (e.g.
|
|
6764
|
-
trip and checkout totals).
|
|
6765
|
-
currency:
|
|
6766
|
-
type: string
|
|
6767
|
-
description: ISO 4217 currency code.
|
|
6768
|
-
example: USD
|
|
6769
|
-
decimal_places:
|
|
6770
|
-
type: integer
|
|
6771
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
6772
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
6773
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
6774
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
6775
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
6776
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
6777
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
6778
|
-
digits for the currency."
|
|
6779
|
-
example: 2
|
|
6780
|
-
description: How much of the refund could not be reserved, on
|
|
6781
|
-
`funds_unavailable`. The refusal is about money still moving on the
|
|
6782
|
-
original payment, not about this booking, so this is the figure that
|
|
6783
|
-
says how much has to clear before a commit can succeed.
|
|
5763
|
+
allOf:
|
|
5764
|
+
- $ref: "#/components/schemas/Money"
|
|
5765
|
+
- description: How much of the refund could not be reserved, on
|
|
5766
|
+
`funds_unavailable`. The refusal is about money still moving on
|
|
5767
|
+
the original payment, not about this booking, so this is the
|
|
5768
|
+
figure that says how much has to clear before a commit can
|
|
5769
|
+
succeed.
|
|
6784
5770
|
blocking:
|
|
6785
5771
|
type: array
|
|
6786
5772
|
items:
|
|
@@ -6964,58 +5950,29 @@ components:
|
|
|
6964
5950
|
money is still moving — that is the normal middle of a refund, not a
|
|
6965
5951
|
discrepancy.
|
|
6966
5952
|
money:
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
type: integer
|
|
6991
|
-
description: "Scale of the integer value/amount: display = integer / 10 **
|
|
6992
|
-
decimal_places. Always sent alongside minor-unit amounts.
|
|
6993
|
-
Usually the ISO 4217 digits of the currency (2 for USD/EUR/GBP,
|
|
6994
|
-
0 for JPY/KRW, 3 for BHD/JOD/KWD) but currency-converted prices
|
|
6995
|
-
can carry a different scale — ALWAYS use the decimal_places sent
|
|
6996
|
-
with the amount, never a hardcoded 2. Only if the field is
|
|
6997
|
-
genuinely absent on a value-shaped object, fall back to the ISO
|
|
6998
|
-
digits for the currency."
|
|
6999
|
-
example: 2
|
|
7000
|
-
direction:
|
|
7001
|
-
type: string
|
|
7002
|
-
description: Which way the money moves. `refund` on a cancellation.
|
|
7003
|
-
example: refund
|
|
7004
|
-
vehicle_state:
|
|
7005
|
-
type: string
|
|
7006
|
-
description: "How far the money itself has got, independently of the supplier:
|
|
7007
|
-
`reserved` (earmarked, nothing sent), `refund_pending`
|
|
7008
|
-
(submitted to the payment provider), `payout_initiated` and
|
|
7009
|
-
`payout_settled` (paid out to a third party), `paid` (it has
|
|
7010
|
-
reached the customer), `released` (earmark dropped, nothing
|
|
7011
|
-
owed), `refund_review` (a person at Jinko has to release it).
|
|
7012
|
-
Only `paid` and `payout_settled` mean the customer has the
|
|
7013
|
-
money."
|
|
7014
|
-
example: paid
|
|
7015
|
-
stripe_reference:
|
|
7016
|
-
type: string
|
|
7017
|
-
description: The payment provider's own refund id, once one exists.
|
|
7018
|
-
example: re_3UBIxK2eZvKYlo2C
|
|
5953
|
+
allOf:
|
|
5954
|
+
- $ref: "#/components/schemas/Money"
|
|
5955
|
+
- type: object
|
|
5956
|
+
properties:
|
|
5957
|
+
direction:
|
|
5958
|
+
type: string
|
|
5959
|
+
description: Which way the money moves. `refund` on a cancellation.
|
|
5960
|
+
example: refund
|
|
5961
|
+
vehicle_state:
|
|
5962
|
+
type: string
|
|
5963
|
+
description: "How far the money itself has got, independently of the supplier:
|
|
5964
|
+
`reserved` (earmarked, nothing sent), `refund_pending`
|
|
5965
|
+
(submitted to the payment provider), `payout_initiated` and
|
|
5966
|
+
`payout_settled` (paid out to a third party), `paid` (it has
|
|
5967
|
+
reached the customer), `released` (earmark dropped, nothing
|
|
5968
|
+
owed), `refund_review` (a person at Jinko has to release
|
|
5969
|
+
it). Only `paid` and `payout_settled` mean the customer has
|
|
5970
|
+
the money."
|
|
5971
|
+
example: paid
|
|
5972
|
+
stripe_reference:
|
|
5973
|
+
type: string
|
|
5974
|
+
description: The payment provider's own refund id, once one exists.
|
|
5975
|
+
example: re_3UBIxK2eZvKYlo2C
|
|
7019
5976
|
description: The refund and where it has got to. Read `vehicle_state` before
|
|
7020
5977
|
telling a customer they have been refunded.
|
|
7021
5978
|
operation_kind:
|
|
@@ -7308,6 +6265,17 @@ paths:
|
|
|
7308
6265
|
code: CONFLICT
|
|
7309
6266
|
message: an exchange is already in progress for this booking
|
|
7310
6267
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
6268
|
+
"410":
|
|
6269
|
+
description: The resource this request names no longer exists
|
|
6270
|
+
content:
|
|
6271
|
+
application/json:
|
|
6272
|
+
schema:
|
|
6273
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
6274
|
+
example:
|
|
6275
|
+
error:
|
|
6276
|
+
code: GONE
|
|
6277
|
+
message: The resource no longer exists.
|
|
6278
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7311
6279
|
"422":
|
|
7312
6280
|
description: Validation error
|
|
7313
6281
|
content:
|
|
@@ -7344,7 +6312,7 @@ paths:
|
|
|
7344
6312
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7345
6313
|
"503":
|
|
7346
6314
|
description: No travel provider can serve the request right now
|
|
7347
|
-
headers: &
|
|
6315
|
+
headers: &a15
|
|
7348
6316
|
Retry-After:
|
|
7349
6317
|
description: Seconds to wait before retrying, forwarded verbatim from the
|
|
7350
6318
|
upstream service. Absent when the upstream named no interval.
|
|
@@ -7438,6 +6406,17 @@ paths:
|
|
|
7438
6406
|
code: CONFLICT
|
|
7439
6407
|
message: an exchange is already in progress for this booking
|
|
7440
6408
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
6409
|
+
"410":
|
|
6410
|
+
description: The resource this request names no longer exists
|
|
6411
|
+
content:
|
|
6412
|
+
application/json:
|
|
6413
|
+
schema:
|
|
6414
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
6415
|
+
example:
|
|
6416
|
+
error:
|
|
6417
|
+
code: GONE
|
|
6418
|
+
message: The resource no longer exists.
|
|
6419
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7441
6420
|
"422":
|
|
7442
6421
|
description: Validation error
|
|
7443
6422
|
content:
|
|
@@ -7474,7 +6453,7 @@ paths:
|
|
|
7474
6453
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7475
6454
|
"503":
|
|
7476
6455
|
description: No travel provider can serve the request right now
|
|
7477
|
-
headers: *
|
|
6456
|
+
headers: *a15
|
|
7478
6457
|
content:
|
|
7479
6458
|
application/json:
|
|
7480
6459
|
schema:
|
|
@@ -7569,6 +6548,17 @@ paths:
|
|
|
7569
6548
|
code: CONFLICT
|
|
7570
6549
|
message: an exchange is already in progress for this booking
|
|
7571
6550
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
6551
|
+
"410":
|
|
6552
|
+
description: The resource this request names no longer exists
|
|
6553
|
+
content:
|
|
6554
|
+
application/json:
|
|
6555
|
+
schema:
|
|
6556
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
6557
|
+
example:
|
|
6558
|
+
error:
|
|
6559
|
+
code: GONE
|
|
6560
|
+
message: The resource no longer exists.
|
|
6561
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7572
6562
|
"422":
|
|
7573
6563
|
description: Validation error
|
|
7574
6564
|
content:
|
|
@@ -7605,7 +6595,7 @@ paths:
|
|
|
7605
6595
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7606
6596
|
"503":
|
|
7607
6597
|
description: No travel provider can serve the request right now
|
|
7608
|
-
headers: *
|
|
6598
|
+
headers: *a15
|
|
7609
6599
|
content:
|
|
7610
6600
|
application/json:
|
|
7611
6601
|
schema:
|
|
@@ -7699,6 +6689,17 @@ paths:
|
|
|
7699
6689
|
code: CONFLICT
|
|
7700
6690
|
message: an exchange is already in progress for this booking
|
|
7701
6691
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
6692
|
+
"410":
|
|
6693
|
+
description: The resource this request names no longer exists
|
|
6694
|
+
content:
|
|
6695
|
+
application/json:
|
|
6696
|
+
schema:
|
|
6697
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
6698
|
+
example:
|
|
6699
|
+
error:
|
|
6700
|
+
code: GONE
|
|
6701
|
+
message: The resource no longer exists.
|
|
6702
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7702
6703
|
"422":
|
|
7703
6704
|
description: Validation error
|
|
7704
6705
|
content:
|
|
@@ -7735,7 +6736,7 @@ paths:
|
|
|
7735
6736
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7736
6737
|
"503":
|
|
7737
6738
|
description: No travel provider can serve the request right now
|
|
7738
|
-
headers: *
|
|
6739
|
+
headers: *a15
|
|
7739
6740
|
content:
|
|
7740
6741
|
application/json:
|
|
7741
6742
|
schema:
|
|
@@ -7828,6 +6829,17 @@ paths:
|
|
|
7828
6829
|
code: CONFLICT
|
|
7829
6830
|
message: an exchange is already in progress for this booking
|
|
7830
6831
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
6832
|
+
"410":
|
|
6833
|
+
description: The resource this request names no longer exists
|
|
6834
|
+
content:
|
|
6835
|
+
application/json:
|
|
6836
|
+
schema:
|
|
6837
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
6838
|
+
example:
|
|
6839
|
+
error:
|
|
6840
|
+
code: GONE
|
|
6841
|
+
message: The resource no longer exists.
|
|
6842
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7831
6843
|
"422":
|
|
7832
6844
|
description: Validation error
|
|
7833
6845
|
content:
|
|
@@ -7864,7 +6876,7 @@ paths:
|
|
|
7864
6876
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7865
6877
|
"503":
|
|
7866
6878
|
description: No travel provider can serve the request right now
|
|
7867
|
-
headers: *
|
|
6879
|
+
headers: *a15
|
|
7868
6880
|
content:
|
|
7869
6881
|
application/json:
|
|
7870
6882
|
schema:
|
|
@@ -7953,6 +6965,17 @@ paths:
|
|
|
7953
6965
|
code: CONFLICT
|
|
7954
6966
|
message: an exchange is already in progress for this booking
|
|
7955
6967
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
6968
|
+
"410":
|
|
6969
|
+
description: The resource this request names no longer exists
|
|
6970
|
+
content:
|
|
6971
|
+
application/json:
|
|
6972
|
+
schema:
|
|
6973
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
6974
|
+
example:
|
|
6975
|
+
error:
|
|
6976
|
+
code: GONE
|
|
6977
|
+
message: The resource no longer exists.
|
|
6978
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7956
6979
|
"422":
|
|
7957
6980
|
description: Validation error
|
|
7958
6981
|
content:
|
|
@@ -7989,7 +7012,7 @@ paths:
|
|
|
7989
7012
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7990
7013
|
"503":
|
|
7991
7014
|
description: No travel provider can serve the request right now
|
|
7992
|
-
headers: *
|
|
7015
|
+
headers: *a15
|
|
7993
7016
|
content:
|
|
7994
7017
|
application/json:
|
|
7995
7018
|
schema:
|
|
@@ -8093,10 +7116,15 @@ paths:
|
|
|
8093
7116
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8094
7117
|
status: expired
|
|
8095
7118
|
"410":
|
|
8096
|
-
description: The offer named in the request is no longer available
|
|
8097
|
-
|
|
8098
|
-
|
|
8099
|
-
|
|
7119
|
+
description: The offer named in the request is no longer available, or another
|
|
7120
|
+
resource the request names is gone. Tell the two apart by
|
|
7121
|
+
`error.code`. **`OFFER_EXPIRED`** — The offer token is no longer in
|
|
7122
|
+
the platform’s cache, so the item cannot be added. Search again and
|
|
7123
|
+
add the item with a fresh token. Offers are short-lived by design.
|
|
7124
|
+
**`GONE`** — The resource this request names existed and no longer
|
|
7125
|
+
does. Re-acquire it — search again, or check out again to re-quote —
|
|
7126
|
+
then retry with the new identifier. Repeating this request with the
|
|
7127
|
+
same one cannot succeed.
|
|
8100
7128
|
content:
|
|
8101
7129
|
application/json:
|
|
8102
7130
|
schema:
|
|
@@ -8137,7 +7165,7 @@ paths:
|
|
|
8137
7165
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8138
7166
|
"503":
|
|
8139
7167
|
description: No travel provider can serve the request right now
|
|
8140
|
-
headers: *
|
|
7168
|
+
headers: *a15
|
|
8141
7169
|
content:
|
|
8142
7170
|
application/json:
|
|
8143
7171
|
schema:
|
|
@@ -8228,6 +7256,17 @@ paths:
|
|
|
8228
7256
|
code: CONFLICT
|
|
8229
7257
|
message: an exchange is already in progress for this booking
|
|
8230
7258
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7259
|
+
"410":
|
|
7260
|
+
description: The resource this request names no longer exists
|
|
7261
|
+
content:
|
|
7262
|
+
application/json:
|
|
7263
|
+
schema:
|
|
7264
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
7265
|
+
example:
|
|
7266
|
+
error:
|
|
7267
|
+
code: GONE
|
|
7268
|
+
message: The resource no longer exists.
|
|
7269
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8231
7270
|
"422":
|
|
8232
7271
|
description: Validation error
|
|
8233
7272
|
content:
|
|
@@ -8264,7 +7303,7 @@ paths:
|
|
|
8264
7303
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8265
7304
|
"503":
|
|
8266
7305
|
description: No travel provider can serve the request right now
|
|
8267
|
-
headers: *
|
|
7306
|
+
headers: *a15
|
|
8268
7307
|
content:
|
|
8269
7308
|
application/json:
|
|
8270
7309
|
schema:
|
|
@@ -8365,6 +7404,17 @@ paths:
|
|
|
8365
7404
|
code: CONFLICT
|
|
8366
7405
|
message: an exchange is already in progress for this booking
|
|
8367
7406
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7407
|
+
"410":
|
|
7408
|
+
description: The resource this request names no longer exists
|
|
7409
|
+
content:
|
|
7410
|
+
application/json:
|
|
7411
|
+
schema:
|
|
7412
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
7413
|
+
example:
|
|
7414
|
+
error:
|
|
7415
|
+
code: GONE
|
|
7416
|
+
message: The resource no longer exists.
|
|
7417
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8368
7418
|
"422":
|
|
8369
7419
|
description: Validation error
|
|
8370
7420
|
content:
|
|
@@ -8401,7 +7451,7 @@ paths:
|
|
|
8401
7451
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8402
7452
|
"503":
|
|
8403
7453
|
description: No travel provider can serve the request right now
|
|
8404
|
-
headers: *
|
|
7454
|
+
headers: *a15
|
|
8405
7455
|
content:
|
|
8406
7456
|
application/json:
|
|
8407
7457
|
schema:
|
|
@@ -8490,6 +7540,17 @@ paths:
|
|
|
8490
7540
|
code: CONFLICT
|
|
8491
7541
|
message: an exchange is already in progress for this booking
|
|
8492
7542
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7543
|
+
"410":
|
|
7544
|
+
description: The resource this request names no longer exists
|
|
7545
|
+
content:
|
|
7546
|
+
application/json:
|
|
7547
|
+
schema:
|
|
7548
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
7549
|
+
example:
|
|
7550
|
+
error:
|
|
7551
|
+
code: GONE
|
|
7552
|
+
message: The resource no longer exists.
|
|
7553
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8493
7554
|
"422":
|
|
8494
7555
|
description: Validation error
|
|
8495
7556
|
content:
|
|
@@ -8526,7 +7587,7 @@ paths:
|
|
|
8526
7587
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8527
7588
|
"503":
|
|
8528
7589
|
description: No travel provider can serve the request right now
|
|
8529
|
-
headers: *
|
|
7590
|
+
headers: *a15
|
|
8530
7591
|
content:
|
|
8531
7592
|
application/json:
|
|
8532
7593
|
schema:
|
|
@@ -8628,11 +7689,22 @@ paths:
|
|
|
8628
7689
|
anyOf:
|
|
8629
7690
|
- $ref: "#/components/schemas/TripStateResponse"
|
|
8630
7691
|
- $ref: "#/components/schemas/ErrorResponse"
|
|
8631
|
-
example: &
|
|
7692
|
+
example: &a16
|
|
8632
7693
|
error:
|
|
8633
7694
|
code: CONFLICT
|
|
8634
7695
|
message: This trip is already being checked out; no second checkout was started.
|
|
8635
7696
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7697
|
+
"410":
|
|
7698
|
+
description: The resource this request names no longer exists
|
|
7699
|
+
content:
|
|
7700
|
+
application/json:
|
|
7701
|
+
schema:
|
|
7702
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
7703
|
+
example:
|
|
7704
|
+
error:
|
|
7705
|
+
code: GONE
|
|
7706
|
+
message: The resource no longer exists.
|
|
7707
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8636
7708
|
"422":
|
|
8637
7709
|
description: The trip is not complete enough to check out. **`BAD_REQUEST`** —
|
|
8638
7710
|
The request was malformed or failed validation. Fix the request as
|
|
@@ -8669,7 +7741,7 @@ paths:
|
|
|
8669
7741
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8670
7742
|
"503":
|
|
8671
7743
|
description: No travel provider can serve the request right now
|
|
8672
|
-
headers: *
|
|
7744
|
+
headers: *a15
|
|
8673
7745
|
content:
|
|
8674
7746
|
application/json:
|
|
8675
7747
|
schema:
|
|
@@ -8778,7 +7850,18 @@ paths:
|
|
|
8778
7850
|
anyOf:
|
|
8779
7851
|
- $ref: "#/components/schemas/TripStateResponse"
|
|
8780
7852
|
- $ref: "#/components/schemas/ErrorResponse"
|
|
8781
|
-
example: *
|
|
7853
|
+
example: *a16
|
|
7854
|
+
"410":
|
|
7855
|
+
description: The resource this request names no longer exists
|
|
7856
|
+
content:
|
|
7857
|
+
application/json:
|
|
7858
|
+
schema:
|
|
7859
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
7860
|
+
example:
|
|
7861
|
+
error:
|
|
7862
|
+
code: GONE
|
|
7863
|
+
message: The resource no longer exists.
|
|
7864
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8782
7865
|
"422":
|
|
8783
7866
|
description: The trip is not complete enough to check out. **`BAD_REQUEST`** —
|
|
8784
7867
|
The request was malformed or failed validation. Fix the request as
|
|
@@ -8815,7 +7898,7 @@ paths:
|
|
|
8815
7898
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8816
7899
|
"503":
|
|
8817
7900
|
description: No travel provider can serve the request right now
|
|
8818
|
-
headers: *
|
|
7901
|
+
headers: *a15
|
|
8819
7902
|
content:
|
|
8820
7903
|
application/json:
|
|
8821
7904
|
schema:
|
|
@@ -8908,22 +7991,29 @@ paths:
|
|
|
8908
7991
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8909
7992
|
"410":
|
|
8910
7993
|
description: The locked quote has expired, so nothing was redeemed and no
|
|
8911
|
-
payment object was created
|
|
8912
|
-
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
7994
|
+
payment object was created — or the resource the request names is
|
|
7995
|
+
gone. Tell the two apart by `error.code`. **`QUOTE_EXPIRED`** — The
|
|
7996
|
+
locked quote behind this checkout passed its `expires_at`, so
|
|
7997
|
+
payment was refused before any payment object was created. Call
|
|
7998
|
+
`POST /v1/checkout` again on the same trip — it re-quotes — then
|
|
7999
|
+
mint a new Shared Payment Token against the new `agent_spt_params`
|
|
8000
|
+
and submit that. Nothing was charged. **`GONE`** — The resource this
|
|
8001
|
+
request names existed and no longer does. Re-acquire it — search
|
|
8002
|
+
again, or check out again to re-quote — then retry with the new
|
|
8003
|
+
identifier. Repeating this request with the same one cannot succeed.
|
|
8917
8004
|
content:
|
|
8918
8005
|
application/json:
|
|
8919
8006
|
schema:
|
|
8920
|
-
|
|
8007
|
+
anyOf:
|
|
8008
|
+
- $ref: "#/components/schemas/QuoteExpiredResponse"
|
|
8009
|
+
- $ref: "#/components/schemas/ErrorResponse"
|
|
8921
8010
|
example:
|
|
8922
8011
|
error:
|
|
8923
8012
|
code: QUOTE_EXPIRED
|
|
8924
8013
|
message: The quote behind this checkout expired at 2026-09-04T12:39:56Z.
|
|
8925
8014
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8926
8015
|
expires_at: "2026-09-04T12:39:56Z"
|
|
8016
|
+
quoted_cart_id: 2097152
|
|
8927
8017
|
"422":
|
|
8928
8018
|
description: Validation error
|
|
8929
8019
|
content:
|
|
@@ -8960,7 +8050,7 @@ paths:
|
|
|
8960
8050
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8961
8051
|
"503":
|
|
8962
8052
|
description: No travel provider can serve the request right now
|
|
8963
|
-
headers: *
|
|
8053
|
+
headers: *a15
|
|
8964
8054
|
content:
|
|
8965
8055
|
application/json:
|
|
8966
8056
|
schema:
|
|
@@ -9049,6 +8139,17 @@ paths:
|
|
|
9049
8139
|
code: CONFLICT
|
|
9050
8140
|
message: an exchange is already in progress for this booking
|
|
9051
8141
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8142
|
+
"410":
|
|
8143
|
+
description: The resource this request names no longer exists
|
|
8144
|
+
content:
|
|
8145
|
+
application/json:
|
|
8146
|
+
schema:
|
|
8147
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
8148
|
+
example:
|
|
8149
|
+
error:
|
|
8150
|
+
code: GONE
|
|
8151
|
+
message: The resource no longer exists.
|
|
8152
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9052
8153
|
"422":
|
|
9053
8154
|
description: Validation error
|
|
9054
8155
|
content:
|
|
@@ -9085,7 +8186,7 @@ paths:
|
|
|
9085
8186
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9086
8187
|
"503":
|
|
9087
8188
|
description: No travel provider can serve the request right now
|
|
9088
|
-
headers: *
|
|
8189
|
+
headers: *a15
|
|
9089
8190
|
content:
|
|
9090
8191
|
application/json:
|
|
9091
8192
|
schema:
|
|
@@ -9186,6 +8287,17 @@ paths:
|
|
|
9186
8287
|
code: CONFLICT
|
|
9187
8288
|
message: an exchange is already in progress for this booking
|
|
9188
8289
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8290
|
+
"410":
|
|
8291
|
+
description: The resource this request names no longer exists
|
|
8292
|
+
content:
|
|
8293
|
+
application/json:
|
|
8294
|
+
schema:
|
|
8295
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
8296
|
+
example:
|
|
8297
|
+
error:
|
|
8298
|
+
code: GONE
|
|
8299
|
+
message: The resource no longer exists.
|
|
8300
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9189
8301
|
"422":
|
|
9190
8302
|
description: Validation error
|
|
9191
8303
|
content:
|
|
@@ -9222,7 +8334,7 @@ paths:
|
|
|
9222
8334
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9223
8335
|
"503":
|
|
9224
8336
|
description: No travel provider can serve the request right now
|
|
9225
|
-
headers: *
|
|
8337
|
+
headers: *a15
|
|
9226
8338
|
content:
|
|
9227
8339
|
application/json:
|
|
9228
8340
|
schema:
|
|
@@ -9316,6 +8428,17 @@ paths:
|
|
|
9316
8428
|
code: CONFLICT
|
|
9317
8429
|
message: an exchange is already in progress for this booking
|
|
9318
8430
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8431
|
+
"410":
|
|
8432
|
+
description: The resource this request names no longer exists
|
|
8433
|
+
content:
|
|
8434
|
+
application/json:
|
|
8435
|
+
schema:
|
|
8436
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
8437
|
+
example:
|
|
8438
|
+
error:
|
|
8439
|
+
code: GONE
|
|
8440
|
+
message: The resource no longer exists.
|
|
8441
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9319
8442
|
"422":
|
|
9320
8443
|
description: Validation error
|
|
9321
8444
|
content:
|
|
@@ -9352,7 +8475,7 @@ paths:
|
|
|
9352
8475
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9353
8476
|
"503":
|
|
9354
8477
|
description: No travel provider can serve the request right now
|
|
9355
|
-
headers: *
|
|
8478
|
+
headers: *a15
|
|
9356
8479
|
content:
|
|
9357
8480
|
application/json:
|
|
9358
8481
|
schema:
|
|
@@ -9451,6 +8574,17 @@ paths:
|
|
|
9451
8574
|
code: CONFLICT
|
|
9452
8575
|
message: an exchange is already in progress for this booking
|
|
9453
8576
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8577
|
+
"410":
|
|
8578
|
+
description: The resource this request names no longer exists
|
|
8579
|
+
content:
|
|
8580
|
+
application/json:
|
|
8581
|
+
schema:
|
|
8582
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
8583
|
+
example:
|
|
8584
|
+
error:
|
|
8585
|
+
code: GONE
|
|
8586
|
+
message: The resource no longer exists.
|
|
8587
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9454
8588
|
"422":
|
|
9455
8589
|
description: Validation error
|
|
9456
8590
|
content:
|
|
@@ -9487,7 +8621,7 @@ paths:
|
|
|
9487
8621
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9488
8622
|
"503":
|
|
9489
8623
|
description: No travel provider can serve the request right now
|
|
9490
|
-
headers: *
|
|
8624
|
+
headers: *a15
|
|
9491
8625
|
content:
|
|
9492
8626
|
application/json:
|
|
9493
8627
|
schema:
|
|
@@ -9593,6 +8727,17 @@ paths:
|
|
|
9593
8727
|
code: CONFLICT
|
|
9594
8728
|
message: an exchange is already in progress for this booking
|
|
9595
8729
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8730
|
+
"410":
|
|
8731
|
+
description: The resource this request names no longer exists
|
|
8732
|
+
content:
|
|
8733
|
+
application/json:
|
|
8734
|
+
schema:
|
|
8735
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
8736
|
+
example:
|
|
8737
|
+
error:
|
|
8738
|
+
code: GONE
|
|
8739
|
+
message: The resource no longer exists.
|
|
8740
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9596
8741
|
"422":
|
|
9597
8742
|
description: Validation error
|
|
9598
8743
|
content:
|
|
@@ -9629,7 +8774,7 @@ paths:
|
|
|
9629
8774
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9630
8775
|
"503":
|
|
9631
8776
|
description: No travel provider can serve the request right now
|
|
9632
|
-
headers: *
|
|
8777
|
+
headers: *a15
|
|
9633
8778
|
content:
|
|
9634
8779
|
application/json:
|
|
9635
8780
|
schema:
|
|
@@ -9735,6 +8880,17 @@ paths:
|
|
|
9735
8880
|
code: CONFLICT
|
|
9736
8881
|
message: an exchange is already in progress for this booking
|
|
9737
8882
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8883
|
+
"410":
|
|
8884
|
+
description: The resource this request names no longer exists
|
|
8885
|
+
content:
|
|
8886
|
+
application/json:
|
|
8887
|
+
schema:
|
|
8888
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
8889
|
+
example:
|
|
8890
|
+
error:
|
|
8891
|
+
code: GONE
|
|
8892
|
+
message: The resource no longer exists.
|
|
8893
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9738
8894
|
"422":
|
|
9739
8895
|
description: Validation error
|
|
9740
8896
|
content:
|
|
@@ -9771,7 +8927,7 @@ paths:
|
|
|
9771
8927
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9772
8928
|
"503":
|
|
9773
8929
|
description: No travel provider can serve the request right now
|
|
9774
|
-
headers: *
|
|
8930
|
+
headers: *a15
|
|
9775
8931
|
content:
|
|
9776
8932
|
application/json:
|
|
9777
8933
|
schema:
|
|
@@ -9876,6 +9032,17 @@ paths:
|
|
|
9876
9032
|
code: CONFLICT
|
|
9877
9033
|
message: an exchange is already in progress for this booking
|
|
9878
9034
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9035
|
+
"410":
|
|
9036
|
+
description: The resource this request names no longer exists
|
|
9037
|
+
content:
|
|
9038
|
+
application/json:
|
|
9039
|
+
schema:
|
|
9040
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
9041
|
+
example:
|
|
9042
|
+
error:
|
|
9043
|
+
code: GONE
|
|
9044
|
+
message: The resource no longer exists.
|
|
9045
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9879
9046
|
"422":
|
|
9880
9047
|
description: Validation error
|
|
9881
9048
|
content:
|
|
@@ -9912,7 +9079,7 @@ paths:
|
|
|
9912
9079
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9913
9080
|
"503":
|
|
9914
9081
|
description: No travel provider can serve the request right now
|
|
9915
|
-
headers: *
|
|
9082
|
+
headers: *a15
|
|
9916
9083
|
content:
|
|
9917
9084
|
application/json:
|
|
9918
9085
|
schema:
|
|
@@ -10022,8 +9189,19 @@ paths:
|
|
|
10022
9189
|
$ref: "#/components/schemas/ErrorResponse"
|
|
10023
9190
|
example:
|
|
10024
9191
|
error:
|
|
10025
|
-
code: CONFLICT
|
|
10026
|
-
message: an exchange is already in progress for this booking
|
|
9192
|
+
code: CONFLICT
|
|
9193
|
+
message: an exchange is already in progress for this booking
|
|
9194
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9195
|
+
"410":
|
|
9196
|
+
description: The resource this request names no longer exists
|
|
9197
|
+
content:
|
|
9198
|
+
application/json:
|
|
9199
|
+
schema:
|
|
9200
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
9201
|
+
example:
|
|
9202
|
+
error:
|
|
9203
|
+
code: GONE
|
|
9204
|
+
message: The resource no longer exists.
|
|
10027
9205
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10028
9206
|
"422":
|
|
10029
9207
|
description: Validation error
|
|
@@ -10061,7 +9239,7 @@ paths:
|
|
|
10061
9239
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10062
9240
|
"503":
|
|
10063
9241
|
description: No travel provider can serve the request right now
|
|
10064
|
-
headers: *
|
|
9242
|
+
headers: *a15
|
|
10065
9243
|
content:
|
|
10066
9244
|
application/json:
|
|
10067
9245
|
schema:
|
|
@@ -10173,6 +9351,17 @@ paths:
|
|
|
10173
9351
|
code: CONFLICT
|
|
10174
9352
|
message: the exchange preview is out of date — run a new preview and choose
|
|
10175
9353
|
again
|
|
9354
|
+
"410":
|
|
9355
|
+
description: The resource this request names no longer exists
|
|
9356
|
+
content:
|
|
9357
|
+
application/json:
|
|
9358
|
+
schema:
|
|
9359
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
9360
|
+
example:
|
|
9361
|
+
error:
|
|
9362
|
+
code: GONE
|
|
9363
|
+
message: The resource no longer exists.
|
|
9364
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10176
9365
|
"422":
|
|
10177
9366
|
description: Validation error
|
|
10178
9367
|
content:
|
|
@@ -10209,7 +9398,7 @@ paths:
|
|
|
10209
9398
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10210
9399
|
"503":
|
|
10211
9400
|
description: No travel provider can serve the request right now
|
|
10212
|
-
headers: *
|
|
9401
|
+
headers: *a15
|
|
10213
9402
|
content:
|
|
10214
9403
|
application/json:
|
|
10215
9404
|
schema:
|
|
@@ -10316,6 +9505,17 @@ paths:
|
|
|
10316
9505
|
code: CONFLICT
|
|
10317
9506
|
message: an exchange is already in progress for this booking
|
|
10318
9507
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9508
|
+
"410":
|
|
9509
|
+
description: The resource this request names no longer exists
|
|
9510
|
+
content:
|
|
9511
|
+
application/json:
|
|
9512
|
+
schema:
|
|
9513
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
9514
|
+
example:
|
|
9515
|
+
error:
|
|
9516
|
+
code: GONE
|
|
9517
|
+
message: The resource no longer exists.
|
|
9518
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10319
9519
|
"422":
|
|
10320
9520
|
description: Validation error
|
|
10321
9521
|
content:
|
|
@@ -10352,7 +9552,7 @@ paths:
|
|
|
10352
9552
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10353
9553
|
"503":
|
|
10354
9554
|
description: No travel provider can serve the request right now
|
|
10355
|
-
headers: *
|
|
9555
|
+
headers: *a15
|
|
10356
9556
|
content:
|
|
10357
9557
|
application/json:
|
|
10358
9558
|
schema:
|
|
@@ -10418,7 +9618,7 @@ paths:
|
|
|
10418
9618
|
in: query
|
|
10419
9619
|
- schema:
|
|
10420
9620
|
type: string
|
|
10421
|
-
enum: &
|
|
9621
|
+
enum: &a17
|
|
10422
9622
|
- Solo
|
|
10423
9623
|
- Couple
|
|
10424
9624
|
- Group
|
|
@@ -10429,7 +9629,7 @@ paths:
|
|
|
10429
9629
|
in: query
|
|
10430
9630
|
- schema:
|
|
10431
9631
|
type: string
|
|
10432
|
-
enum: &
|
|
9632
|
+
enum: &a18
|
|
10433
9633
|
- One-Way
|
|
10434
9634
|
- Round-Trip
|
|
10435
9635
|
example: Round-Trip
|
|
@@ -10499,7 +9699,7 @@ paths:
|
|
|
10499
9699
|
in: query
|
|
10500
9700
|
- schema:
|
|
10501
9701
|
type: string
|
|
10502
|
-
enum: &
|
|
9702
|
+
enum: &a19
|
|
10503
9703
|
- country
|
|
10504
9704
|
- city
|
|
10505
9705
|
description: "Ranked output granularity: country (default) or city. Applies to
|
|
@@ -10571,6 +9771,17 @@ paths:
|
|
|
10571
9771
|
code: CONFLICT
|
|
10572
9772
|
message: an exchange is already in progress for this booking
|
|
10573
9773
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9774
|
+
"410":
|
|
9775
|
+
description: The resource this request names no longer exists
|
|
9776
|
+
content:
|
|
9777
|
+
application/json:
|
|
9778
|
+
schema:
|
|
9779
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
9780
|
+
example:
|
|
9781
|
+
error:
|
|
9782
|
+
code: GONE
|
|
9783
|
+
message: The resource no longer exists.
|
|
9784
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10574
9785
|
"422":
|
|
10575
9786
|
description: Validation error
|
|
10576
9787
|
content:
|
|
@@ -10607,7 +9818,7 @@ paths:
|
|
|
10607
9818
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10608
9819
|
"503":
|
|
10609
9820
|
description: No travel provider can serve the request right now
|
|
10610
|
-
headers: *
|
|
9821
|
+
headers: *a15
|
|
10611
9822
|
content:
|
|
10612
9823
|
application/json:
|
|
10613
9824
|
schema:
|
|
@@ -10673,14 +9884,14 @@ paths:
|
|
|
10673
9884
|
in: query
|
|
10674
9885
|
- schema:
|
|
10675
9886
|
type: string
|
|
10676
|
-
enum: *
|
|
9887
|
+
enum: *a17
|
|
10677
9888
|
example: Couple
|
|
10678
9889
|
required: false
|
|
10679
9890
|
name: traveler_type
|
|
10680
9891
|
in: query
|
|
10681
9892
|
- schema:
|
|
10682
9893
|
type: string
|
|
10683
|
-
enum: *
|
|
9894
|
+
enum: *a18
|
|
10684
9895
|
example: Round-Trip
|
|
10685
9896
|
required: false
|
|
10686
9897
|
name: trip_type
|
|
@@ -10748,7 +9959,7 @@ paths:
|
|
|
10748
9959
|
in: query
|
|
10749
9960
|
- schema:
|
|
10750
9961
|
type: string
|
|
10751
|
-
enum: *
|
|
9962
|
+
enum: *a19
|
|
10752
9963
|
description: "Ranked output granularity: country (default) or city. Applies to
|
|
10753
9964
|
destination/market (not audience)."
|
|
10754
9965
|
example: city
|
|
@@ -10818,6 +10029,17 @@ paths:
|
|
|
10818
10029
|
code: CONFLICT
|
|
10819
10030
|
message: an exchange is already in progress for this booking
|
|
10820
10031
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10032
|
+
"410":
|
|
10033
|
+
description: The resource this request names no longer exists
|
|
10034
|
+
content:
|
|
10035
|
+
application/json:
|
|
10036
|
+
schema:
|
|
10037
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
10038
|
+
example:
|
|
10039
|
+
error:
|
|
10040
|
+
code: GONE
|
|
10041
|
+
message: The resource no longer exists.
|
|
10042
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10821
10043
|
"422":
|
|
10822
10044
|
description: Validation error
|
|
10823
10045
|
content:
|
|
@@ -10854,7 +10076,7 @@ paths:
|
|
|
10854
10076
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10855
10077
|
"503":
|
|
10856
10078
|
description: No travel provider can serve the request right now
|
|
10857
|
-
headers: *
|
|
10079
|
+
headers: *a15
|
|
10858
10080
|
content:
|
|
10859
10081
|
application/json:
|
|
10860
10082
|
schema:
|
|
@@ -10926,14 +10148,14 @@ paths:
|
|
|
10926
10148
|
in: query
|
|
10927
10149
|
- schema:
|
|
10928
10150
|
type: string
|
|
10929
|
-
enum: *
|
|
10151
|
+
enum: *a17
|
|
10930
10152
|
example: Couple
|
|
10931
10153
|
required: false
|
|
10932
10154
|
name: traveler_type
|
|
10933
10155
|
in: query
|
|
10934
10156
|
- schema:
|
|
10935
10157
|
type: string
|
|
10936
|
-
enum: *
|
|
10158
|
+
enum: *a18
|
|
10937
10159
|
example: Round-Trip
|
|
10938
10160
|
required: false
|
|
10939
10161
|
name: trip_type
|
|
@@ -11052,6 +10274,17 @@ paths:
|
|
|
11052
10274
|
code: CONFLICT
|
|
11053
10275
|
message: an exchange is already in progress for this booking
|
|
11054
10276
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10277
|
+
"410":
|
|
10278
|
+
description: The resource this request names no longer exists
|
|
10279
|
+
content:
|
|
10280
|
+
application/json:
|
|
10281
|
+
schema:
|
|
10282
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
10283
|
+
example:
|
|
10284
|
+
error:
|
|
10285
|
+
code: GONE
|
|
10286
|
+
message: The resource no longer exists.
|
|
10287
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11055
10288
|
"422":
|
|
11056
10289
|
description: Validation error
|
|
11057
10290
|
content:
|
|
@@ -11088,7 +10321,7 @@ paths:
|
|
|
11088
10321
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11089
10322
|
"503":
|
|
11090
10323
|
description: No travel provider can serve the request right now
|
|
11091
|
-
headers: *
|
|
10324
|
+
headers: *a15
|
|
11092
10325
|
content:
|
|
11093
10326
|
application/json:
|
|
11094
10327
|
schema:
|
|
@@ -11166,14 +10399,14 @@ paths:
|
|
|
11166
10399
|
in: query
|
|
11167
10400
|
- schema:
|
|
11168
10401
|
type: string
|
|
11169
|
-
enum: *
|
|
10402
|
+
enum: *a17
|
|
11170
10403
|
example: Couple
|
|
11171
10404
|
required: false
|
|
11172
10405
|
name: traveler_type
|
|
11173
10406
|
in: query
|
|
11174
10407
|
- schema:
|
|
11175
10408
|
type: string
|
|
11176
|
-
enum: *
|
|
10409
|
+
enum: *a18
|
|
11177
10410
|
example: Round-Trip
|
|
11178
10411
|
required: false
|
|
11179
10412
|
name: trip_type
|
|
@@ -11225,7 +10458,7 @@ paths:
|
|
|
11225
10458
|
in: query
|
|
11226
10459
|
- schema:
|
|
11227
10460
|
type: string
|
|
11228
|
-
enum: &
|
|
10461
|
+
enum: &a20
|
|
11229
10462
|
- day
|
|
11230
10463
|
- week
|
|
11231
10464
|
- month
|
|
@@ -11288,6 +10521,17 @@ paths:
|
|
|
11288
10521
|
code: CONFLICT
|
|
11289
10522
|
message: an exchange is already in progress for this booking
|
|
11290
10523
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10524
|
+
"410":
|
|
10525
|
+
description: The resource this request names no longer exists
|
|
10526
|
+
content:
|
|
10527
|
+
application/json:
|
|
10528
|
+
schema:
|
|
10529
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
10530
|
+
example:
|
|
10531
|
+
error:
|
|
10532
|
+
code: GONE
|
|
10533
|
+
message: The resource no longer exists.
|
|
10534
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11291
10535
|
"422":
|
|
11292
10536
|
description: Validation error
|
|
11293
10537
|
content:
|
|
@@ -11324,7 +10568,7 @@ paths:
|
|
|
11324
10568
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11325
10569
|
"503":
|
|
11326
10570
|
description: No travel provider can serve the request right now
|
|
11327
|
-
headers: *
|
|
10571
|
+
headers: *a15
|
|
11328
10572
|
content:
|
|
11329
10573
|
application/json:
|
|
11330
10574
|
schema:
|
|
@@ -11392,14 +10636,14 @@ paths:
|
|
|
11392
10636
|
in: query
|
|
11393
10637
|
- schema:
|
|
11394
10638
|
type: string
|
|
11395
|
-
enum: *
|
|
10639
|
+
enum: *a17
|
|
11396
10640
|
example: Couple
|
|
11397
10641
|
required: false
|
|
11398
10642
|
name: traveler_type
|
|
11399
10643
|
in: query
|
|
11400
10644
|
- schema:
|
|
11401
10645
|
type: string
|
|
11402
|
-
enum: *
|
|
10646
|
+
enum: *a18
|
|
11403
10647
|
example: Round-Trip
|
|
11404
10648
|
required: false
|
|
11405
10649
|
name: trip_type
|
|
@@ -11451,7 +10695,7 @@ paths:
|
|
|
11451
10695
|
in: query
|
|
11452
10696
|
- schema:
|
|
11453
10697
|
type: string
|
|
11454
|
-
enum: *
|
|
10698
|
+
enum: *a20
|
|
11455
10699
|
description: "Bucket size for the returned series: week (default), day, or
|
|
11456
10700
|
month."
|
|
11457
10701
|
example: week
|
|
@@ -11460,7 +10704,7 @@ paths:
|
|
|
11460
10704
|
in: query
|
|
11461
10705
|
- schema:
|
|
11462
10706
|
type: string
|
|
11463
|
-
enum: *
|
|
10707
|
+
enum: *a19
|
|
11464
10708
|
description: "Ranked output granularity: country (default) or city. Applies to
|
|
11465
10709
|
destination/market (not audience)."
|
|
11466
10710
|
example: city
|
|
@@ -11540,6 +10784,17 @@ paths:
|
|
|
11540
10784
|
code: CONFLICT
|
|
11541
10785
|
message: an exchange is already in progress for this booking
|
|
11542
10786
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10787
|
+
"410":
|
|
10788
|
+
description: The resource this request names no longer exists
|
|
10789
|
+
content:
|
|
10790
|
+
application/json:
|
|
10791
|
+
schema:
|
|
10792
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
10793
|
+
example:
|
|
10794
|
+
error:
|
|
10795
|
+
code: GONE
|
|
10796
|
+
message: The resource no longer exists.
|
|
10797
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11543
10798
|
"422":
|
|
11544
10799
|
description: Validation error
|
|
11545
10800
|
content:
|
|
@@ -11576,7 +10831,7 @@ paths:
|
|
|
11576
10831
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11577
10832
|
"503":
|
|
11578
10833
|
description: No travel provider can serve the request right now
|
|
11579
|
-
headers: *
|
|
10834
|
+
headers: *a15
|
|
11580
10835
|
content:
|
|
11581
10836
|
application/json:
|
|
11582
10837
|
schema:
|
|
@@ -11644,14 +10899,14 @@ paths:
|
|
|
11644
10899
|
in: query
|
|
11645
10900
|
- schema:
|
|
11646
10901
|
type: string
|
|
11647
|
-
enum: *
|
|
10902
|
+
enum: *a17
|
|
11648
10903
|
example: Couple
|
|
11649
10904
|
required: false
|
|
11650
10905
|
name: traveler_type
|
|
11651
10906
|
in: query
|
|
11652
10907
|
- schema:
|
|
11653
10908
|
type: string
|
|
11654
|
-
enum: *
|
|
10909
|
+
enum: *a18
|
|
11655
10910
|
example: Round-Trip
|
|
11656
10911
|
required: false
|
|
11657
10912
|
name: trip_type
|
|
@@ -11703,7 +10958,7 @@ paths:
|
|
|
11703
10958
|
in: query
|
|
11704
10959
|
- schema:
|
|
11705
10960
|
type: string
|
|
11706
|
-
enum: *
|
|
10961
|
+
enum: *a20
|
|
11707
10962
|
description: "Bucket size for the returned series: week (default), day, or
|
|
11708
10963
|
month."
|
|
11709
10964
|
example: week
|
|
@@ -11712,7 +10967,7 @@ paths:
|
|
|
11712
10967
|
in: query
|
|
11713
10968
|
- schema:
|
|
11714
10969
|
type: string
|
|
11715
|
-
enum: *
|
|
10970
|
+
enum: *a19
|
|
11716
10971
|
description: "Ranked output granularity: country (default) or city. Applies to
|
|
11717
10972
|
destination/market (not audience)."
|
|
11718
10973
|
example: city
|
|
@@ -11792,6 +11047,17 @@ paths:
|
|
|
11792
11047
|
code: CONFLICT
|
|
11793
11048
|
message: an exchange is already in progress for this booking
|
|
11794
11049
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11050
|
+
"410":
|
|
11051
|
+
description: The resource this request names no longer exists
|
|
11052
|
+
content:
|
|
11053
|
+
application/json:
|
|
11054
|
+
schema:
|
|
11055
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
11056
|
+
example:
|
|
11057
|
+
error:
|
|
11058
|
+
code: GONE
|
|
11059
|
+
message: The resource no longer exists.
|
|
11060
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11795
11061
|
"422":
|
|
11796
11062
|
description: Validation error
|
|
11797
11063
|
content:
|
|
@@ -11828,7 +11094,7 @@ paths:
|
|
|
11828
11094
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11829
11095
|
"503":
|
|
11830
11096
|
description: No travel provider can serve the request right now
|
|
11831
|
-
headers: *
|
|
11097
|
+
headers: *a15
|
|
11832
11098
|
content:
|
|
11833
11099
|
application/json:
|
|
11834
11100
|
schema:
|
|
@@ -11902,14 +11168,14 @@ paths:
|
|
|
11902
11168
|
in: query
|
|
11903
11169
|
- schema:
|
|
11904
11170
|
type: string
|
|
11905
|
-
enum: *
|
|
11171
|
+
enum: *a17
|
|
11906
11172
|
example: Couple
|
|
11907
11173
|
required: false
|
|
11908
11174
|
name: traveler_type
|
|
11909
11175
|
in: query
|
|
11910
11176
|
- schema:
|
|
11911
11177
|
type: string
|
|
11912
|
-
enum: *
|
|
11178
|
+
enum: *a18
|
|
11913
11179
|
example: Round-Trip
|
|
11914
11180
|
required: false
|
|
11915
11181
|
name: trip_type
|
|
@@ -11961,7 +11227,7 @@ paths:
|
|
|
11961
11227
|
in: query
|
|
11962
11228
|
- schema:
|
|
11963
11229
|
type: string
|
|
11964
|
-
enum: *
|
|
11230
|
+
enum: *a20
|
|
11965
11231
|
description: "Bucket size for the returned series: week (default), day, or
|
|
11966
11232
|
month."
|
|
11967
11233
|
example: week
|
|
@@ -12031,6 +11297,17 @@ paths:
|
|
|
12031
11297
|
code: CONFLICT
|
|
12032
11298
|
message: an exchange is already in progress for this booking
|
|
12033
11299
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11300
|
+
"410":
|
|
11301
|
+
description: The resource this request names no longer exists
|
|
11302
|
+
content:
|
|
11303
|
+
application/json:
|
|
11304
|
+
schema:
|
|
11305
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
11306
|
+
example:
|
|
11307
|
+
error:
|
|
11308
|
+
code: GONE
|
|
11309
|
+
message: The resource no longer exists.
|
|
11310
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12034
11311
|
"422":
|
|
12035
11312
|
description: Validation error
|
|
12036
11313
|
content:
|
|
@@ -12067,7 +11344,7 @@ paths:
|
|
|
12067
11344
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12068
11345
|
"503":
|
|
12069
11346
|
description: No travel provider can serve the request right now
|
|
12070
|
-
headers: *
|
|
11347
|
+
headers: *a15
|
|
12071
11348
|
content:
|
|
12072
11349
|
application/json:
|
|
12073
11350
|
schema:
|
|
@@ -12158,6 +11435,17 @@ paths:
|
|
|
12158
11435
|
code: CONFLICT
|
|
12159
11436
|
message: an exchange is already in progress for this booking
|
|
12160
11437
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11438
|
+
"410":
|
|
11439
|
+
description: The resource this request names no longer exists
|
|
11440
|
+
content:
|
|
11441
|
+
application/json:
|
|
11442
|
+
schema:
|
|
11443
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
11444
|
+
example:
|
|
11445
|
+
error:
|
|
11446
|
+
code: GONE
|
|
11447
|
+
message: The resource no longer exists.
|
|
11448
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12161
11449
|
"422":
|
|
12162
11450
|
description: Validation error
|
|
12163
11451
|
content:
|
|
@@ -12194,7 +11482,7 @@ paths:
|
|
|
12194
11482
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12195
11483
|
"503":
|
|
12196
11484
|
description: No travel provider can serve the request right now
|
|
12197
|
-
headers: *
|
|
11485
|
+
headers: *a15
|
|
12198
11486
|
content:
|
|
12199
11487
|
application/json:
|
|
12200
11488
|
schema:
|
|
@@ -12283,6 +11571,17 @@ paths:
|
|
|
12283
11571
|
code: CONFLICT
|
|
12284
11572
|
message: an exchange is already in progress for this booking
|
|
12285
11573
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11574
|
+
"410":
|
|
11575
|
+
description: The resource this request names no longer exists
|
|
11576
|
+
content:
|
|
11577
|
+
application/json:
|
|
11578
|
+
schema:
|
|
11579
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
11580
|
+
example:
|
|
11581
|
+
error:
|
|
11582
|
+
code: GONE
|
|
11583
|
+
message: The resource no longer exists.
|
|
11584
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12286
11585
|
"422":
|
|
12287
11586
|
description: Validation error
|
|
12288
11587
|
content:
|
|
@@ -12319,7 +11618,7 @@ paths:
|
|
|
12319
11618
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12320
11619
|
"503":
|
|
12321
11620
|
description: No travel provider can serve the request right now
|
|
12322
|
-
headers: *
|
|
11621
|
+
headers: *a15
|
|
12323
11622
|
content:
|
|
12324
11623
|
application/json:
|
|
12325
11624
|
schema:
|
|
@@ -12408,6 +11707,17 @@ paths:
|
|
|
12408
11707
|
code: CONFLICT
|
|
12409
11708
|
message: an exchange is already in progress for this booking
|
|
12410
11709
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11710
|
+
"410":
|
|
11711
|
+
description: The resource this request names no longer exists
|
|
11712
|
+
content:
|
|
11713
|
+
application/json:
|
|
11714
|
+
schema:
|
|
11715
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
11716
|
+
example:
|
|
11717
|
+
error:
|
|
11718
|
+
code: GONE
|
|
11719
|
+
message: The resource no longer exists.
|
|
11720
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12411
11721
|
"422":
|
|
12412
11722
|
description: Validation error
|
|
12413
11723
|
content:
|
|
@@ -12444,7 +11754,7 @@ paths:
|
|
|
12444
11754
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12445
11755
|
"503":
|
|
12446
11756
|
description: No travel provider can serve the request right now
|
|
12447
|
-
headers: *
|
|
11757
|
+
headers: *a15
|
|
12448
11758
|
content:
|
|
12449
11759
|
application/json:
|
|
12450
11760
|
schema:
|
|
@@ -12544,6 +11854,17 @@ paths:
|
|
|
12544
11854
|
code: CONFLICT
|
|
12545
11855
|
message: an exchange is already in progress for this booking
|
|
12546
11856
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11857
|
+
"410":
|
|
11858
|
+
description: The resource this request names no longer exists
|
|
11859
|
+
content:
|
|
11860
|
+
application/json:
|
|
11861
|
+
schema:
|
|
11862
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
11863
|
+
example:
|
|
11864
|
+
error:
|
|
11865
|
+
code: GONE
|
|
11866
|
+
message: The resource no longer exists.
|
|
11867
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12547
11868
|
"422":
|
|
12548
11869
|
description: Validation error
|
|
12549
11870
|
content:
|
|
@@ -12580,7 +11901,7 @@ paths:
|
|
|
12580
11901
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12581
11902
|
"503":
|
|
12582
11903
|
description: No travel provider can serve the request right now
|
|
12583
|
-
headers: *
|
|
11904
|
+
headers: *a15
|
|
12584
11905
|
content:
|
|
12585
11906
|
application/json:
|
|
12586
11907
|
schema:
|
|
@@ -12669,6 +11990,17 @@ paths:
|
|
|
12669
11990
|
code: CONFLICT
|
|
12670
11991
|
message: an exchange is already in progress for this booking
|
|
12671
11992
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11993
|
+
"410":
|
|
11994
|
+
description: The resource this request names no longer exists
|
|
11995
|
+
content:
|
|
11996
|
+
application/json:
|
|
11997
|
+
schema:
|
|
11998
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
11999
|
+
example:
|
|
12000
|
+
error:
|
|
12001
|
+
code: GONE
|
|
12002
|
+
message: The resource no longer exists.
|
|
12003
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12672
12004
|
"422":
|
|
12673
12005
|
description: Validation error
|
|
12674
12006
|
content:
|
|
@@ -12705,7 +12037,7 @@ paths:
|
|
|
12705
12037
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12706
12038
|
"503":
|
|
12707
12039
|
description: No travel provider can serve the request right now
|
|
12708
|
-
headers: *
|
|
12040
|
+
headers: *a15
|
|
12709
12041
|
content:
|
|
12710
12042
|
application/json:
|
|
12711
12043
|
schema:
|
|
@@ -12794,6 +12126,17 @@ paths:
|
|
|
12794
12126
|
code: CONFLICT
|
|
12795
12127
|
message: an exchange is already in progress for this booking
|
|
12796
12128
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12129
|
+
"410":
|
|
12130
|
+
description: The resource this request names no longer exists
|
|
12131
|
+
content:
|
|
12132
|
+
application/json:
|
|
12133
|
+
schema:
|
|
12134
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
12135
|
+
example:
|
|
12136
|
+
error:
|
|
12137
|
+
code: GONE
|
|
12138
|
+
message: The resource no longer exists.
|
|
12139
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12797
12140
|
"422":
|
|
12798
12141
|
description: Validation error
|
|
12799
12142
|
content:
|
|
@@ -12830,7 +12173,7 @@ paths:
|
|
|
12830
12173
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12831
12174
|
"503":
|
|
12832
12175
|
description: No travel provider can serve the request right now
|
|
12833
|
-
headers: *
|
|
12176
|
+
headers: *a15
|
|
12834
12177
|
content:
|
|
12835
12178
|
application/json:
|
|
12836
12179
|
schema:
|
|
@@ -12919,6 +12262,17 @@ paths:
|
|
|
12919
12262
|
code: CONFLICT
|
|
12920
12263
|
message: an exchange is already in progress for this booking
|
|
12921
12264
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12265
|
+
"410":
|
|
12266
|
+
description: The resource this request names no longer exists
|
|
12267
|
+
content:
|
|
12268
|
+
application/json:
|
|
12269
|
+
schema:
|
|
12270
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
12271
|
+
example:
|
|
12272
|
+
error:
|
|
12273
|
+
code: GONE
|
|
12274
|
+
message: The resource no longer exists.
|
|
12275
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12922
12276
|
"422":
|
|
12923
12277
|
description: Validation error
|
|
12924
12278
|
content:
|
|
@@ -12955,7 +12309,7 @@ paths:
|
|
|
12955
12309
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12956
12310
|
"503":
|
|
12957
12311
|
description: No travel provider can serve the request right now
|
|
12958
|
-
headers: *
|
|
12312
|
+
headers: *a15
|
|
12959
12313
|
content:
|
|
12960
12314
|
application/json:
|
|
12961
12315
|
schema:
|
|
@@ -13044,6 +12398,17 @@ paths:
|
|
|
13044
12398
|
code: CONFLICT
|
|
13045
12399
|
message: an exchange is already in progress for this booking
|
|
13046
12400
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12401
|
+
"410":
|
|
12402
|
+
description: The resource this request names no longer exists
|
|
12403
|
+
content:
|
|
12404
|
+
application/json:
|
|
12405
|
+
schema:
|
|
12406
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
12407
|
+
example:
|
|
12408
|
+
error:
|
|
12409
|
+
code: GONE
|
|
12410
|
+
message: The resource no longer exists.
|
|
12411
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13047
12412
|
"422":
|
|
13048
12413
|
description: Validation error
|
|
13049
12414
|
content:
|
|
@@ -13080,7 +12445,7 @@ paths:
|
|
|
13080
12445
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13081
12446
|
"503":
|
|
13082
12447
|
description: No travel provider can serve the request right now
|
|
13083
|
-
headers: *
|
|
12448
|
+
headers: *a15
|
|
13084
12449
|
content:
|
|
13085
12450
|
application/json:
|
|
13086
12451
|
schema:
|
|
@@ -13191,6 +12556,17 @@ paths:
|
|
|
13191
12556
|
code: CONFLICT
|
|
13192
12557
|
message: an exchange is already in progress for this booking
|
|
13193
12558
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12559
|
+
"410":
|
|
12560
|
+
description: The resource this request names no longer exists
|
|
12561
|
+
content:
|
|
12562
|
+
application/json:
|
|
12563
|
+
schema:
|
|
12564
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
12565
|
+
example:
|
|
12566
|
+
error:
|
|
12567
|
+
code: GONE
|
|
12568
|
+
message: The resource no longer exists.
|
|
12569
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13194
12570
|
"422":
|
|
13195
12571
|
description: Validation error
|
|
13196
12572
|
content:
|
|
@@ -13227,7 +12603,7 @@ paths:
|
|
|
13227
12603
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13228
12604
|
"503":
|
|
13229
12605
|
description: No travel provider can serve the request right now
|
|
13230
|
-
headers: *
|
|
12606
|
+
headers: *a15
|
|
13231
12607
|
content:
|
|
13232
12608
|
application/json:
|
|
13233
12609
|
schema:
|
|
@@ -13338,6 +12714,17 @@ paths:
|
|
|
13338
12714
|
code: CONFLICT
|
|
13339
12715
|
message: an exchange is already in progress for this booking
|
|
13340
12716
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12717
|
+
"410":
|
|
12718
|
+
description: The resource this request names no longer exists
|
|
12719
|
+
content:
|
|
12720
|
+
application/json:
|
|
12721
|
+
schema:
|
|
12722
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
12723
|
+
example:
|
|
12724
|
+
error:
|
|
12725
|
+
code: GONE
|
|
12726
|
+
message: The resource no longer exists.
|
|
12727
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13341
12728
|
"422":
|
|
13342
12729
|
description: Validation error
|
|
13343
12730
|
content:
|
|
@@ -13374,7 +12761,7 @@ paths:
|
|
|
13374
12761
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13375
12762
|
"503":
|
|
13376
12763
|
description: No travel provider can serve the request right now
|
|
13377
|
-
headers: *
|
|
12764
|
+
headers: *a15
|
|
13378
12765
|
content:
|
|
13379
12766
|
application/json:
|
|
13380
12767
|
schema:
|
|
@@ -13502,6 +12889,17 @@ paths:
|
|
|
13502
12889
|
value: 20500
|
|
13503
12890
|
currency: USD
|
|
13504
12891
|
decimal_places: 2
|
|
12892
|
+
"410":
|
|
12893
|
+
description: The resource this request names no longer exists
|
|
12894
|
+
content:
|
|
12895
|
+
application/json:
|
|
12896
|
+
schema:
|
|
12897
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
12898
|
+
example:
|
|
12899
|
+
error:
|
|
12900
|
+
code: GONE
|
|
12901
|
+
message: The resource no longer exists.
|
|
12902
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13505
12903
|
"422":
|
|
13506
12904
|
description: Validation error
|
|
13507
12905
|
content:
|
|
@@ -13538,7 +12936,7 @@ paths:
|
|
|
13538
12936
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13539
12937
|
"503":
|
|
13540
12938
|
description: No travel provider can serve the request right now
|
|
13541
|
-
headers: *
|
|
12939
|
+
headers: *a15
|
|
13542
12940
|
content:
|
|
13543
12941
|
application/json:
|
|
13544
12942
|
schema:
|
|
@@ -13646,6 +13044,17 @@ paths:
|
|
|
13646
13044
|
code: CONFLICT
|
|
13647
13045
|
message: an exchange is already in progress for this booking
|
|
13648
13046
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13047
|
+
"410":
|
|
13048
|
+
description: The resource this request names no longer exists
|
|
13049
|
+
content:
|
|
13050
|
+
application/json:
|
|
13051
|
+
schema:
|
|
13052
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
13053
|
+
example:
|
|
13054
|
+
error:
|
|
13055
|
+
code: GONE
|
|
13056
|
+
message: The resource no longer exists.
|
|
13057
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13649
13058
|
"422":
|
|
13650
13059
|
description: Validation error
|
|
13651
13060
|
content:
|
|
@@ -13682,7 +13091,7 @@ paths:
|
|
|
13682
13091
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13683
13092
|
"503":
|
|
13684
13093
|
description: No travel provider can serve the request right now
|
|
13685
|
-
headers: *
|
|
13094
|
+
headers: *a15
|
|
13686
13095
|
content:
|
|
13687
13096
|
application/json:
|
|
13688
13097
|
schema:
|
|
@@ -13802,6 +13211,17 @@ paths:
|
|
|
13802
13211
|
code: CONFLICT
|
|
13803
13212
|
message: an exchange is already in progress for this booking
|
|
13804
13213
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13214
|
+
"410":
|
|
13215
|
+
description: The resource this request names no longer exists
|
|
13216
|
+
content:
|
|
13217
|
+
application/json:
|
|
13218
|
+
schema:
|
|
13219
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
13220
|
+
example:
|
|
13221
|
+
error:
|
|
13222
|
+
code: GONE
|
|
13223
|
+
message: The resource no longer exists.
|
|
13224
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13805
13225
|
"422":
|
|
13806
13226
|
description: Validation error
|
|
13807
13227
|
content:
|
|
@@ -13838,7 +13258,7 @@ paths:
|
|
|
13838
13258
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13839
13259
|
"503":
|
|
13840
13260
|
description: No travel provider can serve the request right now
|
|
13841
|
-
headers: *
|
|
13261
|
+
headers: *a15
|
|
13842
13262
|
content:
|
|
13843
13263
|
application/json:
|
|
13844
13264
|
schema:
|
|
@@ -13972,6 +13392,17 @@ paths:
|
|
|
13972
13392
|
MANUAL_REQUIRED`; commit again with `manual_ok: true` to
|
|
13973
13393
|
hand it to a Jinko agent, then poll the operation."
|
|
13974
13394
|
code: manual_required
|
|
13395
|
+
"410":
|
|
13396
|
+
description: The resource this request names no longer exists
|
|
13397
|
+
content:
|
|
13398
|
+
application/json:
|
|
13399
|
+
schema:
|
|
13400
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
13401
|
+
example:
|
|
13402
|
+
error:
|
|
13403
|
+
code: GONE
|
|
13404
|
+
message: The resource no longer exists.
|
|
13405
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13975
13406
|
"422":
|
|
13976
13407
|
description: Validation error
|
|
13977
13408
|
content:
|
|
@@ -14008,7 +13439,7 @@ paths:
|
|
|
14008
13439
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14009
13440
|
"503":
|
|
14010
13441
|
description: No travel provider can serve the request right now
|
|
14011
|
-
headers: *
|
|
13442
|
+
headers: *a15
|
|
14012
13443
|
content:
|
|
14013
13444
|
application/json:
|
|
14014
13445
|
schema:
|
|
@@ -14120,6 +13551,17 @@ paths:
|
|
|
14120
13551
|
code: CONFLICT
|
|
14121
13552
|
message: an exchange is already in progress for this booking
|
|
14122
13553
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13554
|
+
"410":
|
|
13555
|
+
description: The resource this request names no longer exists
|
|
13556
|
+
content:
|
|
13557
|
+
application/json:
|
|
13558
|
+
schema:
|
|
13559
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
13560
|
+
example:
|
|
13561
|
+
error:
|
|
13562
|
+
code: GONE
|
|
13563
|
+
message: The resource no longer exists.
|
|
13564
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14123
13565
|
"422":
|
|
14124
13566
|
description: Validation error
|
|
14125
13567
|
content:
|
|
@@ -14156,7 +13598,7 @@ paths:
|
|
|
14156
13598
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14157
13599
|
"503":
|
|
14158
13600
|
description: No travel provider can serve the request right now
|
|
14159
|
-
headers: *
|
|
13601
|
+
headers: *a15
|
|
14160
13602
|
content:
|
|
14161
13603
|
application/json:
|
|
14162
13604
|
schema:
|
|
@@ -14249,6 +13691,17 @@ paths:
|
|
|
14249
13691
|
code: CONFLICT
|
|
14250
13692
|
message: an exchange is already in progress for this booking
|
|
14251
13693
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13694
|
+
"410":
|
|
13695
|
+
description: The resource this request names no longer exists
|
|
13696
|
+
content:
|
|
13697
|
+
application/json:
|
|
13698
|
+
schema:
|
|
13699
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
13700
|
+
example:
|
|
13701
|
+
error:
|
|
13702
|
+
code: GONE
|
|
13703
|
+
message: The resource no longer exists.
|
|
13704
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14252
13705
|
"422":
|
|
14253
13706
|
description: Validation error
|
|
14254
13707
|
content:
|
|
@@ -14285,7 +13738,7 @@ paths:
|
|
|
14285
13738
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14286
13739
|
"503":
|
|
14287
13740
|
description: No travel provider can serve the request right now
|
|
14288
|
-
headers: *
|
|
13741
|
+
headers: *a15
|
|
14289
13742
|
content:
|
|
14290
13743
|
application/json:
|
|
14291
13744
|
schema:
|
|
@@ -14368,6 +13821,17 @@ paths:
|
|
|
14368
13821
|
code: CONFLICT
|
|
14369
13822
|
message: an exchange is already in progress for this booking
|
|
14370
13823
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13824
|
+
"410":
|
|
13825
|
+
description: The resource this request names no longer exists
|
|
13826
|
+
content:
|
|
13827
|
+
application/json:
|
|
13828
|
+
schema:
|
|
13829
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
13830
|
+
example:
|
|
13831
|
+
error:
|
|
13832
|
+
code: GONE
|
|
13833
|
+
message: The resource no longer exists.
|
|
13834
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14371
13835
|
"422":
|
|
14372
13836
|
description: Validation error
|
|
14373
13837
|
content:
|
|
@@ -14404,7 +13868,7 @@ paths:
|
|
|
14404
13868
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14405
13869
|
"503":
|
|
14406
13870
|
description: No travel provider can serve the request right now
|
|
14407
|
-
headers: *
|
|
13871
|
+
headers: *a15
|
|
14408
13872
|
content:
|
|
14409
13873
|
application/json:
|
|
14410
13874
|
schema:
|
|
@@ -14495,6 +13959,17 @@ paths:
|
|
|
14495
13959
|
code: CONFLICT
|
|
14496
13960
|
message: an exchange is already in progress for this booking
|
|
14497
13961
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13962
|
+
"410":
|
|
13963
|
+
description: The resource this request names no longer exists
|
|
13964
|
+
content:
|
|
13965
|
+
application/json:
|
|
13966
|
+
schema:
|
|
13967
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
13968
|
+
example:
|
|
13969
|
+
error:
|
|
13970
|
+
code: GONE
|
|
13971
|
+
message: The resource no longer exists.
|
|
13972
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14498
13973
|
"422":
|
|
14499
13974
|
description: Validation error
|
|
14500
13975
|
content:
|
|
@@ -14531,7 +14006,7 @@ paths:
|
|
|
14531
14006
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14532
14007
|
"503":
|
|
14533
14008
|
description: No travel provider can serve the request right now
|
|
14534
|
-
headers: *
|
|
14009
|
+
headers: *a15
|
|
14535
14010
|
content:
|
|
14536
14011
|
application/json:
|
|
14537
14012
|
schema:
|
|
@@ -14621,6 +14096,17 @@ paths:
|
|
|
14621
14096
|
code: CONFLICT
|
|
14622
14097
|
message: an exchange is already in progress for this booking
|
|
14623
14098
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14099
|
+
"410":
|
|
14100
|
+
description: The resource this request names no longer exists
|
|
14101
|
+
content:
|
|
14102
|
+
application/json:
|
|
14103
|
+
schema:
|
|
14104
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
14105
|
+
example:
|
|
14106
|
+
error:
|
|
14107
|
+
code: GONE
|
|
14108
|
+
message: The resource no longer exists.
|
|
14109
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14624
14110
|
"422":
|
|
14625
14111
|
description: Validation error
|
|
14626
14112
|
content:
|
|
@@ -14657,7 +14143,7 @@ paths:
|
|
|
14657
14143
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14658
14144
|
"503":
|
|
14659
14145
|
description: No travel provider can serve the request right now
|
|
14660
|
-
headers: *
|
|
14146
|
+
headers: *a15
|
|
14661
14147
|
content:
|
|
14662
14148
|
application/json:
|
|
14663
14149
|
schema:
|
|
@@ -14750,6 +14236,17 @@ paths:
|
|
|
14750
14236
|
code: CONFLICT
|
|
14751
14237
|
message: an exchange is already in progress for this booking
|
|
14752
14238
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14239
|
+
"410":
|
|
14240
|
+
description: The resource this request names no longer exists
|
|
14241
|
+
content:
|
|
14242
|
+
application/json:
|
|
14243
|
+
schema:
|
|
14244
|
+
$ref: "#/components/schemas/ErrorResponse"
|
|
14245
|
+
example:
|
|
14246
|
+
error:
|
|
14247
|
+
code: GONE
|
|
14248
|
+
message: The resource no longer exists.
|
|
14249
|
+
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14753
14250
|
"422":
|
|
14754
14251
|
description: Validation error
|
|
14755
14252
|
content:
|
|
@@ -14786,7 +14283,7 @@ paths:
|
|
|
14786
14283
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14787
14284
|
"503":
|
|
14788
14285
|
description: No travel provider can serve the request right now
|
|
14789
|
-
headers: *
|
|
14286
|
+
headers: *a15
|
|
14790
14287
|
content:
|
|
14791
14288
|
application/json:
|
|
14792
14289
|
schema:
|