API Options can be sent in order to adjust the functionality of the request being made. API Options should be sent in the apiOptions
array.
This option is used to enable the processor to issue a partial approval (if they support it). When ALLOWPARTIALAUTH is included in a request, the interface must be able to handle a transaction.responseCode
of 'P', which indicates the transaction has been partially approved. The amount.total
field in the response will contain the approved amount, which should be compared against the amount requested.
When an interface sends "POSHANDLEAVSFAIL" for an initial authorization or sale, Shift4 will not automatically void a One Pass transaction which has an AVS or CSC failure. One Pass transactions which result in an AVS or CSC failure will return transaction.responseCode
'f'. This option does not affect Two Pass transactions.
This option is used to return a card’s expiration date unmasked.
Federal law requires all businesses to truncate credit card information on receipts. Make sure your receipt does not display the card’s expiration date and only displays the last four digits of the card number. See the example below:
ACCTXXXXXXXXXXXX1234
For more information, see: ftc.gov
This option indicates that a transaction is tax exempt. TAXEXEMPT should only be used when a transaction is explicitly tax exempt.
This option returns an error if the invoice specified in a Sale/Purchase or Capture does not already exist.
This option is used to indicate the transaction is an EBT cash benefit.
This option is used to indicate the transaction is an EBT food stamps benefit.
This option is used to indicate the transaction is an EBT cash withdrawal.
This option is used to return the merchant’s full DBA Name in the notes
field on Merchant Information requests.
This option is used to return the merchant’s configured currency code in the currencyCode
field.
This option is used to allow the interface to process cash back requests from a consumer.
This option is used to append a line item to the existing line item(s) displayed on the screen. This API Option works with Display Line Items requests.
This option is used to bypass the Amount OK screen and go straight to the insert/swipe screen. If Tip is enabled on the device, it will cause the UTG to prompt for Tip prior to going to the insert/swipe screen. The Amount OK screen can be bypassed for all transactions on Ingenico PIN pad devices by selecting the “Bypass Amount OK” setting in UTG TuneUp.
This option is used to suppress requesting an electronic signature from a consumer for a given transaction.
This option is used to bypass the PIN pad (even if a device.terminalId
is included in a request).
This option is used to prevent the PIN pad from prompting for tip for the current transaction (if Tip is enabled for the PIN pad device in UTG TuneUp).
This option is used to process a transaction using a specialized payment card via an alternate merchant ID (MID).
This option is used to override the UTG TuneUp setting allowing manual card entry (MCE). The UTG will display a Please Swipe/Insert (or Tap, if applicable) form with the Manual Entry button disabled or hidden.
This option is used to disable the PIN pad’s contactless functionality for the current transaction.
This option is used to make a swiped card appear manually entered by discarding the swipe data other than the card number and expiration date.
This option is used with a Reset Device request to put a terminal into a Lane Closed state. The device will display the Lane Closed screen instead of the standard idle screens. A second Reset Device request without the LANECLOSED API Option will cancel the display of the lane closed screen.
This option is used to suppress requesting a signature from a consumer for a given transaction.
This option is used to include a tip line in the receipt text.
This option is used with a Request Signature request. If PLCCSIGNATURE is included, the screen on the PIN pad will display “I have received and agree with the Terms and Conditions” instead of “Please sign and tap ok with pen”.
This option is used to return the signature captured on a PIN pad to the interface. The returned signature can then be used by the interface to display to the clerk or print on a receipt.
This option is used to overwrite the values in the customer.firstName
and customer.lastName
fields with the information from the EMV or track data. If no EMV or track data is available, this option will be ignored.
This option is used to bypass the Please Swipe Card screen and display the Enter Card Number screen instead. This allows the interface to force MCE (even if it is disabled by default in UTG TuneUp).
This option is used to bypass the Please Swipe Card screen and display the QR Payments screen instead. This allows the interface to force QR Payments (even if it is disabled in UTG TuneUp).
This option is used to trigger the system to perform a $0 or $1 authorization to validate the card. If the card is valid, the card number will be stored and a card token will be returned. All other responses will return error 9858. This API Option will be ignored if the CSC information or track data is included in the request because CSC and track data cannot be stored after authorization and would be consumed by the TOKENAUTH API Option.
This option is used to tokenize expired cards when using the TokenStore Add function request. When IGNOREEXPIRY is included in the apiOptions array, Shift4 will allow the card sent in the request to be tokenized – regardless of its expiration date. Using IGNOREEXPIRY also allows expired cards to be imported.
This option is used to return only non-problem transactions in the response to a Totals Report request.
This option only applies to the GetQRCode request. If included, the response will return a link to a QR code image or a string that can be converted to a QR code image.
This option is only used by device manufacturers to identify if the device is capable of processing contactless EMV payment cards.
This option is used to initiate an Account Name Inquiry request. See the Verify Card section for more details.
This option is used to return the gift card usage history. See the Gift Card Balance section for more details.