API DOCUMENTATION Last Update: July 2025

Manage Customer Fields - List

Show the fields used to gather customer data:

 

Headers

  Key   Value   Note
api_access_key user_api_key Optional

 

 

 

 

The data to be submitted to the API is composed of the following fields:

  field   Example   Note
API 1.6 Required
user_id john1970 Required
user_api_key 1959caadac9b13dcb3 Required if not included in the headers
account_id greatwidgets Required
type manage_fields Required
action list Required
Output Format:
output JSON or XML Optional. If not provided, defaults to XML
callback someFunctionName Optional: JSONP format
condensed yes Optional (No white space)
Applies only to JSON(P) output

  

NOTE:

  • Headers: the user_api_key value can be included in either the header section or the body of the request. If the key is provided in both locations, the API will process and validate only the value provided in the headers.

  • Almost all users can access this call.

Example PHP Request:

If you are using PHP, the $data array would look like this:

  1. $data['user_id'] = 'john1970';
  2. $data['user_api_key'] = '1959caadac9b13dcb3';
  3. $data['account_id'] = 'greatwidgets';
  4. $data['type'] = 'manage_fields';
  5. $data['action'] = 'list';

 

Success XML Response:

  1. <response status="success">
  2. <account>
  3. <account_id>test2009050502</account_id>
  4. <fields>
  5. <field>
  6. <name>card_number</name>
  7. <label>Card #</label>
  8. <show>Y</show>
  9. <required>Y</show>
  10. <type>Text</type>
  11. </field>
  12. <field>
  13. <name>custom_field_2</name>
  14. <label>Marital Status</label>
  15. <show>Y</show>
  16. <required>Y</show>
  17. <type>List</type>
  18. <choices>
  19. <choice>Single</choice>
  20. <choice>Married</choice>
  21. <choice>Divorced</choice>
  22. <choice>In Civil Union</choice>
  23. <choice>Other</choice>
  24. </choices>
  25. </field>
  26. ...
  27. </fields>
  28. </account>
  29. </response>

 

NOTE:

  • The <show> response indicates whether or not this field ought to be shown or not. Usually fields with "N" will have nothing in them. However, it is allowed to add content to any defined field through the API regardless of their <show> status.
  • The <type> parameter can be: Text, Date, List (Multiple Choice), or Pick (Single Choice)

 

Error XML Response:

  1. <response status="error">
  2. <error>Error message</error>
  3. </response>