Skip to content

MHR API - Staff Review Reject and Approve Notification #31020

Closed

Description

@mbertucci

Backend mechanics to issue a notification a with configurable message

  • Notification subject and message to be written by BA.
  • For rejections the reason will be included in the message.
  • The email will be sent to the submitting party email address.
  • For DEV and TEST, to receive notifications the assets user email address must be on the common notification service exceptions list.
  • Track email notification status in the event_tracking table.

Initial wording below configurable, stored in new environment variable NOTIFY_REVIEW_CONFIG.
Approved
Subject: MHR Registration Completed - {mhr_number}: DO NOT REPLY
Body: Your recently submitted MHR {reg_type} registration for {mhr_number} has been approved and completed. The following link is valid for 7 days to download the verification statement for the registration.$${verification_url}

Declined
Subject: MHR Registration Declined - {mhr_number}: DO NOT REPLY
Body: Your recently submitted MHR {reg_type} registration for {mhr_number} has been reviewed and declined for the following reason:${reason}$$Your payment with invoice ID {invoice_id} has been refunded.

Activity

  1. changed the title [-]API - Reject and Approve Notification[/-] [+]MHR API - Reject and Approve Notification[/+] on Oct 16, 2025
  2. changed the title [-]MHR API - Reject and Approve Notification[/-] [+]MHR API - Staff Review Reject and Approve Notification[/+] on Oct 16, 2025
  3. doug-lovett commented on Oct 31, 2025

    @doug-lovett
    Collaborator

    @chdivyareddy hi Divya, to test this notification the transfer submitting party email address must be your email address and on the common notification service exceptions list in the non-PROD environments (you can check with SRE). The wording of the messages will probably change but you can test the notification itself is working.
    Also, if you want an API deployed you can tag me in a ticket and I will respond more quickly than on Teams. Some of the recent builds have database changes or an added environment variable (this one).

  4. chdivyareddy commented on Oct 31, 2025

    @chdivyareddy
    Collaborator

    @doug-lovett , Hey Doug, thanks for the information, sure will reach out here in the ticket itself once the verification is done in DEV, thanks again:)

  5. chdivyareddy commented on Oct 31, 2025

    @chdivyareddy
    Collaborator

    Verified in DEV!

    Declined: MHR 108529

    image.png

    Approved: MHR 108530

    image.png

  6. chdivyareddy commented on Oct 31, 2025

    @chdivyareddy
    Collaborator

    Hey @doug-lovett , Please deploy both PPR and MHR API to TEST whenever you have time, no rush at all on this, thank you:)

  7. mbertucci commented on Jan 23, 2026

    @mbertucci
    ContributorAuthor

    @doug-lovett was the pay api work done to issue a refund. just guessing it was from the state of this ticket

  8. doug-lovett commented on Jan 23, 2026

    @doug-lovett
    Collaborator

    @mbertucci yes, the MHR API work has been done to issue a pay api refund when staff rejects a client registration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions