@gojinko/api-client 2.29.0 → 2.29.2

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/public-api.yaml CHANGED
@@ -1,10 +1,10 @@
1
- # synced from jinko-api@7a42e7f9a94e56a9c301186d15d3c00532640284 (7a42e7f9a94e56a9c301186d15d3c00532640284)
1
+ # synced from jinko-api@018822da7b5f2e035baa83aa0a615d7facc2432b (018822d)
2
2
  # Vendored copy of the canonical public contract. Do not hand-edit: change it in
3
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.16.0
7
+ version: 0.17.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.
@@ -485,6 +485,15 @@ components:
485
485
  code:
486
486
  type: string
487
487
  enum: &a9
488
+ - credential_format_invalid
489
+ - payment_type_not_enabled
490
+ - payment_credential_invalid
491
+ - trip_owned_by_other_payment
492
+ - idempotency_key_reused
493
+ - attempt_in_progress
494
+ - quote_expired
495
+ - attempt_terminal
496
+ - temporarily_unavailable
488
497
  - AUTH_REQUIRED
489
498
  - PAYMENT_REQUIRED
490
499
  - RATE_LIMITED
@@ -2357,6 +2366,132 @@ components:
2357
2366
  trip_id: trip_1048576
2358
2367
  add_item:
2359
2368
  trip_item_token: tok_flt_9f3b2a17
2369
+ PaymentAttemptOutcome:
2370
+ type: object
2371
+ properties:
2372
+ payment_attempt_id:
2373
+ type: string
2374
+ trip_id:
2375
+ type: string
2376
+ quoted_cart_id:
2377
+ type: integer
2378
+ fulfillment_cart_id:
2379
+ type: integer
2380
+ payment_status:
2381
+ type: string
2382
+ enum:
2383
+ - not_started
2384
+ - pending
2385
+ - requires_authentication
2386
+ - authorized
2387
+ - captured
2388
+ - declined
2389
+ - cancelling
2390
+ - cancelled
2391
+ - expired
2392
+ - failed
2393
+ booking_status:
2394
+ type: string
2395
+ booking_ref:
2396
+ type: string
2397
+ payment_error:
2398
+ type: object
2399
+ nullable: true
2400
+ properties:
2401
+ code:
2402
+ type: string
2403
+ enum: &a12
2404
+ - credential_format_invalid
2405
+ - payment_type_not_enabled
2406
+ - payment_credential_invalid
2407
+ - trip_owned_by_other_payment
2408
+ - idempotency_key_reused
2409
+ - attempt_in_progress
2410
+ - card_declined
2411
+ - payment_credential_rejected
2412
+ - authentication_required
2413
+ - authentication_failed
2414
+ - authentication_abandoned
2415
+ - quote_expired
2416
+ - attempt_terminal
2417
+ - payment_outcome_unknown
2418
+ - fulfillment_dispatch_delayed
2419
+ - reconciliation_required
2420
+ - temporarily_unavailable
2421
+ message:
2422
+ type: string
2423
+ required:
2424
+ - code
2425
+ - message
2426
+ recovery:
2427
+ type: object
2428
+ properties:
2429
+ action:
2430
+ type: string
2431
+ enum: &a13
2432
+ - poll
2433
+ - authenticate
2434
+ - retry_same_key
2435
+ - retry_new_key
2436
+ - recheckout
2437
+ - contact_support
2438
+ - stop
2439
+ replacement_credential_required:
2440
+ type: boolean
2441
+ required:
2442
+ - action
2443
+ - replacement_credential_required
2444
+ recovery_status:
2445
+ type: string
2446
+ enum:
2447
+ - automatic
2448
+ - manual_review
2449
+ quote_expires_at:
2450
+ type: string
2451
+ format: date-time
2452
+ retry_after_seconds:
2453
+ type: integer
2454
+ authentication:
2455
+ type: object
2456
+ properties:
2457
+ url:
2458
+ type: string
2459
+ expires_at:
2460
+ type: string
2461
+ format: date-time
2462
+ required:
2463
+ - url
2464
+ - expires_at
2465
+ money:
2466
+ type: object
2467
+ properties:
2468
+ authorized:
2469
+ $ref: "#/components/schemas/Money"
2470
+ captured:
2471
+ $ref: "#/components/schemas/Money"
2472
+ released:
2473
+ $ref: "#/components/schemas/Money"
2474
+ refunded:
2475
+ $ref: "#/components/schemas/Money"
2476
+ externally_reimbursed:
2477
+ $ref: "#/components/schemas/Money"
2478
+ resolution_status:
2479
+ type: string
2480
+ enum:
2481
+ - pending
2482
+ - resolved
2483
+ - manual_review
2484
+ refund_reference:
2485
+ type: string
2486
+ required:
2487
+ - payment_attempt_id
2488
+ - trip_id
2489
+ - quoted_cart_id
2490
+ - payment_status
2491
+ - booking_status
2492
+ - payment_error
2493
+ - recovery
2494
+ - recovery_status
2360
2495
  BookingRef:
2361
2496
  type: object
2362
2497
  properties:
@@ -2409,6 +2544,8 @@ components:
2409
2544
  GetTripResponse:
2410
2545
  type: object
2411
2546
  properties:
2547
+ payment_attempt:
2548
+ $ref: "#/components/schemas/PaymentAttemptOutcome"
2412
2549
  trip_id:
2413
2550
  type: string
2414
2551
  example: trip_1048576
@@ -2635,6 +2772,48 @@ components:
2635
2772
  CheckoutResponse:
2636
2773
  type: object
2637
2774
  properties:
2775
+ quoted_cart_id:
2776
+ type: integer
2777
+ accepted_payment_types:
2778
+ type: array
2779
+ items:
2780
+ type: object
2781
+ properties:
2782
+ type:
2783
+ type: string
2784
+ enum:
2785
+ - spt
2786
+ - card
2787
+ card_kinds:
2788
+ type: array
2789
+ items:
2790
+ type: string
2791
+ enum:
2792
+ - customer_card
2793
+ - vcc
2794
+ requires:
2795
+ type: object
2796
+ properties:
2797
+ headers:
2798
+ type: array
2799
+ items:
2800
+ type: string
2801
+ fields:
2802
+ type: array
2803
+ items:
2804
+ type: string
2805
+ required:
2806
+ - headers
2807
+ - fields
2808
+ authentication:
2809
+ type: string
2810
+ enum:
2811
+ - customer_handoff
2812
+ - unavailable
2813
+ required:
2814
+ - type
2815
+ - requires
2816
+ - authentication
2638
2817
  session_id:
