| Required role: | Merchant |
| GET | /merchants/{merchantKey}/vt-configurations | BETA VERSION (Subject to change). Gets virtual terminal configuration settings for the merchant key provided. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MerchantKey | path | integer | Yes | The key of the merchant. |
| IncludeAllCustomers | query | bool | No | Include all non-deleted customers or those in active state only. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DisplaySettings | form | DisplaySettings | No | |
| Customers | form | List<Customer> | No | |
| Registers | form | List<Register> | No | |
| CustomFields | form | List<CustomField> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DisplayShippingAmount | form | bool | No | |
| DisplayConvenienceAmount | form | bool | No | |
| DisplayConvenienceAmountPercentage | form | bool | No | |
| DisplayDutyAmount | form | bool | No | |
| DisplayTipAmount | form | bool | No | |
| DisplayInvoiceNumber | form | bool | No | |
| DisplayPurchaseOrderNumber | form | bool | No | |
| DisplayCustomerNumber | form | bool | No | |
| DisplayCustomerSelect | form | bool | No | |
| DisplayPurchaseLineItems | form | bool | No | |
| DisplayTaxAmount | form | bool | No | |
| DisplayForceDuplicate | form | bool | No | |
| DisplayBillingZipCode | form | bool | No | |
| DisplayBillingCityStreetState | form | bool | No | |
| DisplayBillingPhone | form | bool | No | |
| DisplayBillingEmail | form | bool | No | |
| RequireShippingAmount | form | bool | No | |
| RequireInvoiceNumber | form | bool | No | |
| RequireNameOnCard | form | bool | No | |
| RequireBillingZipCode | form | bool | No | |
| RequireTaxAmount | form | bool | No | |
| RequirePurchaseOrderNumber | form | bool | No | |
| AllowRefunds | form | bool | No | |
| AllowForceCapture | form | bool | No | |
| AutoCalculateTax | form | bool | No | |
| AutoTaxAmount | form | float | No | |
| EnableBinCheck | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CustomerKey | form | int | No | |
| CustomerId | form | string | No | |
| CustomerName | form | string | No | |
| HasCardTokens | form | bool | No | |
| HasCheckTokens | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RegisterKey | form | int | No | |
| RegisterName | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Key | model | int? | No | Gateway key for the custom field |
| Name | model | string | No | Name of the custom field as set by the merchant |
| Value | model | string | No | Value (if applicable) to store in the custom field |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
DisplaySettings:
{
DisplayShippingAmount: False,
DisplayConvenienceAmount: False,
DisplayConvenienceAmountPercentage: False,
DisplayDutyAmount: False,
DisplayTipAmount: False,
DisplayInvoiceNumber: False,
DisplayPurchaseOrderNumber: False,
DisplayCustomerNumber: False,
DisplayCustomerSelect: False,
DisplayPurchaseLineItems: False,
DisplayTaxAmount: False,
DisplayForceDuplicate: False,
DisplayBillingZipCode: False,
DisplayBillingCityStreetState: False,
DisplayBillingPhone: False,
DisplayBillingEmail: False,
RequireShippingAmount: False,
RequireInvoiceNumber: False,
RequireNameOnCard: False,
RequireBillingZipCode: False,
RequireTaxAmount: False,
RequirePurchaseOrderNumber: False,
AllowRefunds: False,
AllowForceCapture: False,
AutoCalculateTax: False,
AutoTaxAmount: 0,
EnableBinCheck: False
},
Customers:
[
{
CustomerKey: 0,
CustomerId: String,
CustomerName: String,
HasCardTokens: False,
HasCheckTokens: False
}
],
Registers:
[
{
RegisterKey: 0,
RegisterName: String
}
],
CustomFields:
[
{
Key: 0,
Name: String,
MerchantKey: 0,
IsNumeric: False,
DecimalPlaces: 0,
RegularExpression: String,
IsRequired: False,
Description: String,
ErrorMessage: String,
MinValue: 0,
MaxValue: 0,
MaxLength: 0,
Position: 0
}
]
}