<?php

namespace App\Services\Payments;

class CardGateway implements PaymentGatewayInterface
{
    public function initiate(array $payment,array $customer): array { return ['status'=>'configuration_required','message'=>'Connect the selected PCI-compliant card payment provider.','reference'=>$payment['reference'] ?? null]; }
    public function verify(string $reference): array { return ['status'=>'configuration_required','reference'=>$reference]; }
    public function refund(string $reference,float $amount): array { return ['status'=>'configuration_required','reference'=>$reference,'amount'=>$amount]; }
}