2639
2818
  type: string
2640
2819
  example: cs_1048576
@@ -2682,6 +2861,9 @@ components:
2682
2861
  $ref: "#/components/schemas/TripItem"
2683
2862
  agent_spt_params:
2684
2863
  $ref: "#/components/schemas/AgentSPTParams"
2864
+ required:
2865
+ - quoted_cart_id
2866
+ - accepted_payment_types
2685
2867
  CheckoutRequest:
2686
2868
  type: object
2687
2869
  properties:
@@ -2717,6 +2899,34 @@ components:
2717
2899
  description: Hosted-checkout fallback, present only on a 3DS step-up / decline.
2718
2900
  recap_token:
2719
2901
  type: string
2902
+ PaymentRefusalResponse:
2903
+ allOf:
2904
+ - $ref: "#/components/schemas/ErrorResponse"
2905
+ - type: object
2906
+ properties:
2907
+ payment_error:
2908
+ type: object
2909
+ nullable: true
2910
+ properties:
2911
+ code:
2912
+ type: string
2913
+ enum: *a12
2914
+ message:
2915
+ type: string
2916
+ required:
2917
+ - code
2918
+ - message
2919
+ recovery:
2920
+ type: object
2921
+ properties:
2922
+ action:
2923
+ type: string
2924
+ enum: *a13
2925
+ replacement_credential_required:
2926
+ type: boolean
2927
+ required:
2928
+ - action
2929
+ - replacement_credential_required
2720
2930
  QuoteExpiredResponse:
2721
2931
  type: object
2722
2932
  properties:
@@ -2746,6 +2956,95 @@ components:
2746
2956
  example: 2097152
2747
2957
  required:
2748
2958
  - error
2959
+ TypedAgentPaymentSubmitRequest:
2960
+ type: object
2961
+ properties:
2962
+ trip_id:
2963
+ type: string
2964
+ quoted_cart_id:
2965
+ type: integer
2966
+ payment:
2967
+ oneOf:
2968
+ - type: object
2969
+ properties:
2970
+ type:
2971
+ type: string
2972
+ enum:
2973
+ - spt
2974
+ shared_payment_token:
2975
+ type: string
2976
+ minLength: 1
2977
+ required:
2978
+ - type
2979
+ - shared_payment_token
2980
+ additionalProperties: false
2981
+ - type: object
2982
+ properties:
2983
+ type:
2984
+ type: string
2985
+ enum:
2986
+ - card
2987
+ card_kind:
2988
+ type: string
2989
+ enum:
2990
+ - customer_card
2991
+ - vcc
2992
+ number:
2993
+ type: string
2994
+ description: 12–19 digits after removing spaces, with a valid Luhn checksum.
2995
+ Forwarded unchanged.
2996
+ exp_month:
2997
+ type: integer
2998
+ minimum: 1
2999
+ maximum: 12
3000
+ exp_year:
3001
+ type: integer
3002
+ description: Four-digit expiry year, at least the current UTC year.
3003
+ minimum: 1000
3004
+ maximum: 9999
3005
+ cvc:
3006
+ type: string
3007
+ pattern: ^[0-9]{3,4}$(?![\s\S])
3008
+ billing_details:
3009
+ type: object
3010
+ properties:
3011
+ name:
3012
+ type: string
3013
+ email:
3014
+ type: string
3015
+ format: email
3016
+ phone:
3017
+ type: string
3018
+ address:
3019
+ type: object
3020
+ properties:
3021
+ line1:
3022
+ type: string
3023
+ line2:
3024
+ type: string
3025
+ city:
3026
+ type: string
3027
+ state:
3028
+ type: string
3029
+ postal_code:
3030
+ type: string
3031
+ country:
3032
+ type: string
3033
+ additionalProperties: false
3034
+ additionalProperties: false
3035
+ required:
3036
+ - type
3037
+ - card_kind
3038
+ - number
3039
+ - exp_month
3040
+ - exp_year
3041
+ - cvc
3042
+ additionalProperties: false
3043
+ required:
3044
+ - trip_id
3045
+ - quoted_cart_id
3046
+ - payment
3047
+ additionalProperties: false
2749
3048
  AgentPaymentSubmitRequest:
2750
3049
  type: object
2751
3050
  properties:
@@ -4232,13 +4531,13 @@ components:
4232
4531
  type: boolean
4233
4532
  refund_support_level:
4234
4533
  type: string
4235
- enum: &a12
4534
+ enum: &a14
4236
4535
  - AUTO
4237
4536
  - MANUAL_REQUIRED
4238
4537
  - UNSUPPORTED
4239
4538
  exchange_support_level:
4240
4539
  type: string
4241
- enum: *a12
4540
+ enum: *a14
4242
4541
  refund_unavailable_reason:
4243
4542
  type: string
4244
4543
  exchange_unavailable_reason:
@@ -4251,7 +4550,7 @@ components:
4251
4550
  type: string
4252
4551
  support_level:
4253
4552
  type: string
4254
- enum: *a12
4553
+ enum: *a14
4255
4554
  required:
4256
4555
  - can_refund
4257
4556
  - can_void
@@ -4342,7 +4641,7 @@ components:
4342
4641
  $ref: "#/components/schemas/IntentInput"
4343
4642
  required:
4344
4643
  - booking_ref
4345
- example: &a13
4644
+ example: &a15
4346
4645
  booking_ref: JNK-8PT9VS
4347
4646
  last_name: Carrard
4348
4647
  CarCancelCommitResponse:
@@ -4490,7 +4789,7 @@ components:
4490
4789
  $ref: "#/components/schemas/IntentInput"
4491
4790
  required:
4492
4791
  - booking_ref
4493
- example: *a13
4792
+ example: *a15
4494
4793
  DestinationSnapshotRow:
4495
4794
  type: object
4496
4795
  properties:
@@ -4883,7 +5182,7 @@ components:
4883
5182
  type: string
4884
5183
  intent:
4885
5184
  $ref: "#/components/schemas/IntentInput"
4886
- example: &a14
5185
+ example: &a16
4887
5186
  booking_ref: JNK-A0AUR2
4888
5187
  last_name: Carrard
4889
5188
  ServicingState:
@@ -5035,7 +5334,7 @@ components:
5035
5334
  type: string
5036
5335
  intent:
5037
5336
  $ref: "#/components/schemas/IntentInput"
