Refunds

This resource represents a refund made on a booking.

XML Schema:

Fields

Name

Type

Description

id (read-only)

String

href (read-only)

Field

status (required)

String

A list of codes that represent the current status af a transaction.

  • PENDING: The transaction is pending processing.

  • FAILED: The transaction has been been processed and failed to be approved.

  • PROCESSED: The transaction has been been processed and was approved.

date_created

Datetime

The time when the resource was created, in the standard Dates & Times.

date_last_modified

Datetime

The time when the resource was last modified, in the standard Dates & Times.

amount (required)

Decimal

The currency-specific amount of rhe transaction, in the standard Currencies & Prices.

booking (read-only)

Reference Object

The related booking resource.

commission (required)

Boolean

The refund represents a commission payout to the booking agent.

error (required)

Nested Object

Details for failed transactions.

transaction_type (required)

Nested Object

Information about the type of transaction.

  • name (required)

String

A brief description of the transaction type.

  • code (required)

String

The unique code for this transaction type.

travel_credit (read-only)

Reference Object

The travel_credit that this refund reverses, if this refund represents a reversed travel credit. null otherwise. Lets a consumer reconcile a refunded credit against its payment.

Get a Refund

GET /refund/(string: refund_id)/