RE: How can I batch invoices into customer payments using the REST API?
Having trouble creating/transforming invoices into customer payments using the REST API. I have no issue transforming an invoice into a customer payment like so:
However I’d like to add multiple invoices to a customer payment in one API call, and I’m not sure how to do that. When I structure my request like this;
I get the following error:
Chris, I would love to hear how you’ve navigated invoice grouping using the REST API. So far I’ve done the following:
- Enabled invoice grouping for the account
- Enabled invoice grouping for a specific customer
But I’m not sure how to go about actually grouping the invoices. Do I patch each invoice I want to group with an invoice group id, and then create a customer payment using that invoice group?