Syntch Gateway API

<back to all web services

GetVirtualTerminalSettings

Merchant Virtual Terminal Configuration Settings (BETA)
Requires Authentication
Required role:Merchant
The following routes are available for this service:
GET/merchants/{merchantKey}/vt-configurationsBETA VERSION (Subject to change). Gets virtual terminal configuration settings for the merchant key provided.
GetVirtualTerminalSettings Parameters:
NameParameterData TypeRequiredDescription
MerchantKeypathintegerYesThe key of the merchant.
IncludeAllCustomersqueryboolNoInclude all non-deleted customers or those in active state only.
VirtualTerminalSettings Parameters:
NameParameterData TypeRequiredDescription
DisplaySettingsformDisplaySettingsNo
CustomersformList<Customer>No
RegistersformList<Register>No
CustomFieldsformList<CustomField>No
DisplaySettings Parameters:
NameParameterData TypeRequiredDescription
DisplayShippingAmountformboolNo
DisplayConvenienceAmountformboolNo
DisplayConvenienceAmountPercentageformboolNo
DisplayDutyAmountformboolNo
DisplayTipAmountformboolNo
DisplayInvoiceNumberformboolNo
DisplayPurchaseOrderNumberformboolNo
DisplayCustomerNumberformboolNo
DisplayCustomerSelectformboolNo
DisplayPurchaseLineItemsformboolNo
DisplayTaxAmountformboolNo
DisplayForceDuplicateformboolNo
DisplayBillingZipCodeformboolNo
DisplayBillingCityStreetStateformboolNo
DisplayBillingPhoneformboolNo
DisplayBillingEmailformboolNo
RequireShippingAmountformboolNo
RequireInvoiceNumberformboolNo
RequireNameOnCardformboolNo
RequireBillingZipCodeformboolNo
RequireTaxAmountformboolNo
RequirePurchaseOrderNumberformboolNo
AllowRefundsformboolNo
AllowForceCaptureformboolNo
AutoCalculateTaxformboolNo
AutoTaxAmountformfloatNo
EnableBinCheckformboolNo
Customer Parameters:
NameParameterData TypeRequiredDescription
CustomerKeyformintNo
CustomerIdformstringNo
CustomerNameformstringNo
HasCardTokensformboolNo
HasCheckTokensformboolNo
Register Parameters:
NameParameterData TypeRequiredDescription
RegisterKeyformintNo
RegisterNameformstringNo
CustomField Parameters:
NameParameterData TypeRequiredDescription
Keymodelint?NoGateway key for the custom field
NamemodelstringNoName of the custom field as set by the merchant
ValuemodelstringNoValue (if applicable) to store in the custom field

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

HTTP + XML

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

GET /merchants/{merchantKey}/vt-configurations HTTP/1.1 
Host: syntch.simpay.net 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<VirtualTerminalSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gateway.RestApi.Merchants.BindingModels.VirtualTerminal">
  <CustomFields>
    <CustomField>
      <DecimalPlaces>0</DecimalPlaces>
      <Description>String</Description>
      <ErrorMessage>String</ErrorMessage>
      <IsNumeric>false</IsNumeric>
      <IsRequired>false</IsRequired>
      <Key>0</Key>
      <MaxLength>0</MaxLength>
      <MaxValue>0</MaxValue>
      <MerchantKey>0</MerchantKey>
      <MinValue>0</MinValue>
      <Name>String</Name>
      <Position>0</Position>
      <RegularExpression>String</RegularExpression>
    </CustomField>
  </CustomFields>
  <Customers>
    <Customer>
      <CustomerId>String</CustomerId>
      <CustomerKey>0</CustomerKey>
      <CustomerName>String</CustomerName>
      <HasCardTokens>false</HasCardTokens>
      <HasCheckTokens>false</HasCheckTokens>
    </Customer>
  </Customers>
  <DisplaySettings>
    <AllowForceCapture>false</AllowForceCapture>
    <AllowRefunds>false</AllowRefunds>
    <AutoCalculateTax>false</AutoCalculateTax>
    <AutoTaxAmount>0</AutoTaxAmount>
    <DisplayBillingCityStreetState>false</DisplayBillingCityStreetState>
    <DisplayBillingEmail>false</DisplayBillingEmail>
    <DisplayBillingPhone>false</DisplayBillingPhone>
    <DisplayBillingZipCode>false</DisplayBillingZipCode>
    <DisplayConvenienceAmount>false</DisplayConvenienceAmount>
    <DisplayConvenienceAmountPercentage>false</DisplayConvenienceAmountPercentage>
    <DisplayCustomerNumber>false</DisplayCustomerNumber>
    <DisplayCustomerSelect>false</DisplayCustomerSelect>
    <DisplayDutyAmount>false</DisplayDutyAmount>
    <DisplayForceDuplicate>false</DisplayForceDuplicate>
    <DisplayInvoiceNumber>false</DisplayInvoiceNumber>
    <DisplayPurchaseLineItems>false</DisplayPurchaseLineItems>
    <DisplayPurchaseOrderNumber>false</DisplayPurchaseOrderNumber>
    <DisplayShippingAmount>false</DisplayShippingAmount>
    <DisplayTaxAmount>false</DisplayTaxAmount>
    <DisplayTipAmount>false</DisplayTipAmount>
    <EnableBinCheck>false</EnableBinCheck>
    <RequireBillingZipCode>false</RequireBillingZipCode>
    <RequireInvoiceNumber>false</RequireInvoiceNumber>
    <RequireNameOnCard>false</RequireNameOnCard>
    <RequirePurchaseOrderNumber>false</RequirePurchaseOrderNumber>
    <RequireShippingAmount>false</RequireShippingAmount>
    <RequireTaxAmount>false</RequireTaxAmount>
  </DisplaySettings>
  <Registers>
    <Register>
      <RegisterKey>0</RegisterKey>
      <RegisterName>String</RegisterName>
    </Register>
  </Registers>
</VirtualTerminalSettings>