Skip to content

PaymentDriverInterface

Source: view src/Contracts/PaymentDriverInterface.php

Generated from the public PHP contract and its PHPDoc. Driver support varies; check instanceof or GatewayCapabilities before calling optional gateway capabilities.

initializePayment

Initialize a payment

public function initializePayment(array $data): array;

verifyPayment

Verify a payment

public function verifyPayment(string $reference): array;

getPayment

Get payment details

public function getPayment(string $reference): array;

refundPayment

Refund a payment

public function refundPayment(string $reference, ?float $amount = null): array;

getTransactions

Get all transactions

public function getTransactions(array $params = []): array;