post https://paella-sandbox.billie.io/api/v2/oauth/token
Flow
The client sends a POST request with following body parameters to the authorization server:
grant_typewith the valueclient_credentialsclient_idwith the client's IDclient_secretwith the client's secret
The authorization server will respond with a JSON object containing the following properties:
token_typewith the valueBearerexpires_inwith an integer representing the TTL (in seconds) of the access token (Default is 8 hours)access_tokena JWT signed with the authorization server's private key
The access_token should be used in the Authorization header together with the Bearer challenge to authenticate all the requests.
Example:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c.
