/home/techb158/ileadtechnology.com/vendor/mollie/mollie-api-php/examples/captures
Edit: /home/techb158/ileadtechnology.com/vendor/mollie/mollie-api-php/examples/captures/get-capture.php (734B)
payments->get('tr_WDqYK6vllg');
$capture = $payment->getCapture('cpt_4qqhO89gsT');
$amount = $capture->amount->currency . ' ' . $capture->amount->value;
echo 'Captured ' . $amount;
} catch (\Mollie\Api\Exceptions\ApiException $e) {
echo "API call failed: " . htmlspecialchars($e->getMessage());
}