Notification/List

Use this service to list and search for email notifications.

Notifications html is returned html encoded by the API. You should decode the html before displaying.

Parameters
Parameter Type Required Description
notification_id string optional Provide a 'notification_id' to list a specific email notification.
notification_event string optional List notifications of a specific notification event.
GET https://api.recurringstack.com/{format}/Notification/List
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('notification_id' => "",'notification_event' => "");
try { $response = $rstack->request('Notification/List','GET',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Notification/Create

Create and customize a new email notification. Notifications can be triggered for select events on the RecurringStackā„¢ platform. You can choose to send a customized notification to yourself (the brand) and/or the customer.

Until and unless a notification is setup you or your customers will not receive any emails from the RecurringStackā„¢ platform during the normal course of business.

Each notification type has a default template, you can retreive these templates by using the 'Notification/List' service. You can customize the template html to your liking while using the template placeholders.
Most event types are named after the API event they represent. You'll find a complete list of 'notification_event' types below.

  • Account/Create
  • (sent when a new customer account is created).
  • User/PasswdReset
  • (sends temporary password to the user).
  • User/2FARequest
  • (sends e-mail verification code when the 'User/2FARequest' service is called).
  • Subscription/Create
  • (sent after a new subscription is started).
  • Subscription/Suspend
  • (sent when a subscription is suspended, including for non-payment).
  • Subscription/Delete
  • (sent when a subscription is cancelled/deleted).
  • Invoice/Create
  • (sent when a new invoice is created on a customer account).
  • Payment/Create
  • (sent when a new payment is posted).
  • Invoice/Reminder
  • (can be sent as an 'enforcement_action' on a Dunning Rule).

Parameters
Parameter Type Required Description
notification_event string required The type of event you wish to setup notifications for.
default_notify_brand string required Provide a 'Y' to send the 'html_brand' to the 'default_notify_brand_email' when this notification is triggered; otherwise provide a 'N'.
default_notify_brand_email string optional 'html_brand" will be sent to this email if 'default_notify_brand' is set to 'Y'. Required if 'default_notify_brand' is set to 'Y'.
default_notify_customer string required Provide a 'Y' to send the 'html_customer' to the email address on the customer Account when the 'notification_event' is triggered; otherwise provide an 'N'.
subject_brand string optional The subject of the notification email when sent to the 'default_notify_brand_email'.
subject_customer string optional The subject of the notification email when sent to the customer.
html_brand string optional The customized html for the notification email you wish to send to the 'default_notify_brand_email'.
html_customer string optional The customized html for the notification email you wish to send to the email address on the customer Account.
from_email string required The email address the notification email should be sent from.
POST https://api.recurringstack.com/{format}/Notification/Create
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('notification_event' => "",'default_notify_brand' => "",'default_notify_brand_email' => "",'default_notify_customer' => "",'subject_brand' => "",'subject_customer' => "",'html_brand' => "",'html_customer' => "",'from_email' => "");
try { $response = $rstack->request('Notification/Create','POST',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Notification/Update

Update an existing email notification template.

Parameters
Parameter Type Required Description
notification_id string required The 'notification_id' of the notification you wish to update.
default_notify_brand string required Provide a 'Y' to send the 'html_brand' to the 'default_notify_brand_email' when this notification is triggered; otherwise provide a 'N'.
default_notify_brand_email string optional 'html_brand" will be sent to this email if 'default_notify_brand' is set to 'Y'. Required if 'default_notify_brand' is set to 'Y'.
default_notify_customer string required Provide a 'Y' to send the 'html_customer' to the email address on the customer Account when the 'notification_event' is triggered; otherwise provide an 'N'.
subject_brand string optional The subject of the notification email when sent to the 'default_notify_brand_email'.
subject_customer string optional The subject of the notification email when sent to the customer.
html_brand string optional The customized html for the notification email you wish to send to the 'default_notify_brand_email'.
html_customer string optional The customized html for the notification email you wish to send to the email address on the customer Account.
from_email string required The email address the notification email should be sent from.
PATCH https://api.recurringstack.com/{format}/Notification/Update
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('notification_id' => "",'default_notify_brand' => "",'default_notify_brand_email' => "",'default_notify_customer' => "",'subject_brand' => "",'subject_customer' => "",'html_brand' => "",'html_customer' => "",'from_email' => "");
try { $response = $rstack->request('Notification/Update','PATCH',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Notification/Delete

Delete an existing email notification.

Parameters
Parameter Type Required Description
notification_id string required The 'notification_id' of the notification you wish to delete.
DELETE https://api.recurringstack.com/{format}/Notification/Delete
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('notification_id' => "");
try { $response = $rstack->request('Notification/Delete','DELETE',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Notification/Restore

Restore a previously deleted notification.

This service will be unable to restore a notification if one of the same type already exists.

Parameters
Parameter Type Required Description
notification_id string required The 'notification_id' of the notification you wish to restore.
POST https://api.recurringstack.com/{format}/Notification/Restore
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('notification_id' => "");
try { $response = $rstack->request('Notification/Restore','POST',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Your content here

Lorem ipsum dolor sit amet consectetur adipisicing elit. Qui, natus temporibus voluptate corporis possimus ab aut cumque.

Homepage

Quick Tips

You may remove all ID or Class names which contain _dm-, they are only used for demonstration.


Boxed Layout

Fluid Layout Remove the .boxed-layout and .centered-layout classes from the body.
Centered Layout Add a class .centered-layout to the body.
Boxed Layout Add a class .boxed-layout to the body.
Boxed Layout with background image

Add background image to the body.

<body class="boxed-layout" style='background-image: url("path_to_img/image.jpg");'>
    ..
    ..
</body>

Or it could be in your own class.

.bg-img {
background-image: url("path_to_img/image.jpg");
}
<body class="boxed-layout bg-img">
    ..
    ..
</body>

Color Schemes

Replace the current Bootstrap CSS and Nifty CSS path with the new path of the CSS color schemes you wish to use.

This is where you can change the color scheme of your app / website.

<head>
    ...
    <title>My Project</title>
    ...

    <!-- STYLESHEETS -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--- -->

    <!-- Bootstrap CSS [ REQUIRED ] -->
    <link rel="stylesheet" href="documentation/assets/css/color-schemes/SELECTED-SCEHEMS/bootstrap.min.css">

    <!-- Nifty CSS [ REQUIRED ] -->
    <link rel="stylesheet" href="documentation/assets/css/color-schemes/SELECTED-SCEHEMS/nifty.min.css">

</head>

Header

Sticky header Add a class .hd--sticky to the #root.
Expanded header Add a class .hd--expanded to the #root.
Expanded header with overlapping content. Add a class .overlapping to the #content > .content__header.
Disable rounded header. Add a class .rounded-0 to the #content > .content__header.

Animations

Add the following class to the body to change the animation transition.

Transition function name Class name
In Quart .in-quart
Out Quart .out-quart
In Back .in-back
Out Back .out-back
In Out Back .in-out-back
easeInOutBack .easeInOutBack
steps .steps
jumping .jumping
rubber .rubber
RecurringStack Documentation
RecurringStack Docs
Sign In

Background Images

Add an image to replace the solid background color
Layouts
Layouts
Transitions
Header
Additional Offcanvas New in BS v.5.0

Select the offcanvas placement.

Sidebars
Navigation
Right sidebar
Color Schemes
Light Completely bright color themes.
Dark Completely dark color themes.
Expanded Header
Fair Header
Full Header
Primary Nav
Brand
Tall Header New in v3.0
Scrollbars

Hides native scrollbars and creates custom styleable overlay scrollbars.

Offcanvas Header
Content Here

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente eos nihil earum aliquam quod in dolor, aspernatur obcaecati et at. Dicta, ipsum aut, fugit nam dolore porro non est totam sapiente animi recusandae obcaecati dolorum, rem ullam cumque. Illum quidem reiciendis autem neque excepturi odit est accusantium, facilis provident molestias, dicta obcaecati itaque ducimus fuga iure in distinctio voluptate nesciunt dignissimos rem error a. Expedita officiis nam dolore dolores ea. Soluta repellendus delectus culpa quo. Ea tenetur impedit error quod exercitationem ut ad provident quisquam omnis! Nostrum quasi ex delectus vero, facilis aut recusandae deleniti beatae. Qui velit commodi inventore.