Connect (or resume connecting) the workspace's Stripe account
Creates the workspace's connected account on first use and returns a Stripe-hosted onboarding link. After disconnectPaymentsAccount it creates a new account (never the one that was disconnected). Workspace owners and admins only. Stripe returns the user to the settings page afterwards; the account is then read back with getPaymentsAccount?refresh=1.
View as MarkdownAuthorization
bearer In: header
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/payments/account/onboarding"{ "url": "http://example.com"}Disconnect the workspace's Stripe account
Ends the workspace's use of its connected Stripe account so it can connect another with startPaymentsOnboarding. Workspace owners and admins only. Refused with 409 payments_in_use while a sent document that is still waiting for signatures has a payment field, or while money on any document is still in motion (an open PaymentIntent, or a payment on a document that did not complete whose refund is not yet requested); the response names up to five of those documents. Nothing is deleted at Stripe, and payments already taken keep the account they were taken on, so refunds still reach it. Returns the new state, which is not connected.
A document's payments, with refund and failure state (EAS-119)
What the sender needs to see: each payment's status (requires_payment, processing, succeeded, failed, canceled, refunded, partially_refunded, disputed), the Stripe reference, any failure reason, and the refunded amount. Empty for a document with no payment field.