Accept the terms of service
Overview
Records acceptance of the current policies. Send accepted as true; other values return 422. The policy revision is selected by the panel. Returns setup progress with terms_accepted set to true. Repeating the request makes no further change.
Permissions
Requires the account permission account.update (Change the account).
Authorization
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Send it as Bearer <token>.
Body
application/jsonThe value of accepted.
One of: yes, on, 1, 1, true, true
Response 200
application/jsonThe record, as a JSON object. There is no envelope.
Whether this account is expected to go through setup at all.
The value of complete.
The value of outstanding.
Whether the email address is verified, or null when that status is unavailable.
The value of details_complete.
The value of terms_accepted.
Whether this account, opened from the sign-up form, still has to choose how it pays.
Whether this account is unverified and can verify now with a card or PayPal account: it skipped verification at setup, or was not approved and has waited long enough.
Whether a card or PayPal check passed and the account is waiting to be approved.
When an account that was not approved may verify again. Null unless it is still waiting.
Whether staff denied the account with no date to verify again.
Whether the account may verify its identity with a photo ID now: staff denied it but offered that instead, or it would rather not wait for their review.
Errors
- 401
- The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- 403
- Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- 422
- A field is missing or invalid, or the resource cannot accept this change in its current state. Check
messagefor details. Field validation also includes anerrorsobject keyed by field name. - 429
- Too many requests. The
Retry-Afterheader says how many seconds to wait. Limits are per account, so several keys on one account share them.
Still stuck? Contact our team
View as Markdown