Register SMTP
Register your SMTP credentials
Was this helpful?
Register your SMTP credentials
Was this helpful?
This endpoint allows you to register a mailer with the provided SMTP configuration.
Request Body
api_username
(string): Your Pay Hero API username for authentication.
smtp_host
(string): The SMTP host for the mailer configuration.
smtp_username
(string): The SMTP username for authentication.
smtp_password
(string): The SMTP password for authentication.
smtp_port
(string): The SMTP port for the mailer configuration.
Response
id
(string): The ID of the registered mailer.
message
(string): A message indicating the status of the registration process.
Example:
{
"id": "",
"message": ""
}
{"api_username":"cQRGoMOqwBv94WB","smtp_host":"host.com","smtp_username":"send@host.com","smtp_password":"&!password^Frx1","smtp_port":"465"}