AuthorizedPayment class wrong api endpoint #328
rodrigopeixotobr
started this conversation in
General
Replies: 1 comment 3 replies
-
Olá, @rodrigopeixotobr! Obrigado por nos avisar! Te atualizo por aqui. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The AuthorizedPayment class is missing a letter S at RestMethods api endpoints.
We tested and only works with the S (plural).
Wrong: @RestMethod(resource="/authorized_payment", ...
Correct: @RestMethod(resource="/authorized_payments", ...
File: /src/MercadoPago/Entities/AuthorizedPayment.php
Reference: https://www.mercadopago.com.br/developers/pt/guides/notifications/webhooks
Beta Was this translation helpful? Give feedback.
All reactions