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 read-only 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.
error read-only Nested Object Details for failed transactions.
date_created read-only Datetime The time when the resource was created, in the standard dates-time.
date_last_modified read-only Datetime The time when the resource was last modified, in the standard dates-time.
transaction_type read-only 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.
booking required Nested Object The related booking resource.
amount required Decimal The currency-specific amount of rhe transaction, in the standard currencies.
commission required Boolean The refund represents a commission payout to the booking agent.

Get a Refund

GET /refund/(string: refund_id)/