Authentication
Request access token
Obtain an OAuth 2.0 access token to authenticate API requests
post/oauth/token
Request
- Base URLhttps://auth.getpaid.io
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"client_id": "g6gWu46zeP0HH4jkW3i22yJ2shDrNxJ8",
"client_secret": "S6gozTXzrS42OZ0cmxVJG133mOfuHhSfkIJkcH7FBm-0HyGrVZMLGJtyruTA4CQv"
}Response
OK
Example response
{
"access_token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIn0.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
"scope": "accounts:read documents:read_write payments:read",
"expires_in": 86400
}Changes
No recorded changes to this operation across all 1 revision of this API.