Check Surcharge

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

Authentication

AuthorizationBearer
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
tokenstring or null
Type of payment method
postalstring or null
Status of postal code restrictions
fee_amountstring or null
Surcharge fee amount
messageslist of strings or null
Any additional messages or warnings

Errors