A simple script that gets executed once a transaction has completed that notifies an external service.
I wanted to create a service for my business that sends alerts to a dedicated Slack channel of card transactions over R1 000 for a member of the admin team to be able to monitor expenses.
- Access to the Investec Programmable Banking API
- Investec Programmable Cards Quick Start Guide
- The function inside the
main.js
file is used to replace theafterTransaction
function from within the Programmable Cards IDE on Investec Online - You may setup any external service (I have used Slack in this case) and you can replace
webhook
details in theenv.json
file
This project is MIT licensed.