Add Payment To Booking
post
[PlatformAddress]/api/1.0/venue?action=addPaymentToBooking
Add Payment To Booking
Add payment to booking
{
"venueId": 2,
"bookingId": 2,
"payment": {
"paidDate": "2015-01-22 00:00:00",
"amountPaid": 100,
"paymentMethod": 6,
"receiptNum": 12345,
"notes": "Note for payment"
}
}
Property | Description | Type |
---|---|---|
paidDate | The date & time of the payment | Timestamp in UTC |
amountPaid | The payment amount | number |
paymentMethod | | |
receiptNum | A receipt number of the payment transaction | string |
notes | Additional notes about the payment | string |
# | Description |
---|---|
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 |
Property | Description |
---|---|
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 |
Code | Description |
---|---|
Specific Code: 24136 | The payment details are invalid |
Last modified 1yr ago