CalculateSurchargeAmountResponse
Description
The CalculateSurchargeAmountResponse object returns calculated surcharge information based on the payment method, ZIP code, and amount sent in the CalculateSurchargeAmount request.
Properties
Type | Name | Description |
|---|---|---|
boolean | IsSurchargeEnabled | Whether surcharge is enabled for the Possible Values
|
boolean | IsSurchargeAllowedForZipCode | Whether surcharging is allowed for the zip code. Possible Values
|
boolean | IsSurchargeAllowedForPaymentMethod | Whether surcharge is allowed for the provided payment method. Possible Values
|
string | SurchargePercentage | Surcharge percentage configured for the |
string | SurchargeAmount | Calculates the surcharge amount added on top of the amount submitted in the request. Note: If surcharge is enabled but the location or payment method prohibits surcharging, this will return 0. |
string | SurchargeCaption | The surcharge "fee name" used when showing the fee to the user and on receipts. |
string | SurchargeTermsNote | Message displayed to the user before charging a transaction that includes a surcharge. Example: "If you choose to pay with a credit card, you’ll be charged a 2.5% Surcharge. " |
Updated 5 months ago
