POST
/
institutions
/
oauth
/
create
Create OAuth Application
curl --request POST \
  --url https://sandbox-api.cardcore.cloud/institutions/oauth/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "My Banking App",
  "description": "Banking application for managing customer accounts and transactions",
  "publicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkq...\n-----END PUBLIC KEY-----",
  "scopes": [
    "READ",
    "WRITE"
  ],
  "grantType": "client_credentials",
  "websiteUrl": "https://myapp.com",
  "iconUrl": "https://myapp.com/icon.png",
  "isOfficial": false
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
description
string
required
publicKey
string
required
scopes
string[]
required
grantType
string
required
websiteUrl
string<uri>
required
iconUrl
string<uri>
required
isOfficial
boolean
required

Response

201 - application/json

Create OAuth Application completed successfully.

The response is of type object.