Skip to main content
POST
/
v1
/
refund_commit
Initiate a refund for a booked flight
curl --request POST \
  --url https://api.example.com/v1/refund_commit \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "booking_ref": "JNK-A0AUR2",
  "last_name": "Carrard"
}
'
{
  "refund_status": "refunded",
  "confirmed_refund_amount": {
    "value": 318.4,
    "amount": 123,
    "currency": "USD",
    "decimal_places": 2
  },
  "refund_reference": "rfnd_3c91f0a2",
  "warnings": [
    "<string>"
  ]
}
Issue the refund after the user has reviewed the amount and confirmed cancellation. Poll refund status for terminal state.

Authorizations

X-API-Key
string
header
required

Body

application/json
booking_ref
string
required
Example:

"JNK-A0AUR2"

last_name
string
required
Example:

"Carrard"

ticket_numbers
string[]
provider
string

Response

Initiate a refund for a booked flight

refund_status
string
Example:

"refunded"

confirmed_refund_amount
object
refund_reference
string
Example:

"rfnd_3c91f0a2"

warnings
string[]