On This Page
Customer Notifications
The new Recurring Billing supports two customer notification methods: email and
webhooks.
Email Notifications
Legacy Recurring Billing does not send customer notifications by email. The new
Recurring Billing automatically sends email notifications to customers.
Webhook Notifications
Cybersource
offers the Webhooks REST API. You can use it to subscribe
to a webhook for a supported system event type. Designate a URL to receive
notifications for that event. Webhooks let you respond to events with code.Create and manage webhook subscriptions for Recurring Billing event types listed in
the table. In the webhooks request message, set the
productId
API
field to recurringBilling
. Then, set the
eventTypes
API field to one of the values in the Event Type
column of the table.Product ID | Event Types | Description |
---|---|---|
recurringBilling | rbs.subscriptions.charge.failed | Notifies you of a recurring payment failure. |
rbs.subscriptions.charge.pre-notified | Notifies you of an upcoming recurring payment. | |
rbs.subscriptions.charge.created | Notifies you of successful recurring payment. |
To customize your notifications, use webhooks. For more details, see the
Cybersource
API Developer Center Create Webhook Security Keys to create a
webhook test API request in the live, test console. You can test example requests
for different payment processors.