Which endpoint to to use using REST API?

Hello,

Which endpoints using the REST API do I use to do the following:

  1. create the invoice
  2. add an line item for the plan our users choose
  3. charge the credit
  4. make it a recurring payment.
  5. retrieve the invoice.

Is this possible? We’re using Keap Pro.

Thanks,
Alain

It looks like you’ll be wanting to create a Subscription, which will then generate Orders per cycle. Billing is done automatically when each Order is created.

https://developer.infusionsoft.com/docs/rest/#!/E-Commerce/createSubscriptionUsingPOST