Home / Basics / Highnote API
Warning: For compliance and security reasons, do not use custom fields to store PCI or PII data.
Financial account and payment card objects implement custom fields that let you to add key-value pairs to the object.
Each Highnote CustomFields object is a set of key-value pairs stored and returned in plain text. Limits are:
CustomFields objects.Use cases for using custom fields include:
You can use the following node query to find customFields on a financial account:
You can also use a nodeByCustomFields query with a CustomFieldsFilter to look up multiple objects and their custom fields. Use the following query to search multiple objects:
In addition to using the customFields filter to search multiple objects, you can use the following filters to refine your search results:
Accepts one input
Accepts one or more inputs
The following code snippet provides an example of using the equals filter in your query input:
The following code snippet provides an example of using the notEquals filter in your query input:
The following code snippet provides an example of using the includes filter in your query input:
The following code snippet provides an example of using the excludes filter in your query input:
Note: Currently, objects that support custom fields are FinancialAccount and PaymentCard.
You can create custom fields when creating a new object that supports customFields.
The following mutation provides an example of creating a FinancialAccount with customFields key-value pairs entered as input variables:
Warning: Setting a key-value pair's value to empty will delete the key.
You can add, update, or delete customFields of an existing object with the UpdateCustomField mutation and by referencing key-value pairs explicitly as input variables.
The following example uses the UpdateCustomFields mutation to add multiple customFields key-value pairs to an existing object:
Continuing from the previous output, the following example uses the UpdateCustomFields mutation to do the following:
regionId)customerGroupId)sectorId)You can use the following mutation to delete all customFields for an object without having to specify the keys explicitly: