Get applicable surcharge

Changed on

Get the applicable surcharge for a given amount, currency and card number.

get/applicable_surcharge

Request

  • Base URL
    https://gateway.pmnts-sandbox.io/v1.0
  • URL
    https://gateway.pmnts-sandbox.io/v1.0/applicable_surcharge
  • Auth
    HTTP basic

Query parameters

panstring required

The card number of the debit or credit card

amountinteger required

Amount to be surcharged in the smallest currency unit

currencystring required

Currency of the amount to be surcharged

Headers

Content-Typestring

Response

200

successfulboolean
testboolean

Example response

{
  "successful": true,
  "response": {
    "card_description": "credit",
    "surcharge_amount": 1,
    "surcharge_amount_description": "0.9%",
    "total_amount": 101
  },
  "test": true
}

Changes