Syntch Gateway API

<back to all web services

PostMerchant

Administration - Merchant Management
Requires Authentication
Required role:Reseller
The following routes are available for this service:
POST/merchantsCreates a new merchant.
PostMerchant Parameters:
NameParameterData TypeRequiredDescription
ResellerKeymodelint?NoThe reseller key, if supplied must the in the reseller's hierarchy.
MerchantNamemodelstringNoThe merchant name.
MerchantIdmodelstringNoThe merchant ID.
AlternateMerchantIdmodelstringNoThe alternate merchant ID.
AutoCloseBatchmodelboolNoWhether to auto-close batches, default is true.
AutoCloseBatchTimestampmodelDateTimeNoWhen to auto-close batches, default is 10:00 PM.
ForceDuplicatemodelboolNoWhether to force duplicates, default is true.
RequirePNRefmodelbool?NoWhether to require PnRef.
IsTestMerchantmodelboolNoWhether this is a test merchant, default is false.
DefaultUserIsApiUsermodelboolNoIf a default user is to be created, determines if it should be an API user. Default is false.
ActivationStatusmodelstringYesThe activation status.

Allowable Values

  • Pending
  • Active
PrimaryContactmodelContactNoThe primary contact for the merchant.
BusinessInformationmodelBusinessInformationNoThe business information for the merchant.
DefaultUsermodelGatewayUserNoThe default user for the merchant.
AccessSettingsmodelMerchantAccessSettingsNoAccess settings for the merchant.
VirtualTerminalSettingsmodelMerchantVirtualTerminalSettingsNoVirtual terminal settings for the merchant.
FraudSettingsmodelMerchantFraudSettingsNoFraud settings for the merchant.
BillingSettingsmodelMerchantBillingSettingsNoMerchant Billing settings for the merchant.
Contact Parameters:
NameParameterData TypeRequiredDescription
LastNamemodelstringNoThe last name, max 50 chars
FirstNamemodelstringNoThe first name, max 50 chars
JobTitlemodelstringNoThe job title, max 50 chars
DepartmentNamemodelstringNoThe department name, max 50 chars
EmailAddressmodelstringNoThe e-mail address, max 100 chars
DaytimeTelephoneNumbermodelstringNoThe daytime telephone number, max 25 chars
NighttimeTelephoneNumbermodelstringNoThe nighttime telephone number, max 25 chars
FaxNumbermodelstringNoThe fax number, max 25 chars
MobileTelephoneNumbermodelstringNoThe mobile telephone number, max 25 chars
BillingAddressmodelAddressNoBilling address for the primary contact.
ShippingAddressmodelAddressNoShipping address for the primary contact
Address Parameters:
NameParameterData TypeRequiredDescription
StreetAddress1modelstringYesThe street address, max 50 chars
StreetAddress2modelstringNoThe street address 2, max 50 chars
StreetAddress3modelstringNoThe street address 3, max 50 chars
CitymodelstringNoThe city, max 50 chars
StateOrProvinceCodemodelstringYesThe CHAR-2 USA state and CAN province codes

Allowable Values

  • AK
  • AL
  • AR
  • AZ
  • CA
  • CO
  • CT
  • DC
  • DE
  • FL
  • GA
  • HI
  • IA
  • ID
  • IL
  • IN
  • KS
  • KY
  • LA
  • MA
  • MD
  • ME
  • MI
  • MN
  • MO
  • MS
  • MT
  • NC
  • ND
  • NE
  • NH
  • NJ
  • NM
  • NV
  • NY
  • OH
  • OK
  • OR
  • PA
  • RI
  • SC
  • SD
  • TN
  • TX
  • UT
  • VA
  • VT
  • WA
  • WI
  • WV
  • WY
  • AB
  • BC
  • MB
  • NB
  • NL
  • NS
  • NT
  • NU
  • ON
  • PE
  • QC
  • SK
  • YT
PostalCodemodelstringYesThe postal code, max 30 chars
CountryCodemodelstringYesThe ISO Alpha-3 USA or CAN country codes

Allowable Values

  • USA
  • CAN
