mollie / mollie-api-node

Official Mollie API client for Node
http://www.mollie.com
BSD 3-Clause "New" or "Revised" License
228 stars 62 forks source link

Add cancelUrl for payment in CreateParameters #326

Closed schalterDev closed 10 months ago

schalterDev commented 10 months ago

The API-Docs specifies a cancelUrl when creating payments: https://docs.mollie.com/reference/v2/payments-api/create-payment

This client not supports adding a cancelUrl:

mollieClient.payments.create({
    ...
    cancelUrl: "myUrl",
})

Error: Object literal may only specify known properties, and 'cancelUrl' does not exist in type 'CreateParameters'.