Happy Business Starts Here

Make it easy to charge a specific invoice

0 Kudos

Make it easy to charge a specific invoice

There should be an API endpoint that can charge a specific customer's endpoint for the full amount, with having to only provide the invoice ID.

 

The endpoint could be `POST /v1/invoices/payments` and it would charge the invoice for the full amount.

 

This would be much simpler than using the `POST /v1/payments` endpoint, because that endpoint requires the most tedious minutia in the request body just to charge an invoice. For example, it requires you to provide the amount you want to charge, and the break down of the amount for each line item in the invoice. All that information is already available on Zuora's side, so there is no need to make the API users provide it. It makes integration unnecessarily complicated.