Token Request
replace CLIENT_ID and CLIENT_SECRET with the credentials you received from Rabot Charge. See Partner setup
Example API request
Scopes
You need to specify, which scopes you want to include in the token by specifying them inscope parameter. Multiple scopes should be separated by a space.
The following scopes are available for Whitelabel Partners:
| Scope | Description |
|---|---|
api:partner | permission to access Partner API, required for all API requests |
create:orders | permission to create orders |
role:finance-reporting | permission to access customer and contract data, limited to finance reporting related information |
role:customer-support | permission to access customer and contract data, limited to customer support related information (includes role: finance-reporting) |
role:application | permission to access all customer and contract data (includes role: finance-reporting and role:customer-support ) |
| Scope | Description |
|---|---|
api:partner | permission to access Partner API, required for all API requests |
| Scope | Description |
|---|---|
api:partner | permission to access Partner API, required for all API requests |
create:orders | permission to create orders |
role:finance-reporting | permission to access customer and contract data, limited to finance reporting related information |
To use scopes, you need to have them assigned to your API client by RABOT administrators. If you feel you should have a scope, that you don’t have, please contact our Integration Management team.
Token Response
If successful, the authentication server responds with a HTTP/200 status code, and the response body contains a structure with the access tokenExample API request
Note that the token only has a limited life time; when the life time has expired, you will need to request a new token from the authentication server.