Syntch Gateway API

<back to all web services

GetMerchants

Administration - Merchant Management
Requires Authentication
Required role:Reseller
The following routes are available for this service:
GET/merchantsGet a list of merchants for the reseller request.
GetMerchants Parameters:
NameParameterData TypeRequiredDescription
MerchantNamequerystringNoFilters to a 'contains' match on the merchant name.
ResellerNamequerystringNoFilters to a 'contains' match on the reseller name.
MerchantIdquerystringNoFilters to an exact match of the merchant id.
PhoneNumberquerystringNoFilters to a merchant by phone number
SortFieldquerystringNoThe field name by which the records will be sorted. Default is 'Merchant Name'.

Allowable Values

  • MerchantName
  • MerchantId
  • ActivationStatus
  • CreationTimestamp
  • MerchantKey
IncludeDeletedqueryboolNoWhether to include deleted records in the response, defaults to false.
SortedRequestDto Parameters:
NameParameterData TypeRequiredDescription
SortDirectionquerystringNoThe direction in which the records will be sorted. Default is 'asc'.

Allowable Values

  • Asc
  • Desc
SortFieldquerystringNoThe field name by which the records will be sorted.
PaginatedRequestDto Parameters:
NameParameterData TypeRequiredDescription
PageSizequeryshortNoThe number of records per page. Default is 20.
PageNumberqueryshortNoThe page number to fetch. Default is 1.
MerchantDetailResults Parameters:
NameParameterData TypeRequiredDescription
MerchantsmodelList<MerchantDetail>NoA collection of merchants.
PaginationmodelPaginationStatsNoPagination stats regarding the result set.
MerchantDetail Parameters:
NameParameterData TypeRequiredDescription
MerchantKeymodelintNoUnique (system-generated) identifier.
ResellerKeymodelintNoParent reseller containing the merchant.
DefaultUserKeymodelint?NoThe default user for the merchant.
PrimaryContactKeymodelint?NoThe primary contact for the merchant.
MerchantNamemodelstringNoThe name of the merchant.
MerchantIdmodelstringNoIdentifier (user-supplied) for the merchant.
AlternateMerchantIdmodelstringNoAlternate identifier (user-supplied) for the merchant.
AutoCloseBatchmodelboolNoEnable/disable auto-closing of the merchant's batch (for terminal capture processor configurations).
AutoCloseBatchHourmodelDateTimeNoHour for auto-close to occur, if enabled.
ForceDuplicatemodelboolNoIf enabled, the gateway will block transactions that appear to duplicate an existing transaction within the same day, and will require a ForceDuplicate flag to override.
RequirePNRefmodelbool?NoIf enabled, the merchant must supply a valid PNRef of an original sale to process a refund, and the refund may not be greater than the amount of the original sale. Disabling this option allows 'unlinked returns'.
IsTestMerchantmodelboolNoWhen enabled, transactions are directed to the processors' test hosts for development and testing purposes.
ActivationStatusmodelActivationStatusNoThe activation status of the merchant.

Allowable Values

  • Pending
  • Active
  • Inactive
  • Deleted
