Add Payment To Booking
Add Payment To Booking
POST
[PlatformAddress]/api/1.0/venue?action=addPaymentToBooking
Add a payment to a booking. This will also generate an invoice to apply the payment to.
Path Parameters
venueId
integer
The unique id of the venue to which the booking belongs
bookingId
integer
The unique id of the booking to which the payment will be added
payment
object
The payment details to add to the booking
Example Request
Add payment to booking
Payment Details
paidDate
The date & time of the payment
Timestamp in UTC
amountPaid
The payment amount
number
receiptNum
A receipt number of the payment transaction
string
notes
Additional notes about the payment
string
Payment methods
0
Unknown
1
Credit Card
2
BPay
3
Direct Deposit
4
PayPal
5
Cheque
6
Cash
7
Custom Gateway
8
Accounts Receivable
9
EFTPOS
10
WriteOff
11
Point of Sale
12
Wire Transfer
Returns
success
Whether or not the payment was added to the booking
invoiceId
The unique id of the invoice to which the payment was added
paymentId
The unique identifier of the payment made
Throws
Specific Code: 24136
The payment details are invalid
Last updated