5038
- example: *a14
5337
+ example: *a16
5039
5338
  RefundStatusResponse:
5040
5339
  type: object
5041
5340
  properties:
@@ -5115,7 +5414,7 @@ components:
5115
5414
  $ref: "#/components/schemas/IntentInput"
5116
5415
  refund_reference:
5117
5416
  type: string
5118
- example: *a14
5417
+ example: *a16
5119
5418
  ExchangeOffer:
5120
5419
  type: object
5121
5420
  properties:
@@ -5195,7 +5494,7 @@ components:
5195
5494
  nullable: true
5196
5495
  preferred_departure_date:
5197
5496
  type: string
5198
- example: *a14
5497
+ example: *a16
5199
5498
  ExchangePriceResponse:
5200
5499
  type: object
5201
5500
  properties:
@@ -5411,7 +5710,7 @@ components:
5411
5710
  type: string
5412
5711
  intent:
5413
5712
  $ref: "#/components/schemas/IntentInput"
5414
- example: *a14
5713
+ example: *a16
5415
5714
  ProviderFigures:
5416
5715
  type: object
5417
5716
  properties:
@@ -6305,7 +6604,7 @@ components:
6305
6604
  deprecated: true
6306
6605
  intent:
6307
6606
  $ref: "#/components/schemas/IntentInput"
6308
- example: *a14
6607
+ example: *a16
6309
6608
  FlightRefundCommitResponse:
6310
6609
  type: object
6311
6610
  properties:
@@ -6867,7 +7166,7 @@ paths:
6867
7166
  doc_url: https://docs.gojinko.com/concepts/errors
6868
7167
  "503":
6869
7168
  description: No travel provider can serve the request right now
6870
- headers: &a15
7169
+ headers: &a17
6871
7170
  Retry-After:
6872
7171
  description: Seconds to wait before retrying, forwarded verbatim from the
6873
7172
  upstream service. Absent when the upstream named no interval.
@@ -7025,7 +7324,7 @@ paths:
7025
7324
  doc_url: https://docs.gojinko.com/concepts/errors
7026
7325
  "503":
7027
7326
  description: No travel provider can serve the request right now
7028
- headers: *a15
7327
+ headers: *a17
7029
7328
  content:
7030
7329
  application/json:
7031
7330
  schema:
@@ -7178,7 +7477,7 @@ paths:
7178
7477
  doc_url: https://docs.gojinko.com/concepts/errors
7179
7478
  "503":
7180
7479
  description: No travel provider can serve the request right now
7181
- headers: *a15
7480
+ headers: *a17
7182
7481
  content:
7183
7482
  application/json:
7184
7483
  schema:
@@ -7330,7 +7629,7 @@ paths:
7330
7629
  doc_url: https://docs.gojinko.com/concepts/errors
7331
7630
  "503":
7332
7631
  description: No travel provider can serve the request right now
7333
- headers: *a15
7632
+ headers: *a17
7334
7633
  content:
7335
7634
  application/json:
7336
7635
  schema:
@@ -7481,7 +7780,7 @@ paths:
7481
7780
  doc_url: https://docs.gojinko.com/concepts/errors
7482
7781
  "503":
7483
7782
  description: No travel provider can serve the request right now
7484
- headers: *a15
7783
+ headers: *a17
7485
7784
  content:
7486
7785
  application/json:
7487
7786
  schema:
@@ -7628,7 +7927,7 @@ paths:
7628
7927
  doc_url: https://docs.gojinko.com/concepts/errors
7629
7928
  "503":
7630
7929
  description: No travel provider can serve the request right now
7631
- headers: *a15
7930
+ headers: *a17
7632
7931
  content:
7633
7932
  application/json:
7634
7933
  schema:
@@ -7799,7 +8098,7 @@ paths:
7799
8098
  doc_url: https://docs.gojinko.com/concepts/errors
7800
8099
  "503":
7801
8100
  description: No travel provider can serve the request right now
7802
- headers: *a15
8101
+ headers: *a17
7803
8102
  content:
7804
8103
  application/json:
7805
8104
  schema:
@@ -7952,7 +8251,7 @@ paths:
7952
8251
  doc_url: https://docs.gojinko.com/concepts/errors
7953
8252
  "503":
7954
8253
  description: No travel provider can serve the request right now
7955
- headers: *a15
8254
+ headers: *a17
7956
8255
  content:
7957
8256
  application/json:
7958
8257
  schema:
@@ -8111,7 +8410,7 @@ paths:
8111
8410
  doc_url: https://docs.gojinko.com/concepts/errors
8112
8411
  "503":
8113
8412
  description: No travel provider can serve the request right now
8114
- headers: *a15
8413
+ headers: *a17
8115
8414
  content:
8116
8415
  application/json:
8117
8416
  schema:
@@ -8258,7 +8557,7 @@ paths:
8258
8557
  doc_url: https://docs.gojinko.com/concepts/errors
8259
8558
  "503":
8260
8559
  description: No travel provider can serve the request right now
8261
- headers: *a15
8560
+ headers: *a17
8262
8561
  content:
8263
8562
  application/json:
8264
8563
  schema:
@@ -8378,7 +8677,7 @@ paths:
8378
8677
  anyOf:
8379
8678
  - $ref: "#/components/schemas/TripStateResponse"
8380
8679
  - $ref: "#/components/schemas/ErrorResponse"
8381
- example: &a16
8680
+ example: &a18
8382
8681
  error:
8383
8682
  code: CONFLICT
8384
8683
  message: This trip is already being checked out; no second checkout was started.
@@ -8436,7 +8735,7 @@ paths:
8436
8735
  doc_url: https://docs.gojinko.com/concepts/errors
8437
8736
  "503":
8438
8737
  description: No travel provider can serve the request right now
8439
- headers: *a15
8738
+ headers: *a17
8440
8739
  content:
8441
8740
  application/json:
8442
8741
  schema:
@@ -8558,7 +8857,7 @@ paths:
8558
8857
  anyOf:
8559
8858
  - $ref: "#/components/schemas/TripStateResponse"
8560
8859
  - $ref: "#/components/schemas/ErrorResponse"
8561
- example: *a16
8860
+ example: *a18
8562
8861
  "410":
8563
8862
  description: "The selected offer could not be priced, or another resource the
8564
8863
  request names is gone. Tell the causes apart by `error.code`.
@@ -8612,7 +8911,7 @@ paths:
8612
8911
  doc_url: https://docs.gojinko.com/concepts/errors
