paymentCaptures->createForId('tr_WDqYK6vllg', ["amount" => ["currency" => "EUR", "value" => "5.00"], "description" => "Order #12345"]); echo "

New capture created " . \htmlspecialchars($capture->id) . " (" . \htmlspecialchars($capture->description) . ").

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