Create payment

node v8.12.0
version: 1.0.0
endpointsharetweet
/* Import the client and set your API key */ const mollie = require("@mollie/api-client")({ apiKey: "test_BThW5anPMSsEAz6ze6u9ptG67aSCzp", }); /* Create a new payment */ const payment = await mollie.payments.create({ amount: { value: "10.00", currency: "EUR", }, description: "Trip to Croatia", redirectUrl: "http://mollie.com", webhookUrl: "http://mollie.com", });
Loading…

no comments

    sign in to comment