Connect the organization's Stripe account (or return the one it has)
Creates a Stripe connected account for the project's owning organization under Run402's Stripe Connect platform: full Stripe dashboard, Stripe collects its fees and is liable for its losses, card_payments plus sepa_debit_payments where Stripe offers SEPA Direct Debit. Nothing is prefilled that the body does not carry; Stripe collects the rest during hosted onboarding, which a PERSON completes once at the one-time onboarding.url this response carries while onboarding is incomplete. Idempotent per organization: a second call returns the live account with 200 and creates nothing; the create is a durable intent with a deterministic Stripe idempotency key, so an interrupted request never leaves two accounts. Behind the organization lifecycle gate. Audited. Direct charges only: the organization is the merchant of record, Stripe bills it for processing and dispute fees from its own balance, Run402 takes no application fee (platform_fee_bps 0) and never holds, moves, or refunds the money. Refunds and disputes live in the organization's own Stripe dashboard. 503 STRIPE_CONNECT_UNAVAILABLE when the platform's Stripe configuration is absent or Stripe is unreachable.
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/projects/v1/{project_id}/stripe/account
- Auth: one of:
- HTTP bearer
- API key in header SIGN-IN-WITH-X
- HTTP bearer
- HTTP bearer
Path parameters
Run402 project ID. Public IDs are not UUIDs.
The project through which the organization's Stripe account is reached. A service_key acts only for its OWN project; principals and grant keys authorize via project.stripe.manage (mutations) or project.read (reads). The account belongs to the project's owning organization, read fresh.
Headers
SIWX auth header — base64-encoded JSON payload containing a signed CAIP-122 (EIP-4361) message. See https://docs.x402.org/extensions/sign-in-with-x.
Request body
Response
The organization already has a live account.
Example response
{
"next_actions": [
{
"method": "POST",
"path": "/tiers/v1/hobby",
"auth": "x402"
}
],
"onboarding": {
"next_actions": [
{
"method": "POST",
"path": "/tiers/v1/hobby",
"auth": "x402"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.