Get partner token info
import requests
url = "https://api.paywise.de/partner/v2/info/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/partner/v2/info/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/partner/v2/info/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/partner/v2/info/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request GET \
--url https://api.paywise.de/partner/v2/info/ \
--header 'Authorization: Bearer <token>'{
"capabilities": [
"USER_ACCESS_REVOCATION"
],
"environment": "production",
"id": "14000000-0000-4000-8000-000000000001",
"partner": {
"id": "11000000-0000-4000-8000-000000000001",
"name": "Example Platform"
},
"scopes": [
"partner:companies:read",
"partner:companies:write",
"partner:users:write"
],
"token_name": "Onboarding integration"
}{
"code": "not_authenticated",
"detail": "Authentication credentials were not provided."
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}Reference and status
Get partner token info
Return non-PII metadata about the calling partner token: its id, name, scopes, capabilities and the owning partner. It never returns the owner’s email or name.
GET
/
partner
/
v2
/
info
/
Get partner token info
import requests
url = "https://api.paywise.de/partner/v2/info/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/partner/v2/info/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/partner/v2/info/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/partner/v2/info/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request GET \
--url https://api.paywise.de/partner/v2/info/ \
--header 'Authorization: Bearer <token>'{
"capabilities": [
"USER_ACCESS_REVOCATION"
],
"environment": "production",
"id": "14000000-0000-4000-8000-000000000001",
"partner": {
"id": "11000000-0000-4000-8000-000000000001",
"name": "Example Platform"
},
"scopes": [
"partner:companies:read",
"partner:companies:write",
"partner:users:write"
],
"token_name": "Onboarding integration"
}{
"code": "not_authenticated",
"detail": "Authentication credentials were not provided."
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}Authorizations
Partner API Bearer key: Authorization: Bearer <key>. Keys are created only through authorized portal or staff flows.
Response
Current capabilities enabled for the partner organization. These are separate from token scopes; a wildcard scope does not grant a Partner capability.
USER_ACCESS_REVOCATION- Revoke user access
Available options:
USER_ACCESS_REVOCATION Environment in which the credential is being used.
production- productionsandbox- sandbox
Available options:
production, sandbox Stable identifier of the calling credential, when available.
Partner organization that owns the calling credential.
Show child attributes
Show child attributes
Permissions granted to the calling credential.
Human-readable name assigned to the calling credential.
