Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Patient id
x > 01
Location id
x > 01
Payment method id
x > 01
Total payment amount, it should be the same as the sum of all paymentInvoice amount
193.99
Payment date
"2024-03-01T00:00:00.000Z"
Payments made to invoices
Xero batch payment id, only applicable for Xero batch payment
Response
Object with payment data.
Payment id
x > 01
Payment number
"RCPT-0001"
Total payment amount. 0 for credit allocation
193.99
The payment patient id
x > 01
The payment location id
x > 01
The payment method id, null for credit allocation
x > 01
Payment date
"2023-07-30T09:00:00.000Z"
Payments made to invoices
Credit allocated to invoices
[]Xero batch payment id
Payment archive date time
Whether the payment has been archived