oAuth2

Authorize an app to access Adfin data on behalf of an Adfin user

Changed on
post/oauth2/authorize

Request

  • Base URL
    https://api.adfin.com/api
  • URL
    https://api.adfin.com/api/oauth2/authorize
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.staging.adfin.com/api/oauth2/token
    • or OAuth 2
      Client credentials
      Token URL: https://api.adfin.com/api/oauth2/token

Request body

clientIdstring
refreshTokenstring
redirectUristring
scopesstring
statestring
codeChallengestring

PKCE code challenge: base64url SHA-256 hash of the code verifier

codeChallengeMethodstring

PKCE code challenge method. Only S256 is supported

Example request

{
  "codeChallenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM",
  "codeChallengeMethod": "S256"
}

Response

The app was successfully authorized.

Changes

    • info

      the endpoint scheme security Biller Access Token (Production) was added to the API

    • info

      the endpoint scheme security Biller Access Token (Staging) was added to the API

    • info

      added the new optional request property

    • info

      added the new optional request property