An Inttegro account is called an app in the API. Each app keeps its own orders, customers, balances, payouts, settings, and credentials.
Create another app when a business, branch, tenant, sales channel, or environment needs separate money, permissions, or reporting. Do not create an app for an individual shopper, order, device, or checkout session.
Each app has its own secret keys. When your backend uses one of those keys, every request belongs to that app. Use the Apps API to create and manage accounts programmatically, such as when you onboard a merchant, add a tenant, separate production from staging, or give a sales channel its own credentials.
The app object
An app object contains the stable identifier and human-readable metadata for one Inttegro account. Secret key values are not returned on normal app lookups; the initial token appears only in the response from Create an app.
Properties
Appv13.1.0Go SDK responseAppv14.0.0Java SDK responseAppv11.1.0PHP SDK responseApplicationv15.0.0Python SDK responseAppv15.0.0Ruby SDK responseAppv13.0.0TypeScript SDK responseAppv15.0.0- #
ArchivedAtarchived_atArchivedAtarchivedAtarchivedAtarchived_atarchived_atarchivedAtDateTimeOffset?timestamp*TimeOffsetDateTimeDateTimeImmutabledatetime | NoneTimeDateWhen the app was archived. Omitted while the app is active.
#
CapabilitiescapabilitiesCapabilitiescapabilitiescapabilitiescapabilitiescapabilitiescapabilitiesDictionary<string, object?>objectCapabilityProjectionMap<String, Object>array<string, mixed>CapabilityProjectionT::Hash[String, T.untyped]AppCapabilityProjectionClick or tap to expandPublic capability states currently available to this app. New capability keys can appear as more Inttegro products become available.
- #
ChildrenPolicychildren_policyChildrenPolicychildrenPolicychildrenPolicychildren_policychildren_policychildrenPolicyChildrenPolicy?ChildrenPolicy*ChildrenPolicyChildrenPolicyChildrenPolicyChildrenPolicy | NoneChildrenPolicyChildrenPolicyPrivate betaActive policy that defines the operating choices this app can grant to child apps. See Children policies. Omitted when this feature is unavailable.
- #
DescriptiondescriptionDescriptiondescriptiondescriptiondescriptiondescriptiondescriptionstring?stringstringStringstringstr | NoneStringstringOptional longer description of what the app is used for.
- #
OperatingPolicyoperating_policyOperatingPolicyoperatingPolicyoperatingPolicyoperating_policyoperating_policyoperatingPolicyApplicationOperatingPolicy?ApplicationOperatingPolicy*SnapshotApplicationOperatingPolicyApplicationOperatingPolicyApplicationOperatingPolicy | NoneApplicationOperatingPolicyApplicationOperatingPolicyPrivate betaImmutable operating configuration applied to this app, including its selected capabilities and source. See Operating policies. Omitted for root apps and when this feature is unavailable.
#
RelationshiprelationshipRelationshiprelationshiprelationshiprelationshiprelationshiprelationshipAppRelationship?object*RelationshipAppRelationshiparray<string, mixed>ApplicationRelationship | NoneT::Hash[String, T.untyped]AppRelationshipDirect placement for this app. Omitted for root apps.Click or tap to expand- #
ParentparentParentparentparentparentparentparentAppRelationshipParent?objectRelationshipParentAppRelationshipParentarray<string, mixed>RelationshipParentT::Hash[String, T.untyped]AppRelationshipParentView parent detailsClick or tap to expand
The app that directly contains this app, including its ID, current name, and optional alias.
Create an app POST /apps/create
Create an Inttegro child app and its first secret key. Your current Inttegro account becomes its parent unless you supply separately authorized delegated placement details.
StoreSecretKey.Tokenapp.secret_key.tokenSecretKey.TokensecretKey.tokenapp.secretKey.tokensecret_key.tokensecret_key.tokensecretKey.token immediately after the response is received. The full token is returned only at creation time and is not included in later lookup or update responses.Surrounding whitespace is removed from text attributes, and unknown attributes are rejected. NamenameNamenamenamenamenamename must remain non-empty after trimming. For LegalEntityTypelegal_entity_typeLegalEntityTypelegalEntityTypelegal_entity_typelegal_entity_typelegal_entity_typelegalEntityType, use "government""government""government""government"'government''government''government'"government", "non_profit""non_profit""non_profit""non_profit"'non_profit''non_profit''non_profit'"non_profit", "business""business""business""business"'business''business''business'"business", or "individual""individual""individual""individual"'individual''individual''individual'"individual"; integrations should not rely on undocumented classifications being accepted.Omit PlacementParentApplicationIdplacement_parent_application_idPlacementParentApplicationIDplacementParentApplicationIdplacement_parent_application_idplacement_parent_application_idplacement_parent_application_idplacementParentApplicationId for ordinary child-app creation. Placing the child under another app requires a valid authorization receipt for that relationship and a compatible RelationshipPolicyrelationship_policyRelationshipPolicyrelationshipPolicyrelationship_policyrelationship_policyrelationship_policyrelationshipPolicy; a parent ID alone is not sufficient.Request attributes
CreateAppRequestv13.1.0Go SDK requestCreateParamsv14.0.0Java SDK requestCreateAppParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestCreateRequestv15.0.0Ruby SDK requestApplication::CreateRequestv13.0.0TypeScript SDK requestCreateAppRequestv15.0.0- #
DescriptiondescriptionDescriptiondescription(…)descriptiondescriptiondescriptiondescriptionstring?stringstringStringstringstrT.nilable(String)stringOptional description of what the app is used for.
- #
LegalEntityTypelegal_entity_typeLegalEntityTypelegalEntityType(…)legalEntityTypelegal_entity_typelegal_entity_typelegalEntityTypestring?stringstringStringstringstrT.nilable(String)stringOptional legal-entity classification. The API trims surrounding whitespace and stores the supplied string.
- #
OperatingPolicyoperating_policyOperatingPolicyoperatingPolicy(…)operatingPolicyoperating_policyoperating_policyoperatingPolicyOperatingPolicySelection?OperatingPolicySelection*SelectionOperatingPolicySelectionOperatingPolicySelectionOperatingPolicySelection | UnsetTypeT.nilable(Application::OperatingPolicyInline)OperatingPolicySelectionPrivate betaOperating configuration to apply to the child app. Pass an operating policy ID or inline capabilities. See Operating policies.
- #
PlacementParentApplicationIdplacement_parent_application_idPlacementParentApplicationIDplacementParentApplicationIdplacementParentApplicationIdplacement_parent_application_idplacement_parent_application_idplacementParentApplicationIdstring?stringstringStringstringstrT.nilable(String)stringApp under which to place the new child app. Omit this to use the app that authenticates the request. A different parent requires separately authorized delegated placement details.
#
RelationshipPolicyrelationship_policyRelationshipPolicyrelationshipPolicyrelationshipPolicyrelationship_policyrelationship_policyrelationshipPolicyAppRelationshipPolicy?object*RelationshipPolicyMap<String, Object>array<string, mixed>CreateRequestRelationshipPolicyT.nilable(Application::CreateRequestRelationshipPolicy)AppRelationshipPolicyOptional policy for the parent-child app relationship. Omitted fields use the defaults shown below.Click or tap to expand- #
ChildStandingchild_standingChildStandingchildStandingchildStandingchild_standingchild_standingchildStandingstring?enumstringenumstring enumstrT.nilable(String)stringStanding of the child app. Supported values are"controlled""controlled""controlled""controlled"'controlled''controlled''controlled'"controlled","temporary_setup""temporary_setup""temporary_setup""temporary_setup"'temporary_setup''temporary_setup''temporary_setup'"temporary_setup", and"independent""independent""independent""independent"'independent''independent''independent'"independent". Defaults to"controlled""controlled""controlled""controlled"'controlled''controlled''controlled'"controlled"for parent-managed apps and"independent""independent""independent""independent"'independent''independent''independent'"independent"for child-managed apps. - #
CredentialscredentialsCredentialscredentialscredentialscredentialscredentialscredentialsstring?enumCredentialOwnerenumstring enumLiteral['child', 'parent', AppCredentialOwner.CHILD, AppCredentialOwner.PARENT]T.nilable(Application::ManagementRole)AppCredentialOwnerWhich app controls credentials. Supported values areInttegro.AppCredentialOwner.Child"child"app.CredentialOwnerChildAppCredentialOwner.CHILD\Inttegro\App\CredentialOwner::Childinttegro.app.CredentialOwner.CHILD'child'Inttegro.AppCredentialOwners.ChildandInttegro.AppCredentialOwner.Parent"parent"app.CredentialOwnerParentAppCredentialOwner.PARENT\Inttegro\App\CredentialOwner::ParentAppinttegro.app.CredentialOwner.PARENT'parent'Inttegro.AppCredentialOwners.Parent. Defaults toInttegro.AppCredentialOwner.Child"child"app.CredentialOwnerChildAppCredentialOwner.CHILD\Inttegro\App\CredentialOwner::Childinttegro.app.CredentialOwner.CHILD'child'Inttegro.AppCredentialOwners.Child. - #
ManagementmanagementManagementmanagementmanagementmanagementmanagementmanagementstring?enumManagementRoleenumstring enumLiteral['parent', 'child', AppManagementRole.PARENT, AppManagementRole.CHILD]T.nilable(Application::ManagementRole)AppManagementRoleWhich app manages the relationship. Supported values areInttegro.AppManagementRole.Parent"parent"app.ManagementRoleParentAppManagementRole.PARENT\Inttegro\App\ManagementRole::ParentAppinttegro.app.ManagementRole.PARENTInttegro::App::ManagementRole::PARENTInttegro.AppManagementRoles.ParentandInttegro.AppManagementRole.Child"child"app.ManagementRoleChildAppManagementRole.CHILD\Inttegro\App\ManagementRole::Childinttegro.app.ManagementRole.CHILDInttegro::App::ManagementRole::CHILDInttegro.AppManagementRoles.Child. Defaults toInttegro.AppManagementRole.Parent"parent"app.ManagementRoleParentAppManagementRole.PARENT\Inttegro\App\ManagementRole::ParentAppinttegro.app.ManagementRole.PARENTInttegro::App::ManagementRole::PARENTInttegro.AppManagementRoles.Parent.
Response shape
The response contains the new AppappAppAppApplicationAppAppApp, its placement
relationship, and a create-only SecretKeyapp.secret_keySecretKeysecretKeyapp.secretKeysecret_keysecret_keysecretKey.
Optional app attributes are omitted when empty. Although SecretKeyapp.secret_keySecretKeysecretKeyapp.secretKeysecret_keysecret_keysecretKey is expected for normal public creation,
clients must still check that it is present before attempting to store the
token.
Response attributes
Appv13.1.0Go SDK responseAppv14.0.0Java SDK responseAppv11.1.0PHP SDK responseApplicationv15.0.0Python SDK responseAppv15.0.0Ruby SDK responseAppv13.0.0TypeScript SDK responseAppv15.0.0#
CapabilitiescapabilitiesCapabilitiescapabilitiescapabilitiescapabilitiescapabilitiescapabilitiesDictionary<string, object?>objectCapabilityProjectionMap<String, Object>array<string, mixed>CapabilityProjectionT::Hash[String, T.untyped]AppCapabilityProjectionClick or tap to expandCapability states available immediately after creation. New apps can return an empty object until capabilities become available.
- #
ChildrenPolicychildren_policyChildrenPolicychildrenPolicychildrenPolicychildren_policychildren_policychildrenPolicyChildrenPolicy?ChildrenPolicy*ChildrenPolicyChildrenPolicyChildrenPolicyChildrenPolicy | NoneChildrenPolicyChildrenPolicyPrivate betaActive policy that defines the operating choices this app can grant to child apps. Omitted when this feature is unavailable.
- #
DescriptiondescriptionDescriptiondescriptiondescriptiondescriptiondescriptiondescriptionstring?stringstringStringstringstr | NoneStringstringDescription stored for the app.
- #
OperatingPolicyoperating_policyOperatingPolicyoperatingPolicyoperatingPolicyoperating_policyoperating_policyoperatingPolicyApplicationOperatingPolicy?ApplicationOperatingPolicy*SnapshotApplicationOperatingPolicyApplicationOperatingPolicyApplicationOperatingPolicy | NoneApplicationOperatingPolicyApplicationOperatingPolicyPrivate betaImmutable operating configuration applied to the app. Omitted for root apps and when this feature is unavailable.
#
RelationshiprelationshipRelationshiprelationshiprelationshiprelationshiprelationshiprelationshipAppRelationship?object*RelationshipAppRelationshiparray<string, mixed>ApplicationRelationship | NoneT::Hash[String, T.untyped]AppRelationshipDirect placement created for the new app.Click or tap to expand- #
ParentparentParentparentparentparentparentparentAppRelationshipParent?objectRelationshipParentAppRelationshipParentarray<string, mixed>RelationshipParentT::Hash[String, T.untyped]AppRelationshipParentView parent detailsClick or tap to expand
The app that directly contains the new app, including its ID, current name, and optional alias.
#
SecretKeysecret_keySecretKeysecretKeysecretKeysecret_keysecret_keysecretKeyGeneratedSecretKey?object*SecretKeyMap<String, Object>array<string, mixed>ApplicationSecretKey | NoneT::Hash[String, T.untyped]{ … }Initial secret key for the new app. Returned only by this endpoint.Click or tap to expand- #
TokenTypetoken_typeTokenTypetokenTypetokenTypetoken_typetoken_typetokenTypestring?stringTokenTypeStringstringstr | NoneStringstringToken type. Currently"bearer""bearer""bearer""bearer"'bearer''bearer''bearer'"bearer".
Request
curl https://api.inttegro.com/apps/create \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"alias": "acme-prod-api",
"description": "Production Inttegro API for Acme Marketplace",
"legal_entity_type": "business",
"name": "Acme Production API"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.apps.create({
alias: "acme-prod-api",
description: "Production Inttegro API for Acme Marketplace",
legalEntityType: "business",
name: "Acme Production API",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
"github.com/inttegro/inttegro-sdk-go/v14/app"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
params := app.CreateParams{
Alias: "acme-prod-api",
Description: "Production Inttegro API for Acme Marketplace",
LegalEntityType: "business",
Name: "Acme Production API",
}
result, err := client.Apps.Create(ctx, params)
if err != nil {
log.Fatal(err)
}
_ = result
}import os
import inttegro
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.apps.create(inttegro.app.CreateRequest(
alias="acme-prod-api",
description="Production Inttegro API for Acme Marketplace",
legal_entity_type="business",
name="Acme Production API",
))<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->apps->create([
'alias' => 'acme-prod-api',
'description' => 'Production Inttegro API for Acme Marketplace',
'legal_entity_type' => 'business',
'name' => 'Acme Production API',
]);require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.apps.create(
alias: "acme-prod-api",
description: "Production Inttegro API for Acme Marketplace",
legal_entity_type: "business",
name: "Acme Production API"
)import com.inttegro.Client;
import com.inttegro.apps.CreateAppParams;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var params = CreateAppParams.builder()
.alias("acme-prod-api")
.description("Production Inttegro API for Acme Marketplace")
.legalEntityType("business")
.name("Acme Production API")
.build();
var result = client.apps().create(params);
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Apps.CreateAsync(new CreateAppRequest {
Alias = "acme-prod-api",
Description = "Production Inttegro API for Acme Marketplace",
LegalEntityType = "business",
Name = "Acme Production API",
});{
"app": {
"alias": "acme-prod-api",
"capabilities": {},
"created_at": "2025-02-15T14:30:00Z",
"description": "Production Inttegro API for Acme Marketplace",
"id": "app_F2gH4iJ6kL8mN0oP2qR4sT6uV8wX0yZ",
"name": "Acme Production API",
"relationship": {
"created_at": "2025-02-15T14:30:00Z",
"id": "apprel_2xL4nP6rT8vX0zB2dF4hJ6lN8pR0tV2x",
"kind": "placement",
"parent": {
"alias": "acme-platform",
"id": "app_M8nP0qR2sT4uV6wX8yZ0aB2cD4eF6gH",
"name": "Acme Platform"
},
"status": "active"
},
"secret_key": {
"id": "sk_Q1wE3rT5yU7iO9pA2sD4fG6hJ8kL0zX",
"issued_at": "2025-02-15T14:30:00Z",
"token": "<SECRET_KEY_TOKEN>",
"token_type": "bearer"
}
}
}Lookup an app POST /apps/lookup
Retrieve the app associated with the API key used on the request. Use this endpoint to confirm which app a secret key authenticates as, or to display app metadata in your own tooling.
The request has no body. An empty JSON object is also accepted. Unknown attributes are rejected. The response includes app metadata and, for a child app, its direct placement relationship. It never includes secret key values.
Request attributes
No request body is required.
Response shape
The response returnsAppappAppAppApplicationAppAppApp for your current account. Child apps include Relationshipapp.relationshipRelationshiprelationshipapp.relationshiprelationshiprelationshiprelationship; root apps omit it.Response attributes
Appv13.1.0Go SDK responseAppv14.0.0Java SDK responseAppv11.1.0PHP SDK responseApplicationv15.0.0Python SDK responseAppv15.0.0Ruby SDK responseAppv13.0.0TypeScript SDK responseAppv15.0.0- #
ArchivedAtarchived_atArchivedAtarchivedAtarchivedAtarchived_atarchived_atarchivedAtDateTimeOffset?timestamp*TimeOffsetDateTimeDateTimeImmutabledatetime | NoneTimeDateWhen the app was archived. Omitted while the app is active.
#
CapabilitiescapabilitiesCapabilitiescapabilitiescapabilitiescapabilitiescapabilitiescapabilitiesDictionary<string, object?>objectCapabilityProjectionMap<String, Object>array<string, mixed>CapabilityProjectionT::Hash[String, T.untyped]AppCapabilityProjectionClick or tap to expandPublic capability states currently available to the app. Read only the keys your integration understands and allow new keys to appear.
- #
ChildrenPolicychildren_policyChildrenPolicychildrenPolicychildrenPolicychildren_policychildren_policychildrenPolicyChildrenPolicy?ChildrenPolicy*ChildrenPolicyChildrenPolicyChildrenPolicyChildrenPolicy | NoneChildrenPolicyChildrenPolicyPrivate betaActive policy that defines the operating choices this app can grant to child apps. Omitted when this feature is unavailable.
- #
DescriptiondescriptionDescriptiondescriptiondescriptiondescriptiondescriptiondescriptionstring?stringstringStringstringstr | NoneStringstringDescription stored for the app.
- #
OperatingPolicyoperating_policyOperatingPolicyoperatingPolicyoperatingPolicyoperating_policyoperating_policyoperatingPolicyApplicationOperatingPolicy?ApplicationOperatingPolicy*SnapshotApplicationOperatingPolicyApplicationOperatingPolicyApplicationOperatingPolicy | NoneApplicationOperatingPolicyApplicationOperatingPolicyPrivate betaImmutable operating configuration applied to the app. Omitted for root apps and when this feature is unavailable.
#
RelationshiprelationshipRelationshiprelationshiprelationshiprelationshiprelationshiprelationshipAppRelationship?object*RelationshipAppRelationshiparray<string, mixed>ApplicationRelationship | NoneT::Hash[String, T.untyped]AppRelationshipDirect placement. Omitted for root apps.Click or tap to expand- #
ParentparentParentparentparentparentparentparentAppRelationshipParent?objectRelationshipParentAppRelationshipParentarray<string, mixed>RelationshipParentT::Hash[String, T.untyped]AppRelationshipParentView parent detailsClick or tap to expand
The app that directly contains this app, including its ID, current name, and optional alias.
Request
curl -X POST https://api.inttegro.com/apps/lookup \
-H "Authorization: Bearer $INTTEGRO_API_KEY"import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.apps.lookup()package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
result, err := client.Apps.Lookup(ctx)
if err != nil {
log.Fatal(err)
}
_ = result
}import os
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.apps.lookup()<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->apps->lookup();require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.apps.lookupimport com.inttegro.Client;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var result = client.apps().lookup();
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Apps.LookupAsync();{
"app": {
"alias": "acme-prod-api",
"capabilities": {
"payments": {
"status": "enabled",
"status_changed_at": "2025-02-15T14:30:00Z"
},
"payouts": {
"status": "enabled",
"status_changed_at": "2025-02-15T14:30:00Z"
}
},
"created_at": "2025-02-15T14:30:00Z",
"description": "Production Inttegro API for Acme Marketplace",
"id": "app_F2gH4iJ6kL8mN0oP2qR4sT6uV8wX0yZ",
"name": "Acme Production API",
"relationship": {
"created_at": "2025-02-15T14:30:00Z",
"id": "apprel_2xL4nP6rT8vX0zB2dF4hJ6lN8pR0tV2x",
"kind": "placement",
"parent": {
"alias": "acme-platform",
"id": "app_M8nP0qR2sT4uV6wX8yZ0aB2cD4eF6gH",
"name": "Acme Platform"
},
"status": "active"
},
"updated_at": "2025-02-16T09:45:30Z"
}
}Update an app POST /apps/update
Update metadata for the app associated with the API key used on the request. This endpoint changes app labels and classification; it does not rotate secret keys or move resources between apps.
Send at least one mutable attribute. Unknown attributes are rejected. Text values are trimmed; emptyAliasaliasAliasaliasaliasaliasaliasalias, DescriptiondescriptionDescriptiondescriptiondescriptiondescriptiondescriptiondescription, and LegalEntityTypelegal_entity_typeLegalEntityTypelegalEntityTypelegal_entity_typelegal_entity_typelegal_entity_typelegalEntityType values clear those fields, while an empty NamenameNamenamenamenamenamename is rejected.Sending values that are already stored succeeds without changing UpdatedAtapp.updated_atUpdatedAtupdatedAtapp.updatedAtupdated_atupdated_atupdatedAt.Request attributes
UpdateAppRequestv13.1.0Go SDK requestUpdateParamsv14.0.0Java SDK requestUpdateAppParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestUpdateRequestv15.0.0Ruby SDK requestApplication::UpdateRequestv13.0.0TypeScript SDK requestUpdateAppRequestv15.0.0- #
DescriptiondescriptionDescriptiondescription(…)descriptiondescriptiondescriptiondescriptionstring?string*stringStringstringstrT.nilable(String)stringNew app description. Send an empty string to clear it.
- #
LegalEntityTypelegal_entity_typeLegalEntityTypelegalEntityType(…)legalEntityTypelegal_entity_typelegal_entity_typelegalEntityTypestring?string*stringStringstringstrT.nilable(String)stringLegal-entity classification. The API trims surrounding whitespace and stores the supplied string.
- #
OperatingPolicyoperating_policyOperatingPolicyoperatingPolicy(…)operatingPolicyoperating_policyoperating_policyoperatingPolicyOperatingPolicySelection?OperatingPolicySelection*SelectionOperatingPolicySelectionOperatingPolicySelectionOperatingPolicySelection | UnsetTypeT.nilable(Application::OperatingPolicyInline)OperatingPolicySelectionPrivate betaReplacement operating configuration. Pass an operating policy ID or inline capabilities. See Operating policies.
Response shape
The response returnsAppappAppAppApplicationAppAppApp with the current metadata after the update.Response attributes
Appv13.1.0Go SDK responseAppv14.0.0Java SDK responseAppv11.1.0PHP SDK responseApplicationv15.0.0Python SDK responseAppv15.0.0Ruby SDK responseAppv13.0.0TypeScript SDK responseAppv15.0.0#
CapabilitiescapabilitiesCapabilitiescapabilitiescapabilitiescapabilitiescapabilitiescapabilitiesDictionary<string, object?>objectCapabilityProjectionMap<String, Object>array<string, mixed>CapabilityProjectionT::Hash[String, T.untyped]AppCapabilityProjectionClick or tap to expandPublic capability states currently available to the app.
- #
ChildrenPolicychildren_policyChildrenPolicychildrenPolicychildrenPolicychildren_policychildren_policychildrenPolicyChildrenPolicy?ChildrenPolicy*ChildrenPolicyChildrenPolicyChildrenPolicyChildrenPolicy | NoneChildrenPolicyChildrenPolicyPrivate betaActive policy that defines the operating choices this app can grant to child apps. Omitted when this feature is unavailable.
- #
DescriptiondescriptionDescriptiondescriptiondescriptiondescriptiondescriptiondescriptionstring?stringstringStringstringstr | NoneStringstringDescription stored for the app.
- #
OperatingPolicyoperating_policyOperatingPolicyoperatingPolicyoperatingPolicyoperating_policyoperating_policyoperatingPolicyApplicationOperatingPolicy?ApplicationOperatingPolicy*SnapshotApplicationOperatingPolicyApplicationOperatingPolicyApplicationOperatingPolicy | NoneApplicationOperatingPolicyApplicationOperatingPolicyPrivate betaImmutable operating configuration applied to the app. Omitted for root apps and when this feature is unavailable.
Request
curl https://api.inttegro.com/apps/update \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Idempotency-Key: app-update-acme-checkout-001" \
-H "Content-Type: application/json" \
-d '{
"alias": "acme-checkout-api",
"description": "Checkout API for Acme Marketplace",
"legal_entity_type": "business",
"name": "Acme Checkout API"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.apps.update({
alias: "acme-checkout-api",
description: "Checkout API for Acme Marketplace",
legalEntityType: "business",
name: "Acme Checkout API",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
"github.com/inttegro/inttegro-sdk-go/v14/app"
"github.com/inttegro/inttegro-sdk-go/v14/request"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
params := app.UpdateParams{
Alias: inttegro.String("acme-checkout-api"),
Description: inttegro.String("Checkout API for Acme Marketplace"),
LegalEntityType: inttegro.String("business"),
Name: inttegro.String("Acme Checkout API"),
}
result, err := client.Apps.Update(ctx, params, request.WithIdempotencyKey("app-update-acme-checkout-001"))
if err != nil {
log.Fatal(err)
}
_ = result
}import os
import inttegro
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.apps.update(inttegro.app.UpdateRequest(
alias="acme-checkout-api",
description="Checkout API for Acme Marketplace",
legal_entity_type="business",
name="Acme Checkout API",
))<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->apps->update([
'alias' => 'acme-checkout-api',
'description' => 'Checkout API for Acme Marketplace',
'legal_entity_type' => 'business',
'name' => 'Acme Checkout API',
]);require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.apps.update(
alias: "acme-checkout-api",
description: "Checkout API for Acme Marketplace",
legal_entity_type: "business",
name: "Acme Checkout API"
)import com.inttegro.Client;
import com.inttegro.apps.UpdateAppParams;
import com.inttegro.RequestOptions;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var params = UpdateAppParams.builder()
.alias("acme-checkout-api")
.description("Checkout API for Acme Marketplace")
.legalEntityType("business")
.name("Acme Checkout API")
.build();
var result = client.apps().update(params, RequestOptions.withIdempotencyKey("app-update-acme-checkout-001"));
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Apps.UpdateAsync(new UpdateAppRequest {
Alias = "acme-checkout-api",
Description = "Checkout API for Acme Marketplace",
LegalEntityType = "business",
Name = "Acme Checkout API",
});{
"app": {
"alias": "acme-checkout-api",
"capabilities": {
"payments": {
"status": "enabled",
"status_changed_at": "2025-02-15T14:30:00Z"
},
"payouts": {
"status": "enabled",
"status_changed_at": "2025-02-15T14:30:00Z"
}
},
"created_at": "2025-02-15T14:30:00Z",
"description": "Checkout API for Acme Marketplace",
"id": "app_F2gH4iJ6kL8mN0oP2qR4sT6uV8wX0yZ",
"name": "Acme Checkout API",
"updated_at": "2025-02-16T09:45:30Z"
}
}