Whether this workspace can take payments (EAS-119)
The workspace's Stripe Connect state. A workspace connects its own Standard Stripe account, and payments are charged directly on it, so the money goes to the workspace and not through Easerix. Pass refresh=1 to read the account back from Stripe first, which is how the settings page picks up a finished onboarding without waiting for a webhook. A document with a payment field can be sent only when chargesEnabled.
View as MarkdownAuthorization
bearer In: header
Query Parameters
Value in
- "1"
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/payments/account"{ "configured": true, "connected": true, "chargesEnabled": true, "payoutsEnabled": true, "detailsSubmitted": true, "accountRef": "string", "accountLabel": "string", "disconnectedBy": "workspace"}Where a payment stands (EAS-119)
Polled by the signer's page after the card is confirmed. When Stripe's webhook has not landed yet and the payment is still open, the PaymentIntent is read from Stripe, so a signer who has just paid is never left waiting on webhook delivery.
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.