Check Surcharge

Prior to completing a transaction, you can use this endpoint to check if a transaction will incur a surcharge.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
midstringRequired

Merchant Account ID

postalstringRequired

Cardholder’s postal code

account_tokenstringRequired

Tokenized account number

amountstringOptional

Transaction amount

Response

Successful response with surcharge information

tokenstringOptional

Type of payment method

postalstringOptional

Status of postal code restrictions

fee_amountstringOptional

Surcharge fee amount

messageslist of stringsOptional

Any additional messages or warnings

Errors