Accounts Payable Credit Card Transfer Question

When transferring an open vendor payable to a credit card vendor, the invoice for the original vendor shows as paid via a particular bank code.  Does anyone know what dictates the bank code used for the credit card 'payment'?   Also, since a bank code will ultimately get hit when the credit card invoice is paid, is it even appropriate for this credit card transfer to be recorded to a bank code (and be listed on the AP Payment History Report, etc?)