Skip to content

DisputeDriverInterface

Source: view src/Contracts/DisputeDriverInterface.php

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

listDisputes

List disputes filed against your integration.

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

getDispute

Retrieve details of a single dispute.

public function getDispute(string $id): array;

updateDispute

Update a dispute (e.g. set refund amount, upload evidence).

public function updateDispute(string $id, array $data): array;

addDisputeEvidence

Add evidence to a dispute. Expected $data keys: customer_email (string) required customer_name (string) required customer_phone (string) required service_details (string) required — description of service delivered delivery_address (string) optional delivery_date (string) optional — ISO 8601 date

public function addDisputeEvidence(string $id, array $data): array;

getDisputeUploadUrl

Get the upload URL for dispute evidence attachments (Paystack).

public function getDisputeUploadUrl(string $id): array;

getTransactionDisputes

Get all disputes for a specific transaction (Paystack).

public function getTransactionDisputes(string $transactionId): array;

respondToDisputeMessage

Respond to a dispute message / add a comment.

public function respondToDisputeMessage(string $id, array $data): array;