These docs are for v1.0. Click to read the latest docs for v2.0.

Refund loyalty points

Karhoo will send you this request if points need to be refunded for a specific user. This will happen in case the booking was cancelled for example. For this endpoint Karhoo requires an API Key that can be used to refund points without the user being present. The token from the burn endpoint can not be used because it might have expired by the time we need to make this call as cancellations can happen weeks after the time of booking.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The User ID from recognized by the loyalty program.

Body Params

request body

uuid
required

The ID of the trip which the traveller is burning points

number
required

The number of loyalty points available to burn for this user

string
required

Currency value equivalent to the burned points

string
required

The ISO 4217 code for currency used.

string
required

The version returned in GET /loyalty/exchange_rates that was used to calculate the conversion rate to points

string
required

Human readable description of the transaction

uuid
required

The ID of the transaction on Karhoo side. You will never receive two requests with the same karhoo_transaction_id so it can be used to ensure the request is idempotent

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json