The deduction runs in a fixed order
1
The destination amount is verified
Nothing is calculated from a quote, from what the payer said they sent, or from a provider reporting success.
2
Both components are calculated from that verified amount
The platform fee and your partner fee, against the same figure.
3
The recipient is credited the net, and the combined fee goes to the collector
One deduction, two components, moved together.
4
Network costs stay outside
Gas, unavoidable source-network costs, a payout rail’s own fee and any cost quoted on a selected funding method are not part of the basis-point calculation and never appear inside it.
merchantNetAmountAtomic is what the destination receives
Amounts are atomic integer strings. Do not rebuild them in floating point, and do not assume six decimals for every asset.
Deposits carry their own fee basis
Value arriving at a reusable deposit address is priced on the deposit, andbasis says whether the number in front of you is final.
Never present an estimated net as guaranteed.
networkAmountAtomic is reported beside the two commercial components rather than folded into them, so a deposit’s network cost stays visible and separable.
The fee is its own transaction row
Fee movement is a separate operation, not a subtraction hidden inside the settlement transfer, so a customer statement can itemise it.
Because it is separate, it can fail on its own. The payment then keeps its truthful financial status and reports
fee_payout_failed or fee_payout_requires_intervention on operationalReasonCode.
Next: Settlement transactions
Find the settlement row and tie it back to its payment.