Skip to content

Get only payment information on a given web booking.

GET
/v1/WebBooking/WebBookingsPaymentOnly/{id}
curl --request GET \
--url https://rms.dev.caspeco.net/api/booking/v1/WebBooking/WebBookingsPaymentOnly/example \
--header 'Authorization: Bearer <token>' \
--header 'system: example'

Returns a single web booking containing only the payment fields.

id
required
string

The GUID of the webbooking to get.

system
required
string

The system name / database to query

Success

Media typeapplication/json
object
guid
string
nullable
chargeId
string
nullable
chargeShouldPayAmount
number format: decimal
chargeShouldPayVat
number format: decimal
chargeShouldPayAmountVat
number format: decimal
chargeAuthorizedAmount
number format: decimal
chargePayedAmount
number format: decimal
chargeRefundedAmount
number format: decimal
payMethod
string
nullable
Example
{
"application/json": {
"guid": "900A1595-354F-4F3C-BCA6-797EB90796BF",
"chargeId": "7263523",
"chargeShouldPayAmount": 120,
"chargeShouldPayVat": 0.2,
"chargeShouldPayAmountVat": 100,
"chargeAuthorizedAmount": 120,
"chargePayedAmount": 120,
"chargeRefundedAmount": 0
}
}