/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/revoke-mandate.php (679B)
customers->get("cst_cUa8HjKBus"); /* * Retrieve an existing mandate by his mandateId */ $mandate = $customer->getMandate("mdt_pa3s7rGnrC"); /* * Revoke the mandate */ $mandate->revoke(); echo "

Mandate has been successfully revoked.

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