public function validateCard(PaylandsMethod $paymentMethod)
    {
        $response = $this->client->retrieveCustomerCards($paymentMethod->getCustomerExternalId());

        foreach ($response['cards'] as $card) {
            if ($paymentMethod->getCardUuid() == $card['uuid']) {
                $paymentMethod
                    ->setPaymentStatus(PaylandsMethod::STATUS_OK)
                    ->setPaymentResult($response);

                return;
            }
        }

        throw new CardNotFoundException(sprintf('Card %s not found for customer %s',
            $paymentMethod->getCardUuid(),
            $paymentMethod->getCustomerExternalId()
        ));
    }