/home/techb158/immovalet.com/vendor/mollie/mollie-api-php/examples/mandates
NameSizeModeActions
create-mandate.php9050644editdlrm
list-mandates.php7320644editdlrm
revoke-mandate.php6790644editdlrm
Edit: /home/techb158/immovalet.com/vendor/mollie/mollie-api-php/examples/mandates/create-mandate.php (905B)
customers->page(null, 1)[0]; /* * Create a SEPA Direct Debit mandate for the customer */ $mandate = $customer->createMandate([ "method" => \Mollie\Api\Types\MandateMethod::DIRECTDEBIT, "consumerAccount" => 'NL34ABNA0243341423', "consumerName" => 'B. A. Example', ]); echo "

Mandate created with id " . $mandate->id . " for customer " . $customer->name . "

"; } catch (\Mollie\Api\Exceptions\ApiException $e) { echo "API call failed: " . htmlspecialchars($e->getMessage()); }