Calculates the surcharged amounts for the specified payment type.
{- "PaymentSurchargeRequest": {
- "payment": {
- "form": {
- "PayInFull": { }
}, - "customerType": "Consumer",
- "amount": {
- "amount": 0,
- "currency": "AUD"
}, - "method": {
- "ApplePay": {
- "applePay": {
- "paymentMethod": {
- "displayName": "string",
- "network": "string",
- "type": "debit"
}, - "transactionIdentifier": "string",
- "paymentData": {
- "data": "string",
- "header": {
- "publicKeyHash": null,
- "transactionId": null,
- "applicationData": null,
- "ephemeralPublicKey": null,
- "wrappedKey": null
}, - "signature": "string",
- "version": "EC_v1"
}
}
}
}
}
}
}
{- "PaymentSurchargeResponse": {
- "surchargeQuote": {
- "unsurchargedAmount": 0,
- "surchargeAmount": 0,
- "totalAmount": 0,
- "paymentMethod": {
- "cardAttributes": {
- "currency": "AFN",
- "country": "AF",
- "funding": "credit",
- "prepaid": true,
- "brand": "",
- "issuer": "string",
- "productType": "CP",
- "schemeProduct": "AC000",
- "bin": "string"
}
}, - "summary": "string",
- "quoteVerificationToken": "string"
}
}
}