Get the access token for the Online Payments API on psp.aerahost.com.
Master: api-docs.aerahost.comWe're moving our API docs to docs.aera.id. Until the move is done, 4. Access PSP on api-docs.aerahost.com is the master for this API. Use it to build your integration.
Access PSP gives you the access token for the Online Payments API on psp.aerahost.com. You log in with your client ID and client secret, and get an access token and a refresh token back. Send the access token as Authorization: Bearer <access token> in your requests.
What you can do
| Task | Endpoint | Details (master) |
|---|---|---|
| Get an access token | POST /access/v1/oauth2/token | 4.2.3. Create an access token |
| Check whether a token is still active | POST /access/v1/oauth2/introspect | 4.2.2. Introspect an access token |
| Check that the service is running | GET /access/health | 4.2.1. Get application status |
Fields and objects: 4.3. Definitions.
Hosts
| Environment | Host |
|---|---|
| Test | https://psp-staging.aerahost.com |
| Production | https://psp.aerahost.com |
Before you start
- Get your API key, client ID and client secret. See Get access.
- Read how tokens work and when they expire. See Authentication.