Document toolboxDocument toolbox

Blueshift Direct Debit Decline Email

Summary / TL:DR: This article will introduce you to Direct Debit Decline emails in Blueshift.


Capability

Send a notification email through Blueshift when a customer’s direct debit payment has been declined.


Description

When a customer's direct debit payment is unsuccessful a workflow captures this transaction and generates an event to inform Blueshift. This event then triggers a campaign in Blueshift.


Blueshift Event Name

direct_debit_decline


Event Payload Parameters

 

Parameter

Description

Parameter

Description

account_holder

Full name of the account holder

credit_voucher_number

The number of the credit voucher

customer_firstname

First name of the customer

customer_lastname

Last name of the customer

retailer_customer_id

Concatenation of [Advantage billTo customer number]-[Advantage billTo emailId]

direct_debit_event_action_description_1

Description of why the event was generated

direct_debit_event_action_description_2

Reason why the payment was unsuccessful

direct_debit_event_added_date

The date this event was generated

direct_debit_event_note_action_code

Code assigned to the note that was placed on the customers account

direct_debit_event_number_prior_failures

Number of times the DD payments were previously unsuccessful

direct_debit_event_response_code

Response code assigned to the event

direct_debit_event_response_source

Indicates the source of the response

direct_debit_event_status

Code indicating the status of the event

direct_debit_id

ID assigned to the DD payment

email

Email address of the customer

event

direct_debit_decline

line_item

Array that contains the item number and description

owning_org

Code for the legal entity associated with the product/item

transaction_amount

The amount that was charged for the item


Sample Payload

 

{ "account_holder": "Omar Abdelmoumni", "credit_voucher_number": "BBRSCQZM", "customer_firstname": "Omar", "customer_id": "000096581017-000074427119", "customer_lastname": "Abdelmoumni", "direct_debit_event_action_description_1": "Unsuccessful DD Payment", "direct_debit_event_action_description_2": "Refusal by the Debtor", "direct_debit_event_added_date": "20211221023058886", "direct_debit_event_note_action_code": "", "direct_debit_event_number_prior_failures": "0", "direct_debit_event_response_code": "MS02", "direct_debit_event_response_source": "RJCT", "direct_debit_event_status": "U", "direct_debit_id": "000004261267", "email": "OMAR.ABDELMOUMNI@GMAIL.COM", "event": "direct_debit_decline", "event_uuid": "095525c6-6206-11ec-891b-0242ac11000a", "line_item": [ { "item_description": "La Lettre des Affranchis", "item_number": "ODL" } ], "owning_org": "990", "retailer_customer_id": "000096581017-000074427119", "transaction_amount": "79.00" }

Wrap up

You should now have a better understanding of Direct Debit Decline Emails in Blueshift.

Still need help?

We know this can be frustrating. To get further help open a Jira ticket.

Open a ticket


com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html-macro' is unknown.