The API was quite simple. Essentially it just processed a donation. It had some other functions to it that involved saving a users payment information to their account as well.
Yes, the donation submission was an POST request executed with JavaScript (AJAX) from the user's browser.
Thanks for noticing the bug! I'll have to check that out.