We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Has anyone succeeded in using oauth2 with sumup and is he/she willing to share the process and code?
The text was updated successfully, but these errors were encountered:
No one uses this?
Sorry, something went wrong.
Follow this guide: https://developer.sumup.com/online-payments/introduction/authorization#o-auth-2-0
The required scopes are transactions.history user.app-settings user.profile_readonly payments
transactions.history user.app-settings user.profile_readonly payments
use the access_token in the loginWithToken function.
loginWithToken
Example code in JavaScript (NodeJS) to generate a login url:
const crypto = require("crypto") const state = crypto.randomUUID() const query = new URLSearchParams({ response_type: "code", client_id: "your_sumup_client_id", redirect_uri: "https://example.com/return/url/for/authorization", scope: "transactions.history user.app-settings user.profile_readonly payments", state: state }) const url = `https://api.sumup.com/authorize?${query}`
No branches or pull requests
Has anyone succeeded in using oauth2 with sumup and is he/she willing to share the process and code?
The text was updated successfully, but these errors were encountered: