Record Payment for Multiple Invoices
Records an external payment against multiple invoices.
To apply a payment to multiple invoices, at minimum, specify the amount and applications (i.e., invoice_uid and amount) details.
Note that the invoice payment amounts must be greater than 0. Total amount must be greater or equal to invoices payment amount sum.
Authorization
BasicAuth The username is a Maxio Chargify API key. The password is x.
In: header
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://example.com/invoices/payments.json" \ -H "Content-Type: application/json" \ -d '{ "payment": { "memo": "to pay the bills", "details": "check number 8675309", "method": "check", "amount": "100.00", "applications": [ { "invoice_uid": "inv_8gk5bwkct3gqt", "amount": "50.00" }, { "invoice_uid": "inv_7bc6bwkct3lyt", "amount": "50.00" } ] } }'{ "payment": { "transaction_id": 1, "total_amount": "100.00", "currency_code": "USD", "applications": [ { "invoice_uid": "inv_8gk5bwkct3gqt", "application_uid": "pmt_1tr0hgsct3ybx", "applied_amount": "50.00" }, { "invoice_uid": "inv_7bc6bwkct3lyt", "application_uid": "pmt_2", "applied_amount": "50.00" } ] }}Record Payment for Invoice POST
Applies a payment of a given type against a specific invoice. If you would like to apply a payment across multiple invoices, you can use the [Record Payment for Multiple Invoices](https://maxio-test-wp.pages.dev/api/openapi/invoices/recordPaymentForMultipleInvoices) endpoint.
List Credit Notes GET
Lists credit notes for a site. Credit Notes are like inverse invoices. They reduce the amount a customer owes. By default, the credit notes returned by this endpoint will exclude the arrays of `line_items`, `discounts`, `taxes`, `applications`, or `refunds`. To include these arrays, pass the specific field as a key in the query with a value set to `true`.