Posting Payments using API'S

I can’t seem to find api’s for posting/accepting a patient payment amount. How can I achieve this in openEmr? Please point me to the api.

@Esther_Waweru1 seems like new requirement you have to write the api