API referenceOAuth
Create OAuth Client
Create a new OAuth2 client
Dashboard onlyCalled by the Gladys merchant dashboard with a signed-in user. Application tokens are refused with 403, so it cannot be tried here: manage your applications and connected apps in the dashboard.
post
/oauth/clientsCreate a new OAuth2 client
Create Client Request
application/json- body
access_token_lifetime?integerseconds
business_id?stringBusinessID is required to create a client that takes payments: without it there is no answer to whose money this is or where it settles. Omitted, the client can still be issued for non-payment scopes.
description?stringenvironment?stringEnvironment defaults to TEST. A developer registering their first client should get a sandbox unless they deliberately ask for live money, and going live is gated on the business passing verification.
Value in
"LIVE""TEST"grant_types*array<string>["authorization_code", "client_credentials", "refresh_token"]
is_confidential?booleanname*stringredirect_uris?array<string>refresh_token_lifetime?integerseconds
scopes?array<string>Created