Customer Notifications

The new Recurring Billing supports two customer notification methods: email and webhooks. You can configure one method or you can confiture both notification methods.

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 to respond to events with code.
Create and manage webhook subscriptions for the Recurring Billing event types listed in the table. In the webhooks request message, set the
productId
API field to
recurringBilling
and set the
eventTypes
API field to one of the values listed in the Event Type column of the table.
Recurring Billing Event Notifications
Product ID
Event Type
Description
recurringBilling
rbs.subscriptions.charge.failed
Notifies the customer of a recurring payment failure.
rbs.subscriptions.charge.pre-notified
Notifies the customer of an upcoming recurring payment.
rbs.subscriptions.charge.created
Notifies the customer of a successful recurring payment.
To customize your notifications, use webhooks. For details, go to the
Cybersource
API Developer Center
. In the left navigation pane, select
Platform Services
>
Webhooks
>
Create Webhook Security Keys
. Use the webhook request builder and live console to test example REST API requests.