<?php

namespace App\Services\Payment\Contracts;

use App\Models\SubscriptionPayment;
use App\Services\Payment\PaymentIntent;

interface PaymentDriver
{
    public function createIntent(SubscriptionPayment $payment): PaymentIntent;

    public function verifyWebhook(array $payload, ?string $signature = null): bool;
}
