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
}
'