public function addCard($customer, $token)
    {
        $params = [
            'token' => $token,
        ];

        return $this->gateway->commit(
                'post',
                $this->gateway->buildUrlFromString('customer/'.$customer.'/cards'),
                $params
            );
    }
public function addCard($customer, $token)
    {
        $params = [
            'token' => $token,
        ];

        return $this->gateway->commit(
                'post',
                $this->gateway->buildUrlFromString('customer/'.$customer.'/cards'),
                $params
            );
    }
public function addCard ( $ customer , $ token ) { $ params = [ 'token' => $ token , ] ; return $ this -> gateway -> commit ( 'post' , $ this -> gateway -> buildUrlFromString ( 'customer/' . $ customer . '/cards' ) , $ params ) ; }
Associate a card to a customer.

@param string $customer
@param string $token

@return \Shoperti\PayMe\Contracts\ResponseInterface
Associate a card to a customer .