BusinessInformation Parameters:
NameParameterData TypeRequiredDescription
DbaNamemodelstringNoThe doing business as name, max 50 chars
TelephoneNumbermodelstringNoThe telephone number, max 13 chars
AddressmodelAddressYesThe primary contact info.
GatewayUser Parameters:
NameParameterData TypeRequiredDescription
UserNameformstringNo
PhoneNumberformstringNo
IdformintNo
DeleterUserIdformlong?No
CreatorUserIdformlongNo
LastModifierUserIdformlong?No
IsLockoutEnabledformboolNo
RolesformICollection<GatewayUserRole<Int64>>No
ClaimsformICollection<UserClaim>No
LoginsformICollection<GatewayUserLogin<Int64>>No
IsPhoneNumberConfirmedformboolNo
SecurityStampformstringNo
IsTwoFactorEnabledformboolNo
IsDeletedformboolNo
IsEmailConfirmedformboolNo
AccessFailedCountformintNo
LockoutEndDateUtcformDateTime?No
CreationTimeformDateTimeNo
LastModificationTimeformDateTime?No
DeletionTimeformDateTime?No
FirstNameformstringNo
EmailConfirmationCodeformstringNo
PasswordformstringNo
LastNameformstringNo
IsActiveformboolNo
EmailAddressformstringNo
TenantIdformint?No
AuthenticationSourceformstringNo
PasswordResetCodeformstringNo
LastLoginTimeformDateTime?No
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
CountryformstringNo
TimezoneformstringNo
ShouldChangePasswordOnNextLoginformboolNo
UserClaim Parameters:
NameParameterData TypeRequiredDescription
ClaimTypeformstringNo
ClaimValueformstringNo
CreatorIdformintNo
TenantIdformintNo
CreateTimeformDateTimeNo
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
MerchantFraudSettings Parameters:
NameParameterData TypeRequiredDescription
DailyVelocitySettingsformDailyVelocityFraudSettingsNo
IpFilteringSettingsformIpFilteringFraudSettingsNo
AmountSettingsformAmountFraudSettingsNo
HourlyVelocitySettingsformHourlyVelocityFraudSettingsNo
TransactionIpVelocitySettingsformTransactionIpVelocityFraudSettingsNo
DailyVelocityFraudSettings Parameters:
NameParameterData TypeRequiredDescription
EnabledformboolNo
TransactionCountformintNo
ActionformFraudActionNo
EmailEnabledformboolNo
EmailAddressesformstringNo
FraudAction Enum:
Audit
AuditAndHold
Decline
IpFilteringFraudSettings Parameters:
NameParameterData TypeRequiredDescription
EnabledformboolNo
AllowedCountriesformAllowedCountriesNo
BlockedIpAddressesformstringNo
ActionformFraudActionNo
EmailEnabledformboolNo
EmailAddressesformstringNo
AllowedCountries Enum:
US
CA
AmountFraudSettings Parameters:
NameParameterData TypeRequiredDescription
EnabledformboolNo
LowerLimitformdecimalNo
UpperLimitformdecimalNo
ActionformFraudActionNo
EmailEnabledformboolNo
EmailAddressesformstringNo
HourlyVelocityFraudSettings Parameters:
NameParameterData TypeRequiredDescription
EnabledformboolNo
TransactionCountformintNo
ActionformFraudActionNo
EmailEnabledformboolNo
EmailAddressesformstringNo
TransactionIpVelocityFraudSettings Parameters:
NameParameterData TypeRequiredDescription
EnabledformboolNo
TransactionCountPerHourformintNo
ExcludedIpAddressesformstringNo
ActionformFraudActionNo
EmailEnabledformboolNo
EmailAddressesformstringNo
MerchantBillingSettings Parameters:
NameParameterData TypeRequiredDescription
ContractKeyformintNo
PricePlanKeyformintNo
HttpResult Parameters:
NameParameterData TypeRequiredDescription
ResponseTextformstringNo
FileInfoformFileInfoNo
ContentTypeformstringNo
HeadersformDictionary<string, string>No
CookiesformList<Cookie>No
ETagformstringNo
AgeformTimeSpan?No
MaxAgeformTimeSpan?No
ExpiresformDateTime?No
LastModifiedformDateTime?No
CacheControlformCacheControlNo
ResultScopeformFunc<IDisposable>No
AllowsPartialResponseformboolNo
OptionsformIDictionary<string, string>No
StatusformintNo
StatusCodeformHttpStatusCodeNo
StatusDescriptionformstringNo
ResponseformObjectNo
ResponseFilterformIContentTypeWriterNo
RequestContextformIRequestNo
ViewformstringNo
TemplateformstringNo
PaddingLengthformintNo
IsPartialRequestformboolNo
CacheControl Enum:
NameValue
None0
Public1
Private2
MustRevalidate4
NoCache8
NoStore16
NoTransform32
ProxyRevalidate64
IRequest Parameters:
NameParameterData TypeRequiredDescription
OriginalRequestformObjectNo
ResponseformIResponseNo
OperationNameformstringNo
VerbformstringNo
RequestAttributesformRequestAttributesNo
RequestPreferencesformIRequestPreferencesNo
DtoformObjectNo
ContentTypeformstringNo
IsLocalformboolNo
UserAgentformstringNo
CookiesformIDictionary<string, Cookie>No
ResponseContentTypeformstringNo
HasExplicitResponseContentTypeformboolNo
ItemsformDictionary<string, Object>No
HeadersformNameValueCollectionNo
QueryStringformNameValueCollectionNo
FormDataformNameValueCollectionNo
UseBufferedStreamformboolNo
RawUrlformstringNo
AbsoluteUriformstringNo
UserHostAddressformstringNo
RemoteIpformstringNo
AuthorizationformstringNo
IsSecureConnectionformboolNo
AcceptTypesformstring[]No
PathInfoformstringNo
OriginalPathInfoformstringNo
ContentLengthformlongNo
FilesformIHttpFile[]No
UrlReferrerformUriNo
IResponse Parameters:
NameParameterData TypeRequiredDescription
OriginalResponseformObjectNo
RequestformIRequestNo
StatusCodeformintNo
StatusDescriptionformstringNo
ContentTypeformstringNo
DtoformObjectNo
UseBufferedStreamformboolNo
IsClosedformboolNo
KeepAliveformboolNo
HasStartedformboolNo
ItemsformDictionary<string, Object>No
RequestAttributes Enum:
NameValue
None0
Localhost1
LocalSubnet2
External4
Secure8
InSecure16
AnySecurityMode24
HttpHead32
HttpGet64
HttpPost128
HttpPut256
HttpDelete512
HttpPatch1024
HttpOptions2048
HttpOther4096
AnyHttpMethod8160
OneWay8192
Reply16384
AnyCallStyle24576
Soap1132768
Soap1265536
Xml131072
Json262144
Jsv524288
ProtoBuf1048576
Csv2097152
Html4194304
Wire8388608
MsgPack16777216
FormatOther33554432
AnyFormat67076096
Http67108864
MessageQueue134217728
Tcp268435456
Grpc536870912
EndpointOther1073741824
AnyEndpoint2080374784
InProcess-2147483648
InternalNetworkAccess-2147483645
AnyNetworkAccessType-2147483641
Any-1
IRequestPreferences Parameters:
NameParameterData TypeRequiredDescription
AcceptsGzipformboolNo
AcceptsDeflateformboolNo
IHttpFile Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
FileNameformstringNo
ContentLengthformlongNo
ContentTypeformstringNo

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.

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

