Canonical route models
AIFP-1 is gross-inclusive. The protocol fee is deducted from the quoted
gross amount; it is never added on top. AIFP-2/x402 has a temporary 0% AiFinPay
protocol fee for the current launch period. No expiry is encoded yet, so a later
change requires a versioned economic decision and coordinated backend/SDK/docs
release.
AIFP-1 reference tiers
One billing unit is $0.0005.Exact 6-decimal vectors
Stablecoin math is integer math. The current regression vectors are:
The protocol fee is
floor(gross × 100 / 10,000); merchant receives the
remainder and creator receives zero. An amount too small to produce a non-zero
AIFP-1 protocol fee must be rejected rather than silently changing economics.
Batches and receipts
A quote states the gross batch amount. One on-chain settlement purchases the batch; a signed bearer receipt meters billing units locally at the merchant. Receipt scope and quota do not change the economic split. The reference minimum batch is $0.10:Limits
Per-payment and daily operator caps are checked before signing. A model/tool argument may tighten an operator ceiling but must not increase it. Unknown asset price, invalid amount, expired quote or split mismatch is a blocking state.Production gate
A listed network or source implementation is not automatically payment-live. Before signing, the release must independently pin and verify:- route class and chain ID;
- B2BSplitter v1.3 address and exact runtime code hash;
- on-chain BPS profile (AIFP-1
100/0, AIFP-20/0); - merchant/provider target and asset metadata;
- quote expiry and exact gross calldata;
- paid end-to-end evidence for that release;
- no unresolved Critical/High fund-loss audit issue.