References

Retrieves a list of Country Options

get

This endpoint retrieves a collection of country options based on the provided address type. If the addressType parameter is not provided or is null, a default collection of country options will be returned. It provides country options based on specific address types, such as "Billing" or "Mailing".

Query parameters
addressTypestringOptional

Address type (Home, Work, etc.)

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Returns a list of country options successfully.
get
GET /api/demographics/v1/References/CountryOptions HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "countryCode": 124,
      "countryName": "Canada",
      "isDisplayed": true,
      "iso2": "ca",
      "iso3": "can",
      "stateOrProvinceIsRequired": true
    }
  ]
}

Retrieves a list of State Options

get

This endpoint retrieves a list of state options specific to the United States available in the database. The response includes a collection of states based on predefined configurations and criteria.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Returns a list of state types successfully.
get
GET /api/demographics/v1/References/StateOptions HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "stateCode": "AL",
      "stateName": "Alabama",
      "isDisplayed": true,
      "countryCode": "US"
    }
  ]
}

Retrieves a list of MCC Codes

get

This endpoint retrieves a list of MCC (Merchant Category Codes) available in the database. The response includes details such as the MCC code, group code, description, usage rank, and whether the MCC is supported. The data is sourced directly from the database and is useful for categorizing merchants based on their business types.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Returns a list of MCC codes successfully.
get
GET /api/demographics/v1/References/MccCodes HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "mccCode": "0742",
      "mccGroupCode": "Contract",
      "mccDescription": "Veterinary Services",
      "mccMostUsedRank": 1,
      "mccIsSupported": true
    }
  ]
}

Retrieves a list of Company Types

get

This endpoint retrieves a list of company types available in the database, which are filtered by a specific country code "US" (Default). Result includes CountryCode, Description, Type, etc. The response provides a structured collection of company types, which can be used for onboarding workflows, UI dropdowns, or other scenarios requiring a predefined set of company classifications.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Returns a list of company types successfully.
get
GET /api/demographics/v1/References/CompanyTypes HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "id": 4,
      "type": "NP",
      "legalIdentifiersRequired": true,
      "description": "Non profit/tax exempt",
      "countryCode": "US"
    }
  ]
}

Retrieves a list of Compensation Types

get

This endpoint retrieves a list of active compensation types available in the database. The response includes details such as the compensation type ID and description. The data is fetched from the database for active compensation types only.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Returns a list of compensation types successfully.
get
GET /api/demographics/v1/References/CompensationTypes HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "id": 1,
      "description": "All Residual"
    }
  ]
}

Retrieves a list of Previous Processors

get

This endpoint retrieves a list of previous processors (competitors) available in the database. The data includes details such as the processor's ID and description (name). The list is returned for use in systems where competitors or previous processors are needed for further processing.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Returns a list of potential previous processors successfully.
get
GET /api/demographics/v1/References/PreviousProcessors HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "id": 1,
      "description": "Bangor Savings Bank"
    }
  ]
}

Retrieves a list of Businesses Under User

get

This endpoint retrieves a list of businesses under the user's hierarchy, which can serve as the parent businesses for a new application. The response contains details about each business such as the DBA (Doing Business As) name and the hierarchy node key. The data can include both merchants and non-merchants (sales agents) This API is authorized and requires the user to have the necessary access roles to fetch the businesses. The request allows filtering by activeOnly to return only active businesses in the hierarchy.

Query parameters
activeOnlybooleanOptionalDefault: false
Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Returns a list of Business under the user that can be parents of the new application.
get
GET /api/demographics/v1/References/Parents HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "hierarchyNodeKey": "6588000001264365",
      "businessDBA": "Schedulicity Inc - ISV"
    }
  ]
}

Search For Businesses Under User

get

This endpoint allows the user to search for businesses within their hierarchy based on a given search term if provided else fetch all businesses available. It retrieves a list of businesses either as merchants or non-merchants (sales agents) depending on the includeSalesAgents parameter. The search is limited to a predefined set of results per page (up to 35,000). The businesses are filtered based on the user's hierarchy node key. The response contains details for each business, including the DBA name and the hierarchy node key.

Query parameters
searchTermstringRequired

Represents a value used to search for Businesses.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Returns a list of Businesses successfully based on the search term.
get
GET /api/demographics/v1/References/SearchParents HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "hierarchyNodeKey": "6588000001264365",
      "businessDBA": "Schedulicity Inc - ISV"
    }
  ]
}

