Like most things it depends. Different payment-gateways support different levels of integration. The highest fidelity ones support itemization. The more information you provide typically reduces the fee that's applied.
For more information google "Level 2/3 Credit Card Transactions"