Skip to content

ChargeAuthorizationDriverInterface

Source: view src/Contracts/ChargeAuthorizationDriverInterface.php

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

chargeAuthorization

Charge a reusable authorization code (e.g. card on file). Expected $data keys: email (string) required — customer email amount (float) required — amount in major currency unit authorization_code (string) required — the reusable authorization code reference (string) optional — unique caller-supplied reference currency (string) optional — defaults to gateway default metadata (array) optional subaccount (string) optional — subaccount code for split bearer (string) optional — 'account' or 'subaccount' queue (bool) optional — queue the charge (Paystack)

public function chargeAuthorization(array $data): array;

getAuthorization

Fetch details of a single authorization.

public function getAuthorization(string $authCode): array;

listAuthorizations

List all authorizations on your integration.

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

deactivateAuthorization

Deactivate an authorization so it can no longer be used.

public function deactivateAuthorization(string $authCode): array;