Updates an existing payment
The input data for updating a payment
The updated payment object
Error if payment update fails
const payment = await updatePayment({ id: 1, amount: 2000, description: "Pack 100 enquêtes"}); Copy
const payment = await updatePayment({ id: 1, amount: 2000, description: "Pack 100 enquêtes"});
Updates an existing payment