GladysDevelopers

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/clients

Create a new OAuth2 client

Request Body

Create Client Request

application/json
  1. body
access_token_lifetime?integer

seconds

business_id?string

BusinessID 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?string
environment?string

Environment 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?boolean
name*string
redirect_uris?array<string>
refresh_token_lifetime?integer

seconds

scopes?array<string>

Response Body

Created