8613
8912
  "503":
8614
8913
  description: No travel provider can serve the request right now
8615
- headers: *a15
8914
+ headers: *a17
8616
8915
  content:
8617
8916
  application/json:
8618
8917
  schema:
@@ -8639,35 +8938,70 @@ paths:
8639
8938
  post:
8640
8939
  tags:
8641
8940
  - Pricing & booking
8642
- summary: Submit an agent payment — present trip_id + a Shared Payment Token to
8643
- schedule + authorize the booking; returns a checkout_url fallback if
8644
- customer action (3DS) is required
8941
+ summary: Submit a typed card or SPT payment with Idempotency-Key, or a legacy
8942
+ flat Shared Payment Token
8943
+ description: "Typed submissions require a jnk_ API key via X-API-Key
8944
+ (ApiKeyAuth) or Authorization: Bearer (BearerAuth), a tenant-bound
8945
+ booking scope, quoted_cart_id and Idempotency-Key, and return a
8946
+ PaymentAttemptOutcome (200 known outcome / 202 pending). OAuth/JWT
8947
+ bearer tokens are supported only for the legacy flat token body, which
8948
+ keeps its existing authorization response. Request bodies are limited to
8949
+ 16 KiB."
8645
8950
  security:
8646
8951
  - ApiKeyAuth: []
8647
8952
  - BearerAuth: []
8953
+ parameters:
8954
+ - schema:
8955
+ type: string
8956
+ minLength: 1
8957
+ maxLength: 255
8958
+ pattern: ^[ -~]+$(?![\s\S])
8959
+ description: "Required when payment is present: 1–255 printable ASCII
8960
+ characters. Reuse only for the same payment submission."
8961
+ required: false
8962
+ name: Idempotency-Key
8963
+ in: header
8648
8964
  requestBody:
8649
8965
  content:
8650
8966
  application/json:
8651
8967
  schema:
8652
- $ref: "#/components/schemas/AgentPaymentSubmitRequest"
8968
+ anyOf:
8969
+ - $ref: "#/components/schemas/TypedAgentPaymentSubmitRequest"
8970
+ - $ref: "#/components/schemas/AgentPaymentSubmitRequest"
8653
8971
  responses:
8654
8972
  "200":
8655
- description: Authorization result
8973
+ description: Legacy authorization result or typed payment outcome
8974
+ content:
8975
+ application/json:
8976
+ schema:
8977
+ anyOf:
8978
+ - $ref: "#/components/schemas/PaymentAttemptOutcome"
8979
+ - $ref: "#/components/schemas/AgentPaymentSubmitResponse"
8980
+ "202":
8981
+ description: Payment accepted and pending; poll the attempt after Retry-After.
8982
+ headers:
8983
+ Retry-After:
8984
+ schema:
8985
+ type: string
8986
+ description: Polling delay supplied by the BFF.
8656
8987
  content:
8657
8988
  application/json:
8658
8989
  schema:
8659
- $ref: "#/components/schemas/AgentPaymentSubmitResponse"
8990
+ $ref: "#/components/schemas/PaymentAttemptOutcome"
8660
8991
  "400":
8661
- description: Bad request
8992
+ description: Payment credential format or validity refusal.
8993
+ **`credential_format_invalid`** — The typed payment body or
8994
+ Idempotency-Key has an invalid format. Correct the named field and
8995
+ resubmit with a valid Idempotency-Key.
8996
+ **`payment_credential_invalid`** — The payment credential is
8997
+ invalid. Follow recovery.action and supply a replacement credential
8998
+ when required. **`BAD_REQUEST`** — The request was malformed or
8999
+ failed validation. Fix the request as the message describes;
9000
+ retrying it unchanged cannot succeed.
8662
9001
  content:
8663
9002
  application/json:
8664
9003
  schema:
8665
- $ref: "#/components/schemas/ErrorResponse"
8666
- example:
8667
- error:
8668
- code: BAD_REQUEST
8669
- message: Malformed JSON in request body.
8670
- doc_url: https://docs.gojinko.com/concepts/errors
9004
+ $ref: "#/components/schemas/PaymentRefusalResponse"
8671
9005
  "401":
8672
9006
  description: Authentication required
8673
9007
  content:
@@ -8692,6 +9026,14 @@ paths:
8692
9026
  has $0.0000 available. Top up at
8693
9027
  https://dashboard.gojinko.com/developers/billing/topup
8694
9028
  doc_url: https://docs.gojinko.com/concepts/errors
9029
+ "403":
9030
+ description: This payment type is not enabled. **`payment_type_not_enabled`** —
9031
+ This payment type is not enabled for the caller. Choose a type
9032
+ advertised in accepted_payment_types or contact support.
9033
+ content:
9034
+ application/json:
9035
+ schema:
9036
+ $ref: "#/components/schemas/PaymentRefusalResponse"
8695
9037
  "404":
8696
9038
  description: Resource not found
8697
9039
  content:
@@ -8704,16 +9046,21 @@ paths:
8704
9046
  message: Resource not found.
8705
9047
  doc_url: https://docs.gojinko.com/concepts/errors
8706
9048
  "409":
8707
- description: The operation conflicts with the current state of the resource
9049
+ description: Payment submission conflicts with an existing attempt.
9050
+ **`trip_owned_by_other_payment`** — Another payment attempt owns
9051
+ this trip. Read the existing attempt and follow its recovery action
9052
+ before paying again. **`idempotency_key_reused`** — The idempotency
9053
+ key was already used for a different submission. Reuse the original
9054
+ request with this key, or use a new key for a new submission.
9055
+ **`attempt_in_progress`** — A payment attempt is already in
9056
+ progress. Poll the existing attempt and follow recovery.action.
9057
+ **`attempt_terminal`** — This payment attempt has reached a terminal
9058
+ state. Read its outcome and follow recovery.action before starting
9059
+ another attempt.
8708
9060
  content:
8709
9061
  application/json:
8710
9062
  schema:
8711
- $ref: "#/components/schemas/ErrorResponse"
8712
- example:
8713
- error:
8714
- code: CONFLICT
8715
- message: an exchange is already in progress for this booking
8716
- doc_url: https://docs.gojinko.com/concepts/errors
9063
+ $ref: "#/components/schemas/PaymentRefusalResponse"
8717
9064
  "410":
8718
9065
  description: The locked quote has expired, so nothing was redeemed and no
8719
9066
  payment object was created — or the resource the request names is
@@ -8726,12 +9073,16 @@ paths:
8726
9073
  request names existed and no longer does. Re-acquire it — search
8727
9074
  again, or check out again to re-quote — then retry with the new
8728
9075
  identifier. Repeating this request with the same one cannot succeed.
9076
+ **`quote_expired`** — The quoted cart has expired; the typed payment
9077
+ was refused. Call checkout again and submit against the new
9078
+ quoted_cart_id.
8729
9079
  content:
8730
9080
  application/json:
8731
9081
  schema:
8732
9082
  anyOf:
8733
9083
  - $ref: "#/components/schemas/QuoteExpiredResponse"
8734
9084
  - $ref: "#/components/schemas/ErrorResponse"
9085
+ - $ref: "#/components/schemas/PaymentRefusalResponse"
8735
9086
  example:
8736
9087
  error:
8737
9088
  code: QUOTE_EXPIRED
@@ -8773,9 +9124,165 @@ paths:
8773
9124
  message: "sabre-rest BargainFinderMaxRQ failed with status 400: 27131 - Number
8774
9125
  of connection locations exceeds maximum allowed"
8775
9126
  doc_url: https://docs.gojinko.com/concepts/errors
9127
+ "503":
9128
+ description: Payment temporarily unavailable. **`temporarily_unavailable`** —
9129
+ Payment submission is temporarily unavailable. Wait for Retry-After
9130
+ when provided and follow recovery.action.
9131
+ content:
9132
+ application/json:
9133
+ schema:
9134
+ $ref: "#/components/schemas/PaymentRefusalResponse"
9135
+ "504":
9136
+ description: The travel provider did not answer in time
9137
+ content:
9138
+ application/json:
9139
+ schema:
9140
+ $ref: "#/components/schemas/ErrorResponse"
9141
+ example:
9142
+ error:
9143
+ code: UPSTREAM_TIMEOUT
9144
+ message: sabre-rest BargainFinderMaxRQ timed out after 30s
9145
+ doc_url: https://docs.gojinko.com/concepts/errors
9146
+ /v1/trip/{trip_id}/payment_attempts/{payment_attempt_id}:
9147
+ get:
9148
+ tags:
9149
+ - Pricing & booking
9150
+ summary: Read a payment attempt outcome
9151
+ security:
9152
+ - ApiKeyAuth: []
9153
+ - BearerAuth: []
9154
+ parameters:
9155
+ - schema:
9156
+ type: string
9157
+ required: true
9158
+ name: trip_id
9159
+ in: path
9160
+ - schema:
9161
+ type: string
9162
+ required: true
9163
+ name: payment_attempt_id
9164
+ in: path
9165
+ responses:
9166
+ "200":
9167
+ description: Payment attempt outcome
9168
+ content:
9169
+ application/json:
9170
+ schema:
9171
+ $ref: "#/components/schemas/PaymentAttemptOutcome"
9172
+ "400":
9173
+ description: Bad request
9174
+ content:
9175
+ application/json:
9176
+ schema:
9177
+ $ref: "#/components/schemas/ErrorResponse"
9178
+ example:
9179
+ error:
9180
+ code: BAD_REQUEST
9181
+ message: Malformed JSON in request body.
9182
+ doc_url: https://docs.gojinko.com/concepts/errors
9183
+ "401":
9184
+ description: Authentication required
9185
+ content:
9186
+ application/json:
9187
+ schema:
9188
+ $ref: "#/components/schemas/ErrorResponse"
9189
+ example:
9190
+ error:
9191
+ code: AUTH_REQUIRED
9192
+ message: Invalid or expired API key.
9193
+ doc_url: https://docs.gojinko.com/api-reference/authentication
9194
+ "402":
9195
+ description: Payment required — organization balance exhausted
9196
+ content:
9197
+ application/json:
9198
+ schema:
9199
+ $ref: "#/components/schemas/ErrorResponse"
9200
+ example:
9201
+ error:
9202
+ code: PAYMENT_REQUIRED
9203
+ message: Insufficient balance — this call costs $0.0150 and your organization
9204
+ has $0.0000 available. Top up at
9205
+ https://dashboard.gojinko.com/developers/billing/topup
9206
+ doc_url: https://docs.gojinko.com/concepts/errors
9207
+ "403":
9208
+ description: Payment attempt access forbidden. **`FORBIDDEN`** — The credential
9209
+ is valid, and this request is refused anyway. Do not rotate the key
9210
+ — it is working. Check that it is entitled to this operation, and on
9211
+ this environment.
9212
+ content:
9213
+ application/json:
9214
+ schema:
9215
+ $ref: "#/components/schemas/ErrorResponse"
9216
+ "404":
9217
+ description: Resource not found
9218
+ content:
9219
+ application/json:
9220
+ schema:
9221
+ $ref: "#/components/schemas/ErrorResponse"
9222
+ example:
9223
+ error:
9224
+ code: NOT_FOUND
9225
+ message: Resource not found.
9226
+ doc_url: https://docs.gojinko.com/concepts/errors
9227
+ "409":
9228
+ description: The operation conflicts with the current state of the resource
9229
+ content:
9230
+ application/json:
9231
+ schema:
9232
+ $ref: "#/components/schemas/ErrorResponse"
9233
+ example:
9234
+ error:
9235
+ code: CONFLICT
9236
+ message: an exchange is already in progress for this booking
9237
+ doc_url: https://docs.gojinko.com/concepts/errors
9238
+ "410":
9239
+ description: The resource this request names no longer exists
9240
+ content:
9241
+ application/json:
9242
+ schema:
9243
+ $ref: "#/components/schemas/ErrorResponse"
9244
+ example:
9245
+ error:
9246
+ code: GONE
9247
+ message: The resource no longer exists.
9248
+ doc_url: https://docs.gojinko.com/concepts/errors
9249
+ "422":
9250
+ description: Validation error
9251
+ content:
9252
+ application/json:
9253
+ schema:
9254
+ $ref: "#/components/schemas/ErrorResponse"
9255
+ example:
9256
+ error:
9257
+ code: BAD_REQUEST
9258
+ message: "origins: origins is required; trip_type: trip_type is required"
9259
+ doc_url: https://docs.gojinko.com/concepts/errors
9260
+ "429":
9261
+ description: Rate limit or quota exceeded
9262
+ content:
9263
+ application/json:
9264
+ schema:
9265
+ $ref: "#/components/schemas/ErrorResponse"
9266
+ example:
9267
+ error:
9268
+ code: RATE_LIMITED
9269
+ message: Rate limit or quota exceeded.
9270
+ doc_url: https://docs.gojinko.com/concepts/errors
9271
+ "502":
9272
+ description: The travel provider rejected the request, or an upstream call failed
9273
+ content:
9274
+ application/json:
9275
+ schema:
9276
+ $ref: "#/components/schemas/ErrorResponse"
9277
+ example:
9278
+ error:
9279
+ code: UPSTREAM_REJECTED
9280
+ message: "sabre-rest BargainFinderMaxRQ failed with status 400: 27131 - Number
9281
+ of connection locations exceeds maximum allowed"
9282
+ doc_url: https://docs.gojinko.com/concepts/errors
8776
9283
  "503":