EnableFraudmodelbool?NoIndicated if fraud detection is on or off.
EnableOfflineBatchmodelbool?NoIndicates if offline batched are on or off.
AllowHostedPagemodelbool?NoIndicates is the merchant should have access to the hosted payments page.
AllowEmulatormodelbool?NoIndicates if use of the emulator is allowed.
LimitToDebitmodelbool?No
CollectLevel3modelbool?No
CreationTimestampmodelDateTimeNoThe timestamp of the merchant record's creation.
MerchantConfigurationsmodelMerchantConfigurationsNoA collection of merchant configuration data.
ResellerParentsmodelList<ResellerTreeParent>NoParent reseller (or resellers) of this merchant, and the relationship among them if there are multiple
SelfLinkmodelstringNoA self reference to the merchant.
ResellerLinkmodelstringNoA reference to the reseller of the merchant.
DefaultUserLinkmodelstringNoA reference to the default user of the merchant.
PrimaryContactLinkmodelstringNoA reference to the primary contact of the merchant.
ProcessorProfilesLinkmodelstringNoA reference to the processor profiles of the merchant.
BusinessInformationLinkmodelstringNoA reference to the business information of the merchant.
AddressInformationLinkmodelstringNoA reference to the address information of the merchant.
ActivationStatus Enum:
Pending
Active
Inactive
Deleted
MerchantConfigurations Parameters:
NameParameterData TypeRequiredDescription
SecuritySettingsmodelMerchantSecuritySettingsNoA collection of security settings for the merchant.
AccessSettingsmodelMerchantAccessSettingsNoA collection of access settings for the merchant.
MerchantVirtualTerminalSettingsmodelMerchantVirtualTerminalSettingsNoA collection of virtual terminal settings for the merchant.
MerchantSecuritySettings Parameters:
NameParameterData TypeRequiredDescription
SaleLevelformstringNo
CreditLevelformstringNo
VoidLevelformstringNo
PreAuthLevelformstringNo
ForceAuthLevelformstringNo
AdjustLevelformstringNo
ActivateLevelformstringNo
DeactivateLevelformstringNo
InquireLevelformstringNo
RedeemLevelformstringNo
ReloadLevelformstringNo
RefundLevelformstringNo
ToolsLevelformstringNo
ReportsLevelformstringNo
CurrentBatchLevelformstringNo
BatchesLevelformstringNo
AdminLevelformstringNo
ChangeSecurityLevelformstringNo
SettleLevelformstringNo
RecurringBillingLevelformstringNo
PreferenceLevelformstringNo
FraudLevelformstringNo
MerchantAccessSettings Parameters:
NameParameterData TypeRequiredDescription
BinManagementApiformboolNo
DialInformboolNo
InternetformboolNo
MerchantVirtualTerminalSettings Parameters:
NameParameterData TypeRequiredDescription
AllowForceCaptureformboolNo
VirtualTerminalCreditAccessformboolNo
VirtualTerminalLevel3AmountformboolNo
VirtualTerminalConvenienceAmountformboolNo
VirtualTerminalConvenienceAmountPercentageformboolNo
VirtualTerminalConvenienceLabelformstringNo
virtualTerminalConvenienceAmountPercentageDefaultformdoubleNo
VirtualTerminalDutyAmountformboolNo
VirtualTerminalTaxAmountformboolNo
VirtualTerminalTipAmountformboolNo
ImageCaptureformboolNo
ReceiptCaptureformboolNo
AutoSettleMerchantEmailformboolNo
InvoiceDuplicateformboolNo
VirtualTerminalCommercialCardformboolNo
VirtualTerminalShippingAmountformboolNo
VirtualTerminalAllowRepeatformboolNo
RequireInvoiceformboolNo
RequireNameOnCardformboolNo
RequireLevelIIformboolNo
VirtualTerminalRecurringBillingformboolNo
VirtualTerminalEmailReceiptsformboolNo
VirtualTerminalPrintTwoReceiptsformboolNo
VirtualTerminalInvNumformboolNo
VirtualTerminalPONumformboolNo
VirtualTerminalCustomerIDformboolNo
VirtualTerminalCustomerformboolNo
VirtualTerminalStreetformboolNo
VirtualTerminalCityformboolNo
VirtualTerminalStateformboolNo
VirtualTerminalZipformboolNo
VirtualTerminalPhoneformboolNo
VirtualTerminalEmailformboolNo
VirtualTerminalAutoTaxAmountformfloatNo
VirtualTerminalAutoCalcTaxformboolNo
EnableFraudformboolNo
EnableOfflineBatchformboolNo
EnableHostedPageformboolNo
EnableEmulatorformboolNo
LimitToDebitformboolNo
CollectLevel3formboolNo
AuthEditformboolNo
IsMerchantBillingAccountformboolNo
ApplyLevel2DefaultsToApiformboolNo
RequireShippingformboolNo
RequireZipCodeformboolNo
EnableGsaBinCheckformboolNo
ResellerOnlyCustomFieldsMenuformboolNo
ResellerOnlyHostedPaymentPageMenuformboolNo
ResellerOnlyOrderDataDefaultsMenuformboolNo
ResellerOnlyEmulatorMenuformboolNo
ResellerOnlyFraudControlSettingsMenuformboolNo
ResellerOnlyFraudControlHeldLogMenusformboolNo
CardVerificationformMerchantCardVerificationSettingsNo
MerchantCardVerificationSettings Parameters:
NameParameterData TypeRequiredDescription
AVAddNotVerifiableformboolNo
AVInvalidAddZipformboolNo
AVZipOnlyformboolNo
AVNoMatchformboolNo
AVIssuerUnavailformboolNo
AVVerUnavailformboolNo
AVAddOnlyformboolNo
AVNotRequestedformboolNo
AVUnregCodeformboolNo
AVServUnsupportedformboolNo
AVExactMatchformboolNo
AVNoDataformboolNo
AVAddNotVerifiableGlobalformboolNo
CVNotPresentformboolNo
CVNoDataformboolNo
CVNotProcessedformboolNo
CVNoDataFromIssuerformboolNo
CVMatchformboolNo
CVUnregCodeformboolNo
CVNoMatchformboolNo
ResellerTreeParent Parameters:
NameParameterData TypeRequiredDescription
ResellerKeyformintNo
ResellerNameformstringNo
LevelformintNo
Parentformint?No
Childformint?No
PaginationStats Parameters:
NameParameterData TypeRequiredDescription
CurrentPageNumberformintNo
PageSizeformintNo
TotalRecordCountformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /merchants HTTP/1.1 
Host: syntch.simpay.net 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Merchants":[{"MerchantKey":0,"ResellerKey":0,"DefaultUserKey":0,"PrimaryContactKey":0,"MerchantName":"String","MerchantId":"String","AlternateMerchantId":"String","AutoCloseBatch":false,"AutoCloseBatchHour":"0001-01-01T00:00:00.0000000","ForceDuplicate":false,"RequirePNRef":false,"IsTestMerchant":false,"ActivationStatus":"Pending","EnableFraud":false,"EnableOfflineBatch":false,"AllowHostedPage":false,"AllowEmulator":false,"LimitToDebit":false,"CollectLevel3":false,"CreationTimestamp":"0001-01-01T00:00:00.0000000","MerchantConfigurations":{"SecuritySettings":{"SaleLevel":"String","CreditLevel":"String","VoidLevel":"String","PreAuthLevel":"String","ForceAuthLevel":"String","AdjustLevel":"String","ActivateLevel":"String","DeactivateLevel":"String","InquireLevel":"String","RedeemLevel":"String","ReloadLevel":"String","RefundLevel":"String","ToolsLevel":"String","ReportsLevel":"String","CurrentBatchLevel":"String","BatchesLevel":"String","AdminLevel":"String","ChangeSecurityLevel":"String","SettleLevel":"String","RecurringBillingLevel":"String","PreferenceLevel":"String","FraudLevel":"String"},"AccessSettings":{"BinManagementApi":false,"DialIn":false,"Internet":false},"MerchantVirtualTerminalSettings":{"AllowForceCapture":false,"VirtualTerminalCreditAccess":false,"VirtualTerminalLevel3Amount":false,"VirtualTerminalConvenienceAmount":false,"VirtualTerminalConvenienceAmountPercentage":false,"VirtualTerminalConvenienceLabel":"String","virtualTerminalConvenienceAmountPercentageDefault":0,"VirtualTerminalDutyAmount":false,"VirtualTerminalTaxAmount":false,"VirtualTerminalTipAmount":false,"ImageCapture":false,"ReceiptCapture":false,"AutoSettleMerchantEmail":false,"InvoiceDuplicate":false,"VirtualTerminalCommercialCard":false,"VirtualTerminalShippingAmount":false,"VirtualTerminalAllowRepeat":false,"RequireInvoice":false,"RequireNameOnCard":false,"RequireLevelII":false,"VirtualTerminalRecurringBilling":false,"VirtualTerminalEmailReceipts":false,"VirtualTerminalPrintTwoReceipts":false,"VirtualTerminalInvNum":false,"VirtualTerminalPONum":false,"VirtualTerminalCustomerID":false,"VirtualTerminalCustomer":false,"VirtualTerminalStreet":false,"VirtualTerminalCity":false,"VirtualTerminalState":false,"VirtualTerminalZip":false,"VirtualTerminalPhone":false,"VirtualTerminalEmail":false,"VirtualTerminalAutoTaxAmount":0,"VirtualTerminalAutoCalcTax":false,"EnableFraud":false,"EnableOfflineBatch":false,"EnableHostedPage":false,"EnableEmulator":false,"LimitToDebit":false,"CollectLevel3":false,"AuthEdit":false,"IsMerchantBillingAccount":false,"ApplyLevel2DefaultsToApi":false,"RequireShipping":false,"RequireZipCode":false,"EnableGsaBinCheck":false,"ResellerOnlyCustomFieldsMenu":false,"ResellerOnlyHostedPaymentPageMenu":false,"ResellerOnlyOrderDataDefaultsMenu":false,"ResellerOnlyEmulatorMenu":false,"ResellerOnlyFraudControlSettingsMenu":false,"ResellerOnlyFraudControlHeldLogMenus":false,"CardVerification":{"AVAddNotVerifiable":false,"AVInvalidAddZip":false,"AVZipOnly":false,"AVNoMatch":false,"AVIssuerUnavail":false,"AVVerUnavail":false,"AVAddOnly":false,"AVNotRequested":false,"AVUnregCode":false,"AVServUnsupported":false,"AVExactMatch":false,"AVNoData":false,"AVAddNotVerifiableGlobal":false,"CVNotPresent":false,"CVNoData":false,"CVNotProcessed":false,"CVNoDataFromIssuer":false,"CVMatch":false,"CVUnregCode":false,"CVNoMatch":false}}},"ResellerParents":[{"ResellerKey":0,"ResellerName":"String","Level":0,"Parent":0,"Child":0}],"SelfLink":"/merchants/0","ResellerLink":"/resellers/0","DefaultUserLink":"/users/0","PrimaryContactLink":"/contacts/0","ProcessorProfilesLink":"/merchants/0/processor-profiles","BusinessInformationLink":"/merchants/0/business-informations","AddressInformationLink":"/merchants/0/addresses"}],"Pagination":{"CurrentPageNumber":0,"PageSize":0,"TotalRecordCount":0}}