Skip to Content

disconnect()

disconnect( projectId, billingProviderId, input ): Promise< | { api?: { links?: Record<string, { href: string; }>; redactions?: object[]; }; configuration: { appStoreConnect: { credentialSources?: { privateKey?: { materializationError: string | null; materializedAt: string | null; secretReference: string; secretReferenceLabel: string; secretsIntegrationId: string; source: "onepassword"; }; sharedSecret?: { materializationError: string | null; materializedAt: string | null; secretReference: string; secretReferenceLabel: string; secretsIntegrationId: string; source: "onepassword"; }; }; issuerId: string; privateKey: ""; privateKeyId: string; sharedSecret: ""; }; fragile_appStoreConnect: { bundleId: string; }; }; conflicts: { clientData: unknown; conflictedAt: number; serverData: unknown; }; createdAt?: string; id: string; object: "external_billing_provider"; project: string; tombstoned?: false; tombstonedAt?: string | null; type: "appleAppStore"; updatedAt: string; } | { api?: { links?: Record<string, { href: string; }>; redactions?: object[]; }; configuration: { connect: { accountId?: string | null; credentialSources?: { publishableKey?: { materializationError: string | null; materializedAt: string | null; secretReference: string; secretReferenceLabel: string; secretsIntegrationId: string; source: "onepassword"; }; secretKey?: { materializationError: string | null; materializedAt: string | null; secretReference: string; secretReferenceLabel: string; secretsIntegrationId: string; source: "onepassword"; }; }; publishableKey: string; redirectUrls: string[] | null; secretKey: ""; webhookApiVersion?: string | null; webhookId?: string | null; webhookSecret?: "" | null; }; }; conflicts: { clientData: unknown; conflictedAt: number; serverData: unknown; }; createdAt?: string; id: string; object: "external_billing_provider"; project: string; tombstoned?: false; tombstonedAt?: string | null; type: "stripe"; updatedAt: string; } | { api?: { links?: Record<string, { href: string; }>; redactions?: object[]; }; configuration: null; conflicts: { clientData: unknown; conflictedAt: number; serverData: unknown; }; createdAt?: string; id: string; object: "external_billing_provider"; project: string; tombstoned: true; tombstonedAt?: string | null; type: "stripe" | "appleAppStore"; updatedAt: string; }>;

Parameters

projectId

string

billingProviderId

string

input

expectedUpdatedAt

string = UpdatedAtSchema

Last updated on