{"ResellerKey":0,"MerchantName":"String","MerchantId":"String","AlternateMerchantId":"String","AutoCloseBatch":false,"AutoCloseBatchTimestamp":"0001-01-01T00:00:00.0000000","ForceDuplicate":false,"RequirePNRef":false,"IsTestMerchant":false,"DefaultUserIsApiUser":false,"ActivationStatus":"String","PrimaryContact":{"LastName":"String","FirstName":"String","JobTitle":"String","DepartmentName":"String","EmailAddress":"String","DaytimeTelephoneNumber":"String","NighttimeTelephoneNumber":"String","FaxNumber":"String","MobileTelephoneNumber":"String","BillingAddress":{"StreetAddress1":"String","StreetAddress2":"String","StreetAddress3":"String","City":"String","StateOrProvinceCode":"String","PostalCode":"String","CountryCode":"String"},"ShippingAddress":{"StreetAddress1":"String","StreetAddress2":"String","StreetAddress3":"String","City":"String","StateOrProvinceCode":"String","PostalCode":"String","CountryCode":"String"}},"BusinessInformation":{"DbaName":"String","TelephoneNumber":"String","Address":{"StreetAddress1":"String","StreetAddress2":"String","StreetAddress3":"String","City":"String","StateOrProvinceCode":"String","PostalCode":"String","CountryCode":"String"}},"DefaultUser":{"UserName":"String","PhoneNumber":"String","Id":0,"DeleterUserId":0,"CreatorUserId":0,"LastModifierUserId":0,"IsLockoutEnabled":false,"Roles":[],"Logins":[],"IsPhoneNumberConfirmed":false,"SecurityStamp":"String","IsTwoFactorEnabled":false,"IsDeleted":false,"IsEmailConfirmed":false,"AccessFailedCount":0,"LockoutEndDateUtc":"0001-01-01T00:00:00.0000000","CreationTime":"0001-01-01T00:00:00.0000000","LastModificationTime":"0001-01-01T00:00:00.0000000","DeletionTime":"0001-01-01T00:00:00.0000000","FirstName":"String","EmailConfirmationCode":"String","Password":"String","LastName":"String","IsActive":false,"EmailAddress":"String","TenantId":0,"AuthenticationSource":"String","PasswordResetCode":"String","LastLoginTime":"0001-01-01T00:00:00.0000000","Address1":"String","Address2":"String","City":"String","State":"String","Zip":"String","Country":"String","Timezone":"String","ShouldChangePasswordOnNextLogin":false},"AccessSettings":{"BinManagementApi":false,"DialIn":false,"Internet":false},"VirtualTerminalSettings":{"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}},"FraudSettings":{"DailyVelocitySettings":{"Enabled":false,"TransactionCount":0,"Action":"Audit","EmailEnabled":false,"EmailAddresses":"String"},"IpFilteringSettings":{"Enabled":false,"AllowedCountries":"US","BlockedIpAddresses":"String","Action":"Audit","EmailEnabled":false,"EmailAddresses":"String"},"AmountSettings":{"Enabled":false,"LowerLimit":0,"UpperLimit":0,"Action":"Audit","EmailEnabled":false,"EmailAddresses":"String"},"HourlyVelocitySettings":{"Enabled":false,"TransactionCount":0,"Action":"Audit","EmailEnabled":false,"EmailAddresses":"String"},"TransactionIpVelocitySettings":{"Enabled":false,"TransactionCountPerHour":0,"ExcludedIpAddresses":"String","Action":"Audit","EmailEnabled":false,"EmailAddresses":"String"}},"BillingSettings":{"ContractKey":0,"PricePlanKey":0}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{}