How to add low-code snippets to your card on Investec Online
Last updated
Was this helpful?
Last updated
Was this helpful?
If you're not confident with coding yet, there are 3 different card code snippets to choose from, which can be added to your programmable card at the click of a button.
Navigate to the Investec Developer homepage by clicking on “Manage”, followed by “Investec Developer”.
Click on "View code" on the Low code quickstart tile.
There are 3 different card code snippets from which to choose:
Update transaction limit : Modify the per-transaction limit on your card
Limit your card to a specific merchant: Restrict your card transactions to specific merchants (ie. only Woolworths)
Limit transactions to specific merchant categories: Restrict your card transactions to specific merchant categories (ie. only petrol service stations).
The steps are the same for each code snippet. For the purpose of this guide, we'll use the "Update transaction limit" code snippet. Click on the tile.
You will be taken to the programmable card screen. Ensure your card is enabled by toggling the button. Click on the card to view the code snippet.
An explanation of the code snippet is provided in the next screen.
The code in the main.js file will be updated automatically and doesn't require any edits.
The code in the env.json file requires that you set the limit for the transaction limit.
Following this, you have the option to:
Publish the code
Make additional edits in the IDE.
Once you click "Publish" , you will be asked if you are sure you want to publish the code. It will overwrite the code currently on the card.