POST
Refresh Stripe payment intent (internal)

Authorizations

Authorization
string
header
default:dev-internal-api-key
required

Use Authorization: Bearer <access_token> from POST /v1/oauth/token, or Authorization: Bearer <api_key>. Dev-only example key (do not use in production): see repository README.

Path Parameters

itineraryId
string
required

Identifier of the itinerary (cart) returned by POST /v1/itineraries.

Query Parameters

brand
string

Distribution channel brand: matches channel name or domainUrl (e.g. Weebora, weebora.com, booking.hofj.com, terrarossa.com). The resolved domain is BOTH the upstream host AND the tenant routing value. If omitted, CONTENT_DEFAULT_CHANNEL_DOMAIN must be set server-side.

locale
enum<string>

Locale for the brand site (it, en, es, fr). Injected as /{locale}/api/... on the upstream call. Defaults to CONTENT_DEFAULT_LOCALE.

Available options:
it,
en,
es,
fr

Body

application/json
paymentType
enum<string>
default:full

Brand-site payment kind. full charges the entire open amount. plan is the deposit / balance installment flow; pair it with planIndex (0 = deposit, later indexes = balance). The strings deposit and balance are not accepted by the brand validator.

Available options:
full,
plan
planIndex
integer

Required when paymentType is plan. 0 is the deposit installment; later indexes are the remaining balance. Must be omitted for full.

Required range: x >= 0

Response

Payment intent ready

data
string
required

Stripe payment intent client_secret.

meta
object