customers->get("cst_cUa8HjKBus");
/*
* List the mandates of this customer
*/
echo "
";
foreach ($customer->mandates() as $mandate) {
echo "- " . htmlspecialchars($mandate->id) . " - " . htmlspecialchars($mandate->method) . ": " . htmlspecialchars($mandate->status) . "
";
}
echo "
";
} catch (\Mollie\Api\Exceptions\ApiException $e) {
echo "API call failed: " . htmlspecialchars($e->getMessage());
}