Create a Card

You can create a Card implicity when creating a Transaction, or directly as seen below.

$cardReq = Pencepay_Request_CreditCard::build()
    ->cardholderName('John Hancock')
    ->number('4350100010001002')
    ->expiryMonth(10)
    ->expiryYear(2018)
    ->cvv('123')
    ->settings()
         ->makeDefault(true)
    ->done();

$card = Pencepay_CreditCard::create('customer_uid', $cardReq);

Create a Card with a Transaction

// TODO