Receive an update on an order placed in the store

hi,

How can I configure that when placing an order an update will be sent to my system so that I can issue a receipt to the customer?
Is there an option through the API?
Thanks

I would love to know how.