Payment
Create one payment for specific invoice
Create one payment for specific invoice
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Patient id
Required range:
x > 0
Location id
Required range:
x > 0
Payment method id
Required range:
x > 0
Total payment amount, it should be the same as the sum of all paymentInvoice amount
Payment date
Payments made to invoices
Xero batch payment id, only applicable for Xero batch payment
Response
200 - application/json
Payment id
Required range:
x > 0
Payment number
Total payment amount. 0 for credit allocation
The payment patient id
Required range:
x > 0
The payment location id
Required range:
x > 0
The payment method id, null for credit allocation
Required range:
x > 0
Payment date
Payments made to invoices
Credit allocated to invoices
Xero batch payment id
Payment archive date time