# payments (https://lazyfrog.dev/docs/tools/payments)

{/* Generated by scripts/generate-docs.ts from the gateway's registered tools. Do not edit. */}

**{"Payments"}** · Can change or delete · actions: `connect`, `status`, `webhook`

<p>{"For reading use payments_read, which is read-only and needs no approval: \"status\" here is deprecated (still works). Connects the user's own Stripe account to their app (customers pay the user, never LazyFrog). action \"connect\" (env): a link for the user to paste a restricted key as STRIPE_SECRET_KEY, with what to tick at Stripe; the key never passes through you. \"status\" (env): checks the key with Stripe (test or live, restricted or full, the account's country and whether it can take payments) and the webhook; with no working key yet it says Stripe isn't connected and that connect is next. \"webhook\" (env, path, events, connected_accounts): makes the webhook endpoint on their Stripe account for the environment's address and keeps its signing secret as STRIPE_WEBHOOK_SECRET (replacing one LazyFrog made there before). A test key belongs on preview and a live key on production. Where Stripe isn't available, another provider's keys go in with secrets request (guide topic: payments)."}</p>
