api-documentation icon indicating copy to clipboard operation
api-documentation copied to clipboard

https://docs.mollie.com/reference/v2/payments-api/update-payment node.js documentation

Open TheSerumDev opened this issue 3 years ago • 0 comments

const { createMollieClient } = require('@mollie/api-client'); const mollieClient = createMollieClient({ apiKey: 'test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM' });

const updatedTransaction = mollieClient.payments.update('tr_7UhSN1zuXS', { description: 'Order #98765', redirect_url: 'https://example.org/webshop/order/98765/' }).catch((reason) => { // error handling });

TheSerumDev avatar Jul 13 '22 15:07 TheSerumDev