All email notifications sent from your Rebill account are HTML compliant, with a few simple style changes you can customize it to match your brand. We have a collection of editable templates. For example, informing the customer of the successful charge on their card, welcoming a subscription, among others.

Each template consists of a combination of HTML marks and expressions identifiable by double braces. Expressions are properties that belong to objects and whose content will be modified by email.

Property management

Templates have access to different properties. For example, the welcome template for a subscription can use objects called subscription and customer that have properties that describe the customer and the requested subscription. You can use dot notation to extract information from the object.o. Ejemplo:

<h1> Hello {{customer.firstName}} {{customer.lastName}} </h1> 

<p> a new subscription with the name {{subscription.title}} has been created.</p>

List of objects and their properties

The Customer object

Contains the customer's information.

Available Properties:

Nombre             | Type    | Description                    |
id | integer | id asignado cuando se crea |
firstName | string | primer nombre |
lastName | string | primer apellido |
email | string | correo electrónico |
phone_areacode | string | código de area |
phone_number | integer | numero de teléfono |
personalID_type | string | tipo de documento |
personalID_number | integer | numero de documento |
address_street | string | nombre de calle |
address_number | integer | numero de calle |
address_floor | string | numero de piso |
address_apt | string | numero o nombre de apartamento |
address_city | string | ciudad |
address_province | string | provincia |
address_zipcode | string | código postal |

The Subscription object

Contains the subscription's information.

Available Properties:

Nombre                     | Type    | Description                |
id | integer | assigned id when created |
plan_id | integer | id del plan |
status | string | estado actual |
description | string | descripción |
title | string | titulo asignado |
frequency_type | string | tipo de frecuencia |
frequency | integer | numero de la frecuencia |
personalID_number | integer | numero de documento |
repetitions | integer | numero de repeticiones |
currentRepetition | integer | repeticiones restante |
free_trial_frequency_type | string | tipo de frecuencia |
free_trial_frequency | integer | numero de la frecuencia |
transaction_amount | float | monto a cancelar |
next_process_date | string | fecha próxima de pago |
currency_id | integer | id de moneda |

The Card object

Contains the customer's card information.

Available Properties:

Nombre                            | Type    | Description            |   
expiration_month | integer | id asignado |
expiration_year | integer | id del plan |
first_six_digits | string | estado actual |
last_four_digits | string | descripción |
payment_method_name | string | titulo asignado |
payment_method_type_id | string | tipo de frecuencia |
thumbnail | string | numero de la frecuencia|
secure_thumbnail | string | numero de documento |
issuer_name | string | numero de repeticiones|
cardholder_name | string | repeticiones restante |
cardholder_identification_number | string | tipo de frecuencia |
cardholder_identification_type | string | numero de la |

Did this answer your question?