Syntch Gateway API

<back to all web services

GetMerchant

Administration - Merchant Management
Requires Authentication
Requires any of the roles:Reseller, Merchant
The following routes are available for this service:
GET/merchants/{merchantKey}Gets a single merchant entity matching the merchant key provided.
GetMerchant Parameters:
NameParameterData TypeRequiredDescription
MerchantKeypathintegerYesThe key of the merchant to fetch.
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

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

HTTP + JSV

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

GET /merchants/{merchantKey} HTTP/1.1 
Host: syntch.simpay.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	MerchantKey: 0,
	ResellerKey: 0,
	DefaultUserKey: 0,
	PrimaryContactKey: 0,
	MerchantName: String,
	MerchantId: String,
	AlternateMerchantId: String,
	AutoCloseBatch: False,
	AutoCloseBatchHour: 0001-01-01,
	ForceDuplicate: False,
	RequirePNRef: False,
	IsTestMerchant: False,
	ActivationStatus: Pending,
	EnableFraud: False,
	EnableOfflineBatch: False,
	AllowHostedPage: False,
	AllowEmulator: False,
	LimitToDebit: False,
	CollectLevel3: False,
	CreationTimestamp: 0001-01-01,
	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
}