Skip to content

Commit 9a599cc

Browse files
committed
add zero CCF note
1 parent 851ee0c commit 9a599cc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

content/payments/billpay/api-integration/paying-bills/customer-convenience-fee.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,12 @@ Note: The values are for illustration purposes only.
139139

140140
### 5.1 Detection Logic
141141

142-
First, identify billers that charge CCF by looking for specific entries in the `interchangeFee` array which have `feeCode: "CCF1"` and `feeDirection: "C2B"`.
142+
Look for `CCF1` + `C2B` entries in the `interchangeFee` array. Zero CCF has two forms, **check for both**:
143+
144+
1. **Missing** - No `CCF1`/`C2B` entry at all → Zero CCF
145+
2. **Present but inactive** - Entry exists with `flatFee: 0` AND `percentFee: 0` → Zero CCF
146+
147+
If either is true, you may omit `custConvFee` from your payment request. If a `CCF1`/`C2B` entry exists with any non-zero fee, calculate the CCF using the formula in section 5.2.
143148

144149
### 5.2 CCF Calculation Formula
145150

0 commit comments

Comments
 (0)