Payments¶
This resource represents a payment made on a booking.
XML Schema:
GET: Get a Payment
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.
|
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. |
error required |
Nested Object |
Details for failed transactions. |
transaction_type required |
Nested Object |
Information about the type of transaction. |
|
String |
A brief description of the transaction type. |
|
String |
The unique code for this transaction type. |
is_online_payment required |
Boolean |
Whether this payment was made via an Online channel. |
Get a Payment¶
- GET /payments/(string: payment_id)/¶