8777
9284
  description: No travel provider can serve the request right now
8778
- headers: *a15
9285
+ headers: *a17
8779
9286
  content:
8780
9287
  application/json:
8781
9288
  schema:
@@ -8952,7 +9459,7 @@ paths:
8952
9459
  doc_url: https://docs.gojinko.com/concepts/errors
8953
9460
  "503":
8954
9461
  description: No travel provider can serve the request right now
8955
- headers: *a15
9462
+ headers: *a17
8956
9463
  content:
8957
9464
  application/json:
8958
9465
  schema:
@@ -9111,7 +9618,7 @@ paths:
9111
9618
  doc_url: https://docs.gojinko.com/concepts/errors
9112
9619
  "503":
9113
9620
  description: No travel provider can serve the request right now
9114
- headers: *a15
9621
+ headers: *a17
9115
9622
  content:
9116
9623
  application/json:
9117
9624
  schema:
@@ -9263,7 +9770,7 @@ paths:
9263
9770
  doc_url: https://docs.gojinko.com/concepts/errors
9264
9771
  "503":
9265
9772
  description: No travel provider can serve the request right now
9266
- headers: *a15
9773
+ headers: *a17
9267
9774
  content:
9268
9775
  application/json:
9269
9776
  schema:
@@ -9420,7 +9927,7 @@ paths:
9420
9927
  doc_url: https://docs.gojinko.com/concepts/errors
9421
9928
  "503":
9422
9929
  description: No travel provider can serve the request right now
9423
- headers: *a15
9930
+ headers: *a17
9424
9931
  content:
9425
9932
  application/json:
9426
9933
  schema:
@@ -9590,7 +10097,7 @@ paths:
9590
10097
  doc_url: https://docs.gojinko.com/concepts/errors
9591
10098
  "503":
9592
10099
  description: No travel provider can serve the request right now
9593
- headers: *a15
10100
+ headers: *a17
9594
10101
  content:
9595
10102
  application/json:
9596
10103
  schema:
@@ -9762,7 +10269,7 @@ paths:
9762
10269
  doc_url: https://docs.gojinko.com/concepts/errors
9763
10270
  "503":
9764
10271
  description: No travel provider can serve the request right now
9765
- headers: *a15
10272
+ headers: *a17
9766
10273
  content:
9767
10274
  application/json:
9768
10275
  schema:
@@ -9912,7 +10419,7 @@ paths:
9912
10419
  doc_url: https://docs.gojinko.com/concepts/errors
9913
10420
  "503":
9914
10421
  description: No travel provider can serve the request right now
9915
- headers: *a15
10422
+ headers: *a17
9916
10423
  content:
9917
10424
  application/json:
9918
10425
  schema:
@@ -9978,7 +10485,7 @@ paths:
9978
10485
  in: query
9979
10486
  - schema:
9980
10487
  type: string
9981
- enum: &a17
10488
+ enum: &a19
9982
10489
  - Solo
9983
10490
  - Couple
9984
10491
  - Group
@@ -9989,7 +10496,7 @@ paths:
9989
10496
  in: query
9990
10497
  - schema:
9991
10498
  type: string
9992
- enum: &a18
10499
+ enum: &a20
9993
10500
  - One-Way
9994
10501
  - Round-Trip
9995
10502
  example: Round-Trip
@@ -10059,7 +10566,7 @@ paths:
10059
10566
  in: query
10060
10567
  - schema:
10061
10568
  type: string
10062
- enum: &a19
10569
+ enum: &a21
10063
10570
  - country
10064
10571
  - city
10065
10572
  description: "Ranked output granularity: country (default) or city. Applies to
@@ -10189,7 +10696,7 @@ paths:
10189
10696
  doc_url: https://docs.gojinko.com/concepts/errors
10190
10697
  "503":
10191
10698
  description: No travel provider can serve the request right now
10192
- headers: *a15
10699
+ headers: *a17
10193
10700
  content:
10194
10701
  application/json:
10195
10702
  schema:
@@ -10255,14 +10762,14 @@ paths:
10255
10762
  in: query
10256
10763
  - schema:
10257
10764
  type: string
10258
- enum: *a17
10765
+ enum: *a19
10259
10766
  example: Couple
10260
10767
  required: false
10261
10768
  name: traveler_type
10262
10769
  in: query
10263
10770
  - schema:
10264
10771
  type: string
10265
- enum: *a18
10772
+ enum: *a20
10266
10773
  example: Round-Trip
10267
10774
  required: false
10268
10775
  name: trip_type
@@ -10330,7 +10837,7 @@ paths:
10330
10837
  in: query
10331
10838
  - schema:
10332
10839
  type: string
10333
- enum: *a19
10840
+ enum: *a21
10334
10841
  description: "Ranked output granularity: country (default) or city. Applies to
10335
10842
  destination/market (not audience)."
10336
10843
  example: city
@@ -10458,7 +10965,7 @@ paths:
10458
10965
  doc_url: https://docs.gojinko.com/concepts/errors
10459
10966
  "503":
10460
10967
  description: No travel provider can serve the request right now
10461
- headers: *a15
10968
+ headers: *a17
10462
10969
  content:
10463
10970
  application/json:
10464
10971
  schema:
@@ -10530,14 +11037,14 @@ paths:
10530
11037
  in: query
10531
11038
  - schema:
10532
11039
  type: string
10533
- enum: *a17
11040
+ enum: *a19
10534
11041
  example: Couple
10535
11042
  required: false
10536
11043
  name: traveler_type
10537
11044
  in: query
10538
11045
  - schema:
10539
11046
  type: string
10540
- enum: *a18
11047
+ enum: *a20
10541
11048
  example: Round-Trip
10542
11049
  required: false
10543
11050
  name: trip_type
