CustomerDriverInterface¶
Source: view src/Contracts/CustomerDriverInterface.php
Generated from the public PHP contract and its PHPDoc. Driver support varies; check
instanceof or GatewayCapabilities before calling optional gateway capabilities.
createCustomer¶
Create a customer on the gateway. Expected $data keys: email (string) required — customer email address first_name (string) optional — customer first name last_name (string) optional — customer last name phone (string) optional — customer phone number metadata (array) optional — custom key/value pairs
getCustomer¶
Retrieve a single customer by email, code, or ID.
listCustomers¶
List all customers with optional filters.
updateCustomer¶
Update an existing customer's details.
validateCustomer¶
Validate a customer's identity (e.g. BVN, bank account).
setCustomerRiskAction¶
Set a customer's risk action (whitelist or blacklist).