Admin API / Types

ConnectStripeAccountInput

Input

The Stripe API keys to connect.

input ConnectStripeAccountInput

Input fields

FieldTypeDescription
expectedGenerationDateTimePrecondition on the connected credential: the connectedAt of the connection this attempt was based on, or null when connecting fresh. The attempt is rejected as stale when the stored connection no longer matches — a concurrent connect won the race. Omit to skip the check.
publishableKeyString!The account's publishable key (pk_live_... or pk_test_...).
secretKeyString!The account's secret key (sk_...) or restricted key (rk_...). Write-only: validated, encrypted at rest, and never returned.