models/card_payment library