Hi all,
I successsfully used libraries and snippets from the forum to use my Sumup account, but today I'd like to try direct use of their APIs.
A few lines in B4J should suffice to have a start, but it seems there's something eluding me.
SumUp specs
I'll go for the Client Credentials flow, but I can't figure out how to pass in the required parameters.
Another point that puzzles me is what's stated above the CURL/PHP example: "To request an access token for this flow you need to make a request to the retrieve a token endpoint."
Following that link to generate a token it seems that you need an already allowed "code" (The authorization code that you received from requesting an authorization code.)
So, how do I implement the authenticate-authorize-make payment chain?
TIA
Note: I'm aware of the sup_sk xxxx code as a static token but I'd like to learn how to use the above auth chain.
I successsfully used libraries and snippets from the forum to use my Sumup account, but today I'd like to try direct use of their APIs.
A few lines in B4J should suffice to have a start, but it seems there's something eluding me.
SumUp specs
I'll go for the Client Credentials flow, but I can't figure out how to pass in the required parameters.
Another point that puzzles me is what's stated above the CURL/PHP example: "To request an access token for this flow you need to make a request to the retrieve a token endpoint."
Following that link to generate a token it seems that you need an already allowed "code" (The authorization code that you received from requesting an authorization code.)
So, how do I implement the authenticate-authorize-make payment chain?
TIA
Note: I'm aware of the sup_sk xxxx code as a static token but I'd like to learn how to use the above auth chain.
Last edited: