{ "opencollection": "1.0.0", "info": { "name": "Fluence Billing Users API", "version": "0.10.0" }, "request": { "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "refresh_user_balance", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/users/balances/refresh", "auth": { "type": "bearer", "token": "{{bearerToken}}" } } }, { "info": { "name": "Get current user info", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/users/me", "auth": { "type": "bearer", "token": "{{bearerToken}}" } } }, { "info": { "name": "Get current user profile", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/users/me/profile", "auth": { "type": "bearer", "token": "{{bearerToken}}" } } }, { "info": { "name": "Update current user profile", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v1/users/me/profile", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } } }, { "info": { "name": "get_user_balance_v2", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/users/balances", "params": [ { "name": "entitlementKey", "value": "", "type": "query", "description": "Keep only the entitlement whose canonical key equals this value, matched\nagainst `EntitlementValueDto.featureKey` in the response. Omit to return\nevery entitlement." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } } } ] } ], "bundled": true }