Skip to main content
POST
Create a travel redemption

Authorizations

Api-Key
string
header
required

Body

application/json

Travel redemption details

userId
string<uuid>
required

The ID of the user making the redemption

amount
string
required

The number of points to redeem, as a positive integer string. 1 point = 1 cent.

Pattern: ^[1-9][0-9]*$
bookingId
string
required

The travel portal booking ID. Must be unique across travel redemptions and is used for idempotency.

Required string length: 1 - 255
Pattern: \S
bookingType
enum<string>
required

The type of travel booking

Available options:
FLIGHT,
HOTEL,
CAR_RENTAL,
PACKAGE
totalBookingAmountCents
integer
required

The total booking amount in cents.

Required range: x >= 0
bookingDescription
string
required

A description of the booking

Maximum string length: 500

Response

Partner-managed travel redemption completed synchronously after the booking is confirmed.

redemptionId
string<uuid>
required

The ID of the redemption

status
enum<string>
required

The current status of the redemption

Available options:
COMPLETED