Retrieve payments by Booking ID
GET /[context]/[contextId]/Payment
Context in Request URI should be 'bookings' or 'customers'
ContextId in Request URI should be Booking ID or Customer ID
List of Payments
Currency Code
Total Amount (DonationAmount + Amount)
Amount paid for the booking
Donation Amount
Payment date
Payment Method
Credit Card Fee Amount
Context Type
Context Id
ID of the resource
URI of the resource
Sequence of product
{
"payments": [
{
"currencyCode": "AU",
"totalAmount": 2500.0,
"amount": 2500.0,
"donationAmount": 25.0,
"paymentDate": "2019-02-10",
"paymentMethod": "Adyen",
"creditCardFeeAmount": 30.0,
"contextType": "Booking",
"contextId": 1926919,
"id": 887124,
"href": "context/contextid/payment/887124",
"sequence": "202403312359580000"
},
{
"currencyCode": "AU",
"totalAmount": 2500.0,
"amount": 2500.0,
"donationAmount": 25.0,
"paymentDate": "2019-02-10",
"paymentMethod": "Adyen",
"creditCardFeeAmount": 30.0,
"contextType": "Booking",
"contextId": 1926919,
"id": 887124,
"href": "context/contextid/payment/887124",
"sequence": "202403312359580000"
}
]
}