/api/v1/merchants/tsys-direct/search

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Search Merchants

Searches the TSYS Direct merchant database using one or more filter criteria and returns a paginated list of matching merchant records. All query parameters are optional — providing more filters narrows results. Each result includes the merchant's internal profile ID, assigned MID, DBA name, current boarding status, and office affiliation. Use this endpoint for operational management, customer support lookups, and compliance monitoring.

Endpoint

GET /api/v1/merchants/tsys-direct/search

Authentication

Basic HTTP Authentication required.
Encode username:password in Base64 and pass in the Authorization header:

Authorization: Basic {base64(username:password)}

When to use

Use this endpoint when you need to find a specific merchant by MID, DBA, email, or phone, or when building dashboards that list merchants filtered by status or MCC. It supports pagination for large result sets. ISO administrators and support teams use this to look up merchant records before performing actions like boarding status checks, underwriting reviews, or account updates.

Query Parameters

ParameterTypeRequiredDescription
midstringNoMerchant Identification Number assigned by the processor
merchantProfileIdinteger (int32)NoInternal Netevia HQ merchant profile ID
dbastringNoDoing Business As name (partial match supported)
emailstringNoEmail address associated with the merchant account
zipCodestringNoZIP code of the merchant's business location
phonestringNoContact phone number of the merchant
statusstring (enum)NoFilter by boarding/processing status — see full enum list below
mccstringNoMerchant Category Code (SIC code)
pageNumberinteger (int32)NoPage number for paginated results (default: 1)
pageSizeinteger (int32)NoNumber of records per page (default: 10)

status enum values: NotSubmitted, Approved, PreApproved, Declined, Deactivated, WithDrawn, Closed, Pending, PendingPreUw, InCredit, ConditionallyApproved, RequestChanges, PreUnderwriting, Prospect, Draft, Received, UnderReview, PendingReview, PendingReviewPreUw, Cancelled, T2UnderReview, T2Approved, T2Declined, T2Any, T2Closed, T2Cancelled, Underwriting, MPAInProcess, MPACancelled, MPADeclined, MPADeleted, MPAError, MPABoarded, CRPOSEquipment, New, ElavonSigned, ElavonSubmitted, ElavonProcessorReceived

Response

200 OK

FieldTypeDescription
pageNumberintegerCurrent page number returned
pageSizeintegerNumber of records per page
totalCountintegerTotal number of merchants matching the search criteria
itemsarray of MerchantSearchResultList of merchant records for the current page
items[].merchantProfileIdintegerInternal Netevia HQ merchant profile ID
items[].midstringAssigned Merchant Identification Number (null if not yet boarded)
items[].dbastringDoing Business As name
items[].statusstring (enum)Current boarding/processing status
items[].officeTitlestringName of the ISO office or branch managing this merchant
requestIdintegerEcho of the internal request ID
successbooleantrue if the call succeeded
errorstringError message if success is false
validationErrorsarrayField-level validation errors if any
{
  "pageNumber": 1,
  "pageSize": 20,
  "totalCount": 3,
  "items": [
    {
      "merchantProfileId": 30912,
      "mid": "450001234567",
      "dba": "The Corner Bakery",
      "status": "Approved",
      "officeTitle": "Phoenix Regional Office"
    },
    {
      "merchantProfileId": 30944,
      "mid": null,
      "dba": "Corner Bakery Downtown",
      "status": "UnderReview",
      "officeTitle": "Phoenix Regional Office"
    },
    {
      "merchantProfileId": 31002,
      "mid": null,
      "dba": "Cornerstone Catering",
      "status": "Draft",
      "officeTitle": "Scottsdale Branch"
    }
  ],
  "requestId": 87450,
  "success": true,
  "error": null,
  "validationErrors": []
}

Error Codes

CodeWhen it happens
400A query parameter has an invalid format (e.g., non-integer merchantProfileId, unrecognized status enum value)
401Invalid or missing Basic Auth credentials
403User does not have permission to search merchants in the requested scope
500Internal server error

Common Mistakes

  • Providing no filter parameters at all — the endpoint will return all merchants accessible to the authenticated user, which may be a very large dataset and slow to return. Always supply at least one filter.
  • Using a partial MID string when mid requires an exact match — verify with the full MID.
  • Sending abbreviated state names or free-text in the status field — it must exactly match one of the documented enum values, including capitalization.
  • Not accounting for pagination — if totalCount exceeds pageSize, increment pageNumber to retrieve subsequent pages.
  • Confusing merchantProfileId (internal Netevia ID) with mid (processor-assigned MID) — they are different identifiers.

Related Endpoints

  • GET /api/v1/merchant/status — Retrieve the detailed boarding status for a specific merchant by profile ID
  • GET /api/v2/merchant/info — Get full merchant profile configuration data
  • GET /api/v2/merchant/fees — Retrieve the fee schedule for a specific merchant

Example

curl -X GET "https://hq.staging.netevia.dev/api/v1/merchants/tsys-direct/search?dba=Corner+Bakery&status=Approved&pageNumber=1&pageSize=20" \
  -H "Authorization: Basic $(echo -n 'username:password' | base64)" \
  -H "Accept: application/json"
Query Params
string
int32
string
string
string
string
string
enum
string
int32
int32
Headers
string
enum
Defaults to application/json

Generated from available response content types

Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json
pageNumber
pageSize
totalCount
items
success