Viincenttt / MollieApi

This project allows you to easily add the Mollie payment provider to your application.
MIT License
150 stars 85 forks source link

Customer payments endpoint #118

Closed Zinshis closed 5 years ago

Zinshis commented 5 years ago

The code that lists the customer payments is pointing to an incorrect endpoint. MollieApi/Mollie.Api/Client/PaymentClient.cs > GetCustomerPaymentListAsync (line 60)

The function uses the "payments/{customerId}" endpoint while the official API reference mentions to use the "customers/{customerId}/payments" endpoint.

Viincenttt commented 5 years ago

Hi @Zinshis

Thanks for reporting this, I've fixed it on the development branch and will release soon.

Kind regards, Vincent

Viincenttt commented 5 years ago

Live in 2.0.5.0