You can create an alert that notifies you when invoices are created or change statuses. To receive notifications about invoices associated with your account, you can set up email alerts or web alerts (also known as webhooks) in the Payrix Pro portal. This tutorial shows you how to configure an email or web alert for invoice creation or status change events.
Audience: Partner, Merchant
Enable Invoice Event Alerts
Ensure that you complete the prerequisites and all steps in a section to enable that alert type.
Note
By default, all custom email and web alerts are disabled. The platform provides a set of default email alerts when a merchant is boarded to cover critical notifications. To learn more about boarding alerts, see the Enable Merchant Boarding Alerts use case.
Prerequisites
Before attempting this tutorial, you must:
Meet the general prerequisites described in Get Started with Use Case Tutorials.
Enable Email Alerts for an Invoice Event
Complete all steps in the following sections.
Open the Email Alerts Invoices Tab
Click Email Alerts under the Admin category in the left navigation panel to open the Email Alerts page.
Click the Invoices tab at the top of the page.
Create a New Email Alert
Locate the invoice event type on the Invoices tab. Choose from the following types:
Invoice Created
Invoice Cancelled
Invoice Expired
Invoice Viewed
Invoice Paid
Invoice Emailed
Invoice Result Failure
Click the switch on the right side of the invoice event to activate the alert. When not subscribed, the switch will display a minus symbol. When subscribed, the switch will display a check.
Click the Triangle icon to the left of the invoice event title to open the event type options section.
Enter the email address of the alert recipient in the email field.
Important!
Email alerts are not sent to a newly provided email address until it is verified. You can verify a new email address by following the instructions in the initial enrollment email sent to the user.
(Optional) Click the Plus icon to add fields for additional recipients and enter their email addresses. Click the Minus icon to remove email recipients.
Click SAVE in the upper-right corner of the section to finish setting up the alert.
Result: The recipients receive an email alert when the specific invoice event type occurs.
Enable Web Alerts (Webhook Notifications) for an Invoice Event
Complete all steps in the following sections.
Open the Web Alerts Page
Click Web Alerts under the Admin category in the left navigation panel to open the Web Alerts page.
Click ADD ALERT in the upper-right corner of the page to open the Add Alert dialog on the page.
Name the New Web Alert
Enter the name of the new alert in the Name field in the first section of the Add Alert dialog.
(Optional) Enter an optional description of the alert in the Description field.
(Optional) Click Advanced Options to enter information about the login ID, Team, partition, or Division associated with the alert.
Tip
You can enter the optional advanced options during any step of the setup process.
Click Next in the lower-right corner of the dialog to move to the next section.
Attach your Endpoints Receiving the Web Alert
Enter the endpoint in the Endpoint field. The endpoint is the URL address on your server that receives the alert from Payrix Pro.
(Optional) Enter the header name and header value in the open fields under the Endpoint field.
(Optional) Click Add Another Endpoint to add additional endpoints. Click the Trashcan icon to remove an endpoint.
Click Next in the lower-right corner of the dialog to move to the next section.
Set Invoice Event Web Alert Triggers (Alert Resources)
Select Invoices from the Resource dropdown menu.
Select the type of event that triggers the alert from the Event dropdown menu.
Invoice Created
Invoice Cancelled
Invoice Expired
Invoice Viewed
Invoice Paid
Invoice Emailed
Tip
Alternatively, you can use the InvoiceResults resource for web alerts for invoices that return in a Failed status.
(Optional) Enter a name and description in the fields below the Resource and Event fields.
(Optional) Click Add Another Trigger to add additional alert triggers. Remove a trigger by clicking the Trashcan icon to the right of the trigger.
Click Add to finish setting up the new web alert.
Result: The web alert automatically triggers when the specific invoice event occurs.
Next Steps
After enabling the invoice alert, review the following guides on enabling other alerts:
Enable Chargeback Event Alerts: Create an email or web alert that triggers when a chargeback update, creation, or final decision occurs under your portfolio.
Enable Transaction Event Alerts: Create an email or web alert that triggers when a transaction status changes.
Enable Merchant Boarding Alerts: Create an email or web alert that triggers when merchants' boarding status changes.
Enable Disbursement Event Alerts: Create an email or web alert that triggers when withdrawals or negative disbursement events occur or change status.
Enable Subscription Event Alerts: Create an email or web alert that triggers when a merchant customer's subscription changes status.