Notification

Monnet Notifications for SUCCESS and REJECTED Stages

Monnet is pleased to offer an efficient notification system to keep our customers informed about the status of transactions. This feature is essential to ensure smooth and timely communication between Monnet and the Merchant.

We have implemented automatic notifications for the "SUCCESS" and "REJECTED" stages in payouts. These statuses reflect the final outcome of business operations and are vital for transaction tracking and management.

Notification URL Configuration

To enable these automatic notifications, we request your team to provide a valid and secure URL where Monnet can send the notifications. This URL should be prepared to receive and process notification data appropriately. Ensure your technical team is involved in configuring this URL to ensure a successful integration.

To configure the notification URL, please follow these steps:

  1. Contact with our Integration team.

  2. Share the URL designated for the notification.

  3. Our team will configurate the URL internally and let you know.

Notification Composition

Before delving into the specifics of a payout notification, it's essential to understand the composition of the notification itself. Each notification comprises a header and a body. The header includes a field named "verification", which serves as a security signature to check the integrity and authenticity.

Verification Process: The merchantId is required to perform the following steps with the "verification" field:

  1. Get the value of the "verification" field on the header.

  2. Perform the signature verification provided by RSA algorithm using the following inputs:

    1. Content to verify: concatenation of the merchantId and the body of the notification

    2. Signature: verification signature obtained in step 1 using Base64 decoding

    3. Public key extracted from the provided certificate

Notification: Certificate Setup

To ensure notification security, attach the provided notifier certificate in your commerce application's notification settings.

Note: Public key should be extracted from the certificate, this can be done by code or using the openssl tool:

The result should looking as

Successful Stage Notification

When a transaction is recorded as "SUCCESS," Monnet will also send an automatic notification to the URL address provided by your team. This notification will confirm the positive outcome of the transaction and provide necessary details for your internal record-keeping.

RESPONSE SUCCESS by Bank

This is an Example.

Implementations examples

Java

NodeJS

Note: In the above example, crypto-js library could perform the signature verification using the certificate directly without extract the public key

Rejected Stages Notification

If the event a transaction is marked as "REJECTED," Monnet will send an automatic notification to the URL address provided by your team. This notification will contain relevant details about the transaction, including rejection reasons and any additional pertinent information. It is crucial for your team to properly configure the notification URL to receive this information promptly.

RESPONSE REJECTED by Bank

RESPONSE REJECTED by Business Error

RESPONSE REJECTED by no balance

RESPONSE REJECTED by reversed

Last updated