Surcharge Lookup
Surcharge Lookup
Performs surcharge lookup and determines if payment method is eligible or not and provides max rate and max amount if eligible.
post/surcharge-lookups
Request body
Example request
{
"idempotencyKey": "6q5w4e7r8t9y",
"amount": {
"amount": 16000,
"currency": "CAD"
},
"paymentMethod": {
"paymentMethodId": "pi0105ARZ3NDEKTSV4RRFFQ69G5FAV"
}
}Response
surcharge eligible response
Example response
{
"merchantId": "0123456789101",
"amount": {
"amount": 16000,
"currency": "CAD"
},
"maximumSurchargeAmount": {
"amount": 16000,
"currency": "CAD"
},
"paymentMethod": {
"paymentMethodId": "pi0105ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantId": "0123456789101",
"cardholderInformation": {
"cardholderName": "John Doe",
"companyName": "SP Ltd"
},
"contactDetails": {
"phoneNumber": "+18663197450",
"email": "moneris@moneris.com"
},
"billingAddress": {
"unitNumber": "123A",
"streetNumber": "3300",
"streetName": "Bloor Street West",
"city": "Toronto",
"province": "ON",
"postalCode": "M8X 2X2",
"country": "CA"
},
"paymentMethodInformation": {
"paymentMethodSource": "TEMPORARY_TOKEN",
"cardInformation": {
"bankIdentificationNumber": "123456",
"lastFour": "1234",
"expiryMonth": 1,
"expiryYear": 2023,
"cardBrand": "MASTERCARD",
"cardType": "CREDIT",
"cardFingerprint": "1Q2W3E4r5t6rfwewerwewrrw",
"issuer": "RBC"
},
"paymentAccountReference": "11112222333344445555666677778"
},
"createdAt": "2019-07-30T06:43:40.252Z",
"modifiedAt": "2019-07-30T06:43:40.252Z"
}
}