Interface IServiceFeeService

  • All Superinterfaces:
    IInterface
    All Known Implementing Classes:
    IServiceFeeService.Default, IServiceFeeService.Stub

    public interface IServiceFeeService
    extends IInterface
    Manages billing service fees to an alternative MID. The general use case applies to government agencies who collect fees via credit card plus a service fee that goes to a third party. Your merchant has to be specifically configured to use this service - it is not generically available.
    • Method Detail

      • payServiceFee

        PaymentResponse payServiceFee​(ServiceFeeRequest request,
                                      ResultStatus resultStatus)
                               throws RemoteException
        Calling this method will result in a payment being submitted on behalf of the associated MID that collects the service fees for your merchant. The request object must contain the amount, the source payment id (that the service fee is related to), and the populated vaulted card object including the token The orderId will be populated internal to the implementation The PaymentResponse will indicate if the request was successful or no. If successful, it will contain a payment object, if not, it should include an error message
        Throws:
        RemoteException
      • refundServiceFee

        RefundResponse refundServiceFee​(ServiceFeeRefundRequest request,
                                        ResultStatus resultStatus)
                                 throws RemoteException
        Calling this method will refund the service fee previously charged The ServiceFeeRefundRequest.refund object must be populated as below: refund.amount : must match the amount of the original service charge refund.payment : populated with the original payment The RefundResponse object will indicate success or failure. In the case of failure there will be an error message set. In the case of success the refund object will be echo'ed back with additional attributes (e.g id) populated
        Throws:
        RemoteException