List of merchants

Use the Merchants API to retrieve information details on a merchant account set up on FlexFactor.




❗️

Prerequisites to invoke this API:

Authenticate and send the bearer token for this call.


Request

Details

HTTP MethodGET
Endpoint
* Sandbox
https://api-sandbox.flexfactor.io/v1/merchants
Endpoint
* Production
https://api.flexfactor.io/v1/merchants
AuthenticationBearer Token

Body

This API doesn't require body parameters.



Response

General response parameters

accountIdstringUnique identifier for the account.
idstringUnique identifier of the merchant (use as the {mid} path parameter).
companyNamestringName of the company.
legalEntityNamestringLegal name of the entity.
dbastringDoing Business As (DBA) name of the company.
typestringType of the business entity, E.g.: Sole Partnership.
websitestringCompany's website URL.
descriptionstringDescription of the company.
specialTermsstringSpecial terms related to the merchant account.
mccstringMerchant Category Code.
industrystringIndustry type, E.g.: 'Publishing'
statusstringStatus of the account: ACTIVE or INACTIVE.
statusNamestringName of the status, E.g.: 'ACTIVE'
customerSupportInformationobjectContains customer support details like name, email, phone, and support link, plus an optional note and tags.
createdOndatetimeTimestamp of when the account was created.
primaryContactobjectContains merchant's primary contact's first name, last name, email, and phone, plus userCreated and confirmedUser flags and an optional note and tags.
developerContactobjectContains developer contact information, plus an optional note and tags.
sitesarray of objectsContains information about sites associated with the merchant.
timezoneintegerTimezone of the merchant, represented as an offset from UTC in minutes.
languagestringLanguage preference of the merchant.
timezoneNamestringName of the timezone, E.g.: "Pacific/Pitcairn".
externalMerchantIdentifierstringYour own identifier for the merchant, if one was supplied at onboarding. Optional
partnerResellerReferencestringReference of the partner or reseller that onboarded the merchant. Optional

Customer Support Information

customerSupportNamestringName of the customer support contact.
customerSupportEmailstringEmail address for customer support.
customerSupportPhonestringPhone number for customer support.
customerSupportLinkstringURL to customer support webpage.
notestringFree-text note. Optional
tagsobjectTags grouped by key. Optional

Primary Contact

firstNamestringFirst name of the merchant's primary contact.
lastNamestringLast name of the merchant's primary contact.
emailstringEmail address of the merchant's primary contact.
phonestringPhone number of the merchant's primary contact.
userCreatedbooleantrue when a portal user exists for this contact.
confirmedUserbooleantrue when that portal user has confirmed their account.
notestringFree-text note. Optional
tagsobjectTags grouped by key. Optional

Developer Contact

developerFirstNamestringFirst name of the developer contact.
developerLastNamestringLast name of the developer contact.
developerEmailstringEmail address of the developer contact.
developerPhonestringPhone number of the developer contact.
notestringFree-text note. Optional
tagsobjectTags grouped by key. Optional

Sites

idstringrequiredUnique identifier for the site.
namestringrequiredName of the site.
descriptorstringrequiredDescriptor of the site.
descriptorCitystringoptionalDeprecated. Use location.city.
locationobjectoptionalLocation shown with the descriptor: country, state, city, addressLine, postal.
useLocationDescriptorbooleanoptionaltrue when the location is appended to the descriptor.
statestringoptionalState of the site.
customerSupportNamestringrequiredName of the site-specific customer support contact.
customerSupportEmailstringrequiredEmail address for site-specific customer support.
customerSupportPhonestringrequiredPhone number for site-specific customer support.
customerSupportLinkstringrequiredURL to site-specific customer support webpage.
whitelistedUrlsarray of stringsoptionalList of whitelisted URLs for the site.
tagsarray of stringsoptionalTags associated with the site.

A 'Site' is a unique online entity within a merchant's account. Key attributes include:

  • multiple URLs: Each site can be linked to several web addresses, accommodating diverse online facets of a business.
  • multiple Tags: Sites can be labeled with various tags for easy categorization and identification.
  • unique FlexFactor Descriptor: Each site is distinguished by a specific FlexFactor descriptor, ensuring unique identification within the system.
  • dedicated Customer Support Info: Sites have individual customer support details, including contact name, email, phone number, and a support link, enabling tailored customer service for each site.


Payload examples

Request

curl --request GET \
     --url https://api-sandbox.flexfactor.io/v1/merchants \
     --header 'Authorization: Bearer abc123def456' \  //replace with bearer returned by /oauth2
     --header 'accept: application/json'

Response

{
  "accountId": "12345678-90ab-cdef-1234-567890abcdef",
  "id": "abcdef12-3456-7890-abcd-ef1234567890",
  "companyName": "Example Corporation",
  "legalEntityName": "Example Corporation Legal",
  "dba": "Example Corp",
  "type": "Limited Liability Company",
  "website": "https://example-website.com/",
  "description": "A sample description of Example Corporation.",
  "specialTerms": "Special terms and conditions apply.",
  "mcc": "1234",
  "industry": "Software and IT Services",
  "status": "INACTIVE",
  "statusName": "INACTIVE",
  "customerSupportInformation": {
    "customerSupportName": "Example Support",
    "customerSupportEmail": "[email protected]",
    "customerSupportPhone": "+12345678901",
    "customerSupportLink": "https://support.example.com",
    "note": null,
    "tags": null
  },
  "createdOn": "2023-01-01T00:00:00.000000Z",
  "primaryContact": {
    "firstName": "John",
    "lastName": "Doe",
    "email": "[email protected]",
    "phone": "0123456789",
    "userCreated": true,
    "confirmedUser": true,
    "note": null,
    "tags": null
  },
  "developerContact": {
    "developerFirstName": "Jane",
    "developerLastName": "Smith",
    "developerEmail": "[email protected]",
    "developerPhone": "0987654321",
    "note": null,
    "tags": null
  },
  "sites": [
    {
      "id": "ab12cd34-ef56-gh78-ij90-kl12mn34op56",
      "name": "Example Site",
      "descriptor": "ExampleDescriptor",
      "descriptorCity": "Example City",
      "location": {
        "country": "US",
        "state": "CA",
        "city": "Example City",
        "addressLine": "123 Main St.",
        "postal": "94111"
      },
      "useLocationDescriptor": true,
      "customerSupportName": "Alice",
      "customerSupportEmail": "[email protected]",
      "customerSupportPhone": "+10987654321",
      "customerSupportLink": "https://support.examplesite.com",
      "whitelistedUrls": ["https://www.examplesite.com"],
      "tags": ["Example", "Sample", "Demo"],
      "state": "CA"
    }
  ],
  "timezone": -60,
  "language": "en",
  "timezoneName": "Atlantic/Azores",
  "externalMerchantIdentifier": null,
  "partnerResellerReference": null
}

Did this page help you?