EaserixDocs
DevelopersAPI referenceSignPayments

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 Markdown
GET
/v1/payments/account
AuthorizationBearer <token>

In: header

Query Parameters

refresh?"1"

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"}