New REST API - Anyone know where I can find the equivalent of invoice payment in the new api?

I am fairly new to Infusionsoft API and have been tasked to create a form to make payments on a product.

To do that, I need to connect a user to a product and payment method. It looks possible with the old XML-RPC API at xml-rpc - Keap Developer Portal, but I am not seeing anything with the new REST API, which I would prefer to use.

Here is what I have found so far …

E-Commerce - Create an Order Keap REST API seems like a solution. I can see how an Order is tied to a Product and Contact, but I cannot seem to find how Order is tied to a Payment Credit Card.

If someone can point me in the right direction, I would appreciate it.

To complete a transaction you would first want to create a Contact and add their credit card to it:!/Contact/createContactUsingPOST!/Contact/createCreditCardUsingPOST

Then you will want to create an Order associated with that Contact and populate it with Items:!/E-Commerce/createOrderUsingPOST!/E-Commerce/createOrderItemsOnOrderUsingPOST

Then you can process the payment for that Order:!/E-Commerce/createPaymentOnOrderUsingPOST

Thank you very much Tom!

This makes sense! I will try that.