This section outlines the mechanics and mapping matrices for transaction fee deduction rules within the OneKhusa Payment Gateway ecosystem. These rules are configured at the merchant account level to control whether transaction fees are dynamically borne by the customer or absorbed by the merchant for both collection (inbound/payment) and disbursement (outbound/payout) financial workflows.

Applicable Fee Deduction Rules

Transaction Type Integration Matrix

Implementation Guidelines for Developers

  • Rule Evaluation Timing: Fee rules are evaluated at the moment of payment routing initiation (outbound) or immediately upon payment receipt (inbound).
  • Validation Errors: Attempting to submit an API payload containing feeDeductionRule: “CC” on endpoints mapped exclusively to CM (Inbound Credit Transfers) will result in an immediate 400 Bad Request validation error messages