Update customer

You can update the Customer by specifying setting the properties to the new values.

$customerReq = Pencepay_Request_Customer::build()
    ->name('Johnny Hancock');

$customer = Pencepay_Customer::update('customer_uid', $customerReq);

Result

Updated Customer object is returned on success.