Client Credentials Flow
For platform-level operations like retrieving all transactions, use the client credentials flow:
POST https://api.withreload.com/v1/oauth/token
Content-Type: application/json
{
"grant_type": "client_credentials",
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET"
}
Response:
{
"access_token": "ACCESS_TOKEN",
"token_type": "Bearer",
"expires_in": 86400,
"scope": "platform:read platform:write"
}
Use this access token for platform-level API calls:
// Example request to get all platform transactions
GET /v1/transactions
Authorization: Bearer ACCESS_TOKEN
Updated 2 months ago