Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong scopes specified at create payment consent method #247

Open
ranierimazili opened this issue Sep 16, 2021 · 0 comments
Open

Wrong scopes specified at create payment consent method #247

ranierimazili opened this issue Sep 16, 2021 · 0 comments

Comments

@ranierimazili
Copy link
Contributor

ranierimazili commented Sep 16, 2021

Hello,
I think there's an error at the documentation for the endpoint POST /payments/v1/consents.
At the bottom the this method, there's a red box describing the necessary scopes to call this method:
image

It's says:

  • openid
  • consent:consentId
  • payments

As it's the creation of the consent, the caller doesn't have the consentId, so it's not possible to pass this scope, I think the right scopes should be:

  • consents
  • payments

Or only:

  • payments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant