Hello, I am working on a panel using the MOFH API, I want to sync suspended accounts between both sides using the callback URL, however, I can't find any documentation on what the callback URL sends, and how to read it. Does anyone know what it sends, and what have you done to read it?
First of all, I don't answer PMs like that. I'm happy to engage in public discussion, but I don't give personal support in coding.
Whenever an account status changes, that URL is called with three post variables: 'username', 'status' and 'comments'. The username is the FTP username (like host_123456789), the status can be ACTIVATE, DELETE, SUSPENDED or REACTIVATE and the comments contain additional information. You can use that information to keep the known account status updated.