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

Added captures as embedded objects to payment #330

Closed JoostMollie closed 10 months ago

Pimm commented 10 months ago

Thanks, @JoostMollie!

We should also change PaymentHelper.getCaptures. It should use the embedded captures if present to prevent unnecessary network access. (I'm OK doing that.)

However, the documentation currently does not mention embedded captures. Is this a new thing? Is it stable?

JoostMollie commented 10 months ago

Thanks, @JoostMollie!

We should also change PaymentHelper.getCaptures. It should use the embedded captures if present to prevent unnecessary network access. (I'm OK doing that.)

However, the documentation currently does not mention embedded captures. Is this a new thing? Is it stable?

Yes the embedding of captures in a payment is stable. We will update the public docs soon. Our private/beta docs are already updated.