@@ -10714,7 +11221,7 @@ paths:
10714
11221
  doc_url: https://docs.gojinko.com/concepts/errors
10715
11222
  "503":
10716
11223
  description: No travel provider can serve the request right now
10717
- headers: *a15
11224
+ headers: *a17
10718
11225
  content:
10719
11226
  application/json:
10720
11227
  schema:
@@ -10792,14 +11299,14 @@ paths:
10792
11299
  in: query
10793
11300
  - schema:
10794
11301
  type: string
10795
- enum: *a17
11302
+ enum: *a19
10796
11303
  example: Couple
10797
11304
  required: false
10798
11305
  name: traveler_type
10799
11306
  in: query
10800
11307
  - schema:
10801
11308
  type: string
10802
- enum: *a18
11309
+ enum: *a20
10803
11310
  example: Round-Trip
10804
11311
  required: false
10805
11312
  name: trip_type
@@ -10851,7 +11358,7 @@ paths:
10851
11358
  in: query
10852
11359
  - schema:
10853
11360
  type: string
10854
- enum: &a20
11361
+ enum: &a22
10855
11362
  - day
10856
11363
  - week
10857
11364
  - month
@@ -10972,7 +11479,7 @@ paths:
10972
11479
  doc_url: https://docs.gojinko.com/concepts/errors
10973
11480
  "503":
10974
11481
  description: No travel provider can serve the request right now
10975
- headers: *a15
11482
+ headers: *a17
10976
11483
  content:
10977
11484
  application/json:
10978
11485
  schema:
@@ -11040,14 +11547,14 @@ paths:
11040
11547
  in: query
11041
11548
  - schema:
11042
11549
  type: string
11043
- enum: *a17
11550
+ enum: *a19
11044
11551
  example: Couple
11045
11552
  required: false
11046
11553
  name: traveler_type
11047
11554
  in: query
11048
11555
  - schema:
11049
11556
  type: string
11050
- enum: *a18
11557
+ enum: *a20
11051
11558
  example: Round-Trip
11052
11559
  required: false
11053
11560
  name: trip_type
@@ -11099,7 +11606,7 @@ paths:
11099
11606
  in: query
11100
11607
  - schema:
11101
11608
  type: string
11102
- enum: *a20
11609
+ enum: *a22
11103
11610
  description: "Bucket size for the returned series: week (default), day, or
11104
11611
  month."
11105
11612
  example: week
@@ -11108,7 +11615,7 @@ paths:
11108
11615
  in: query
11109
11616
  - schema:
11110
11617
  type: string
11111
- enum: *a19
11618
+ enum: *a21
11112
11619
  description: "Ranked output granularity: country (default) or city. Applies to
11113
11620
  destination/market (not audience)."
11114
11621
  example: city
@@ -11246,7 +11753,7 @@ paths:
11246
11753
  doc_url: https://docs.gojinko.com/concepts/errors
11247
11754
  "503":
11248
11755
  description: No travel provider can serve the request right now
11249
- headers: *a15
11756
+ headers: *a17
11250
11757
  content:
11251
11758
  application/json:
11252
11759
  schema:
@@ -11314,14 +11821,14 @@ paths:
11314
11821
  in: query
11315
11822
  - schema:
11316
11823
  type: string
11317
- enum: *a17
11824
+ enum: *a19
11318
11825
  example: Couple
11319
11826
  required: false
11320
11827
  name: traveler_type
11321
11828
  in: query
11322
11829
  - schema:
11323
11830
  type: string
11324
- enum: *a18
11831
+ enum: *a20
11325
11832
  example: Round-Trip
11326
11833
  required: false
11327
11834
  name: trip_type
@@ -11373,7 +11880,7 @@ paths:
11373
11880
  in: query
11374
11881
  - schema:
11375
11882
  type: string
11376
- enum: *a20
11883
+ enum: *a22
11377
11884
  description: "Bucket size for the returned series: week (default), day, or
11378
11885
  month."
11379
11886
  example: week
@@ -11382,7 +11889,7 @@ paths:
11382
11889
  in: query
11383
11890
  - schema:
11384
11891
  type: string
11385
- enum: *a19
11892
+ enum: *a21
11386
11893
  description: "Ranked output granularity: country (default) or city. Applies to
11387
11894
  destination/market (not audience)."
11388
11895
  example: city
@@ -11520,7 +12027,7 @@ paths:
11520
12027
  doc_url: https://docs.gojinko.com/concepts/errors
11521
12028
  "503":
11522
12029
  description: No travel provider can serve the request right now
11523
- headers: *a15
12030
+ headers: *a17
11524
12031
  content:
11525
12032
  application/json:
11526
12033
  schema:
@@ -11594,14 +12101,14 @@ paths:
11594
12101
  in: query
11595
12102
  - schema:
11596
12103
  type: string
11597
- enum: *a17
12104
+ enum: *a19
11598
12105
  example: Couple
11599
12106
  required: false
11600
12107
  name: traveler_type
11601
12108
  in: query
11602
12109
  - schema:
11603
12110
  type: string
11604
- enum: *a18
12111
+ enum: *a20
11605
12112
  example: Round-Trip
11606
12113
  required: false
11607
12114
  name: trip_type
@@ -11653,7 +12160,7 @@ paths:
11653
12160
  in: query
11654
12161
  - schema:
11655
12162
  type: string
11656
- enum: *a20
12163
+ enum: *a22
11657
12164
  description: "Bucket size for the returned series: week (default), day, or
11658
12165
  month."
11659
12166
  example: week
@@ -11781,7 +12288,7 @@ paths:
11781
12288
  doc_url: https://docs.gojinko.com/concepts/errors
11782
12289
  "503":
11783
12290
  description: No travel provider can serve the request right now
11784
- headers: *a15
12291
+ headers: *a17
11785
12292
  content:
11786
12293
  application/json:
11787
12294
  schema:
@@ -11933,7 +12440,7 @@ paths:
11933
12440
  doc_url: https://docs.gojinko.com/concepts/errors
11934
12441
  "503":
11935
12442
  description: No travel provider can serve the request right now
11936
- headers: *a15
12443
+ headers: *a17
11937
12444
  content:
11938
12445
  application/json:
11939
12446
  schema:
@@ -12083,7 +12590,7 @@ paths:
12083
12590
  doc_url: https://docs.gojinko.com/concepts/errors
12084
12591
  "503":
12085
12592
  description: No travel provider can serve the request right now
12086
- headers: *a15
12593
+ headers: *a17
12087
12594
  content:
12088
12595
  application/json:
12089
12596
  schema:
@@ -12233,7 +12740,7 @@ paths:
12233
12740
  doc_url: https://docs.gojinko.com/concepts/errors
12234
12741
  "503":
12235
12742
  description: No travel provider can serve the request right now
12236
- headers: *a15
12743
+ headers: *a17
12237
12744
  content:
12238
12745
  application/json:
12239
12746
  schema:
@@ -12383,7 +12890,7 @@ paths:
12383
12890
  doc_url: https://docs.gojinko.com/concepts/errors
12384
12891
  "503":
12385
12892
  description: No travel provider can serve the request right now
12386
- headers: *a15
12893
+ headers: *a17
12387
12894
  content:
12388
12895
  application/json:
12389
12896
  schema:
@@ -12533,7 +13040,7 @@ paths:
12533
13040
  doc_url: https://docs.gojinko.com/concepts/errors
12534
13041
  "503":
12535
13042
  description: No travel provider can serve the request right now
12536
- headers: *a15
13043
+ headers: *a17
12537
13044
  content:
12538
13045
  application/json:
12539
13046
  schema:
@@ -12683,7 +13190,7 @@ paths:
12683
13190
  doc_url: https://docs.gojinko.com/concepts/errors
12684
13191
  "503":
12685
13192
  description: No travel provider can serve the request right now
12686
- headers: *a15
13193
+ headers: *a17
12687
13194
  content:
12688
13195
  application/json:
12689
13196
  schema:
@@ -12833,7 +13340,7 @@ paths:
12833
13340
  doc_url: https://docs.gojinko.com/concepts/errors
12834
13341
  "503":
12835
13342
  description: No travel provider can serve the request right now
12836
- headers: *a15
13343
+ headers: *a17
12837
13344
  content:
12838
13345
  application/json:
12839
13346
  schema:
@@ -12983,7 +13490,7 @@ paths:
12983
13490
  doc_url: https://docs.gojinko.com/concepts/errors
12984
13491
  "503":
12985
13492
  description: No travel provider can serve the request right now
12986
- headers: *a15
13493
+ headers: *a17
12987
13494
  content:
12988
13495
  application/json:
12989
13496
  schema:
@@ -13154,7 +13661,7 @@ paths:
13154
13661
  doc_url: https://docs.gojinko.com/concepts/errors
13155
13662
  "503":
13156
13663
  description: No travel provider can serve the request right now
13157
- headers: *a15
13664
+ headers: *a17
13158
13665
  content:
13159
13666
  application/json:
13160
13667
  schema:
@@ -13320,7 +13827,7 @@ paths:
13320
13827
  doc_url: https://docs.gojinko.com/concepts/errors
13321
13828
  "503":
13322
13829
  description: No travel provider can serve the request right now
13323
- headers: *a15
13830
+ headers: *a17
13324
13831
  content:
13325
13832
  application/json:
13326
13833
  schema:
@@ -13497,7 +14004,7 @@ paths:
13497
14004
  doc_url: https://docs.gojinko.com/concepts/errors
13498
14005
  "503":
13499
14006
  description: No travel provider can serve the request right now
13500
- headers: *a15
14007
+ headers: *a17
13501
14008
  content:
13502
14009
  application/json:
13503
14010
  schema:
@@ -13650,7 +14157,7 @@ paths:
13650
14157
  doc_url: https://docs.gojinko.com/concepts/errors
13651
14158
  "503":
13652
14159
  description: No travel provider can serve the request right now
13653
- headers: *a15
14160
+ headers: *a17
13654
14161
  content:
13655
14162
  application/json:
13656
14163
  schema:
@@ -13824,7 +14331,7 @@ paths:
13824
14331
  doc_url: https://docs.gojinko.com/concepts/errors
13825
14332
  "503":
13826
14333
  description: No travel provider can serve the request right now
13827
- headers: *a15
14334
+ headers: *a17
13828
14335
  content:
13829
14336
  application/json:
13830
14337
  schema:
@@ -14007,7 +14514,7 @@ paths:
14007
14514
  doc_url: https://docs.gojinko.com/concepts/errors
14008
14515
  "503":
14009
14516
  description: No travel provider can serve the request right now
14010
- headers: *a15
14517
+ headers: *a17
14011
14518
  content:
14012
14519
  application/json:
14013
14520
  schema:
@@ -14164,7 +14671,7 @@ paths:
14164
14671
  doc_url: https://docs.gojinko.com/concepts/errors
14165
14672
  "503":
14166
14673
  description: No travel provider can serve the request right now
14167
- headers: *a15
14674
+ headers: *a17
14168
14675
  content:
14169
14676
  application/json:
14170
14677
  schema:
@@ -14315,7 +14822,7 @@ paths:
14315
14822
  doc_url: https://docs.gojinko.com/concepts/errors
14316
14823
  "503":
14317
14824
  description: No travel provider can serve the request right now
14318
- headers: *a15
14825
+ headers: *a17
14319
14826
  content:
14320
14827
  application/json:
14321
14828
  schema:
@@ -14456,7 +14963,7 @@ paths:
14456
14963
  doc_url: https://docs.gojinko.com/concepts/errors
14457
14964
  "503":
14458
14965
  description: No travel provider can serve the request right now
14459
- headers: *a15
14966
+ headers: *a17
14460
14967
  content:
14461
14968
  application/json:
14462
14969
  schema:
@@ -14605,7 +15112,7 @@ paths:
14605
15112
  doc_url: https://docs.gojinko.com/concepts/errors
14606
15113
  "503":
14607
15114
  description: No travel provider can serve the request right now
14608
- headers: *a15
15115
+ headers: *a17
14609
15116
  content:
14610
15117
  application/json:
14611
15118
  schema:
@@ -14753,7 +15260,7 @@ paths:
14753
15260
  doc_url: https://docs.gojinko.com/concepts/errors
14754
15261
  "503":
14755
15262
  description: No travel provider can serve the request right now
14756
- headers: *a15
15263
+ headers: *a17
14757
15264
  content:
14758
15265
  application/json:
14759
15266
  schema:
@@ -14904,7 +15411,7 @@ paths:
14904
15411
  doc_url: https://docs.gojinko.com/concepts/errors
14905
15412
  "503":
14906
15413
  description: No travel provider can serve the request right now
14907
- headers: *a15
15414
+ headers: *a17
14908
15415
  content:
14909
15416
  application/json:
14910
15417
  schema: