Payments¶
This resource represents a payment made on a booking.
XML Schema:
GET: Get a Payment
Fields
Name |
Type |
Description |
---|---|---|
status read-only |
String |
A list of codes that represent the current status af a transaction.
|
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 & Times. |
date_last_modified read-only |
Datetime |
The time when the resource was last modified, in the standard Dates & Times. |
transaction_type read-only |
Nested Object |
Information about the type of transaction. |
|
String |
A brief description of the transaction type. |
|
String |
The unique code for this transaction type. |
booking required |
Reference Object |
The related booking resource. |
amount required |
Decimal |
The currency-specific amount of rhe transaction, in the standard Currencies & Prices. |
customer required |
Reference Object |
The related customer resource. |
capture |
Boolean |
If false, authorize but do not capture payment (optional; default: true) |
details required |
Nested Object |
|
|
String |
Transaction type. Currently, only CREDIT_CARD is supported. |
|
String |
Credit card number |
|
String |
Card expiry month (2 digits) |
|
String |
Card expiry year (4 digits) |
|
String |
Card verification value (3-4 digits) |
|
String |
Booking note (optional) |
note |
String |
Booking note (optional) |
id read-only |
String |
|
href read-only |
Field |
Get a Payment¶
- GET /payments/(string: payment_id)/¶