Setting Up Custom Fields
Using the JSON code below you will be able to set Custom Field s on a Group level for a Merchant
Hay's Travel utilise Custom Fiels for entering their Booking Reference from their internal system to apply to a Gift Card on our Merchant Portal.
This is configured using the below JSON code:
[ { "name": "Booking Reference", "type": "number", "required": true, "active": true, "prefix": "HAY-" } ]
Name: This will be the title of the Custom Field
Type: This is what controls the entry in the field. In this example Number only allows for numbers to be input. This will need to be changed based on a merchant by merchant basis. If text needs adding then the type can be changed to "string".
Required: This will either be a true of false value and determines if the field needs to be populated to allow the transaction to go through.
Active: This is an indicator of this being live or not. This should always be set to true.
Prefix: this controls the pre-populated section of the field as shown above. If a Prefix is not required then this can be left off.
Once you have your desire JSON code set this needs to be applied within the admin portal. Search for your merchant and click into the group.
Once accessed you'll need to navigate to Info, Settings & then POS App Settings