Skip to main content
Chargeworx issues tokens via IdentityServer4.

Client credentials

Use confidential clients to obtain tokens for service-to-service calls.
curl -X POST "$BASE/connect/token" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=client_credentials&client_id=$CLIENT_ID&client_secret=$CLIENT_SECRET&scope=AdminUIScope"
Then call an API endpoint with the Authorization: Bearer header.