Create a Stripe SetupIntent for an account payment method
Step 1 of the Stripe SetupIntent flow: creates a SetupIntent on
the per-entity Stripe account and returns the client_secret
for client-side confirmation via Stripe.js. After confirmation,
the client calls
POST /v1/accounts/{id}/payment-methods/{pm_id}/attach to attach
the verified PaymentMethod. CRITICAL: never accepts raw card
numbers (R4 enforcement). Requires the accounts:write scope.
Idempotent via Idempotency-Key.
Authorizations
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_
Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Headers
Client-generated unique key for idempotent POST/PATCH/DELETE operations. Alias for the Idempotency parameter. Max 255 chars. On retry with the same key, the original response is returned without re-executing the operation. Keys expire after 24 hours.
255Path Parameters
Body
card, us_bank_account 
