How to: put order paid by api

Goodmorning dear, is there a way by api to put an order paid?

I made the custom order by api and everything goes fine but i have to put paid inside infusionsoft the same order. I can’t find anything in the doc

You can mark an order as paid by applying a payment to it. https://developer.infusionsoft.com/docs/rest/#!/E-Commerce/createPaymentOnOrderUsingPOST

thank you i will try