Retrieves a list of Phone Type Codes

get

This endpoint allows the user to fetch a list of phone type codes, which includes details such as the phone type code, description, and display order. The response contains a collection of phone type codes, making it easy for the user to view available phone types.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Returns a list of Phone Type Codes successfully.
get
GET /api/demographics/v1/References/PhoneTypes HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "phoneTypeCodeID": 1,
      "phoneTypeCode": "C",
      "phoneTypeDescription": "Cell",
      "displayOrder": 2
    }
  ]
}

Retrieves a list of Contact Types

get

This endpoint allows the user to retrieve a list of contact types from the system. The data includes various types of contacts that can be used for categorizing or filtering purposes. The contact types are fetched from the database and returned as a collection in the response.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Returns a list of Contact Types successfully
get
GET /api/demographics/v1/References/ContactTypes HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "contactTypeID": 2,
      "contactTypeCode": "GeneralContact",
      "contactTypeDescription": "General Contact"
    }
  ]
}

Retrieves a list of Merchant Acquisition Types

get

This endpoint retrieves a list of Merchant Acquisition Types available in the database. The result includes fields such as MerchantAcquisitionTypeID and MerchantAcquisitionType. These types are used to categorize how a merchant was acquired, providing insight into various acquisition methods or strategies used in the system.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Retrieves the available Merchant Acquisition Types.
get
GET /api/demographics/v1/References/MerchantAcquisitionTypes HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "merchantAcquisitionTypeID": 1,
      "merchantAcquisitionType": "Rep called merchant"
    }
  ]
}

Retrieves a list of Document Categories

get

This endpoint retrieves a list of document categories available in the database. The data includes fields such as DocumentCategoryID, DocumentCategoryName and DocumentCategoryDesc, which provide detailed information about each document category stored in the system. The result is ordered by the DocumentCategoryID in ascending order.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Retrieves available document categories.
get
GET /api/demographics/v1/References/DocumentCategories HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "documentCategoryID": 7,
      "documentCategoryName": "Signed Application",
      "documentCategoryDesc": "Signed Application"
    }
  ]
}

Retrieves a list of Signature Sections

get

This endpoint retrieves a list of Signature Sections available in the database. It allows users to dynamically render or validate signature sections based on the retrieved metadata. Result includes fields such as SignatureSectionTypeId, SignatureSectionTypeName and SignatureSectionTypeDescription.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Retrieves available signature sections
get
GET /api/demographics/v1/References/SignatureSections HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "signatureSectionTypeId": 1,
      "signatureSectionTypeName": "AgreementToSign",
      "signatureSectionTypeDescription": "Indicates agreement to enter signatures electronically."
    }
  ]
}

Retrieves a list of Signature Source Types

get

This endpoint retrieves a list of Signature Source Types available in the database. It enables dynamic handling of signature workflows by providing detailed metadata about available source types. Result includes fields such as SignatureSourceTypeId, SignatureSourceTypeName and SignatureSourceTypeDescription.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Retrieves available Signature Source Types.
get
GET /api/demographics/v1/References/SignatureSourceTypes HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "signatureSourceTypeId": 1,
      "signatureSourceTypeName": "OnlineForm",
      "signatureSourceTypeDescription": "Agreement was provided online through an E-Signature system or by indicating on an approved html form."
    }
  ]
}

Retrieves a list of Site Types

get

This endpoint retrieves a comprehensive list of site types stored in the database. Each site type includes a unique identifier and a description that provides context or explains the purpose of the site type. The site types can be used for categorizing or filtering data in various applications, such as onboarding workflows, or business logic implementations.

Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Retrieves available site types.
get
GET /api/demographics/v1/References/SiteTypes HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "siteTypeID": 1,
      "siteTypeDescription": "Tradeshow"
    }
  ]
}

Get Future Delivery Types

get
Header parameters
exchangeIdstringOptional

Correlation Id for the request

Responses
200
Retrieves available future delivery types.
get
GET /api/demographics/v1/References/FutureDeliveryTypes HTTP/1.1
Host: localhost:5000
Accept: */*
{
  "content": [
    {
      "siteTypeID": 1,
      "siteTypeDescription": "Tradeshow"
    }
  ]
}

Was this helpful?