API's for automatic creation of payment entries & manual journals

hello,

We are currently implementing ERPNext for a client and need to integrate a Point of Sale (POS) System with ERPNext for automatic creation of payment entries of type “Receive” and manual journals.

Kindly provide any useful information on which API’s are available on ERPNext for automatic creation of payment entries and automatic creation of manual journals.

Would the autogenerated REST API suit your needs?

https://frappeframework.com/docs/user/en/api/rest#create