compute

POST /v1/compute/eligibility

Submit an organisation for verification.

Dhammaan compute bixiyayaasha

Xaqiijinta aqoonsiga

U dir furaha API ah calaamad dusha ah (bearer token). Furaha waa inuu wataa ruqadda billing.payment.manage; furaha aan wadan waxaa loo diidayaa 403, ee ma aha 404.

Meesha aqoonsiga ururkaagu galayo

Endpoint-kani wuxතික org_id oo ah cabbir su'aal ah. Ka tag oo wicitaanku wuxuu daboolayaa dhammaan geedkaaga kiraynta; soo dir si aad wicitaanka ugu koobto hal urur.

Aqoonsiga ururkaagu wuxuu ku yaallaa shaashada furayaasha API ee dashboard-kaaga, oo ku xiga furaha laftiisa. Waa isku aqoonsi wicitaan kasta oo aad sameyso.

Isku day

Ku beddel wax kasta oo ku dhex jira qeebaha xaglaha ah qiimayaashaada, sidoo kalena haystaaha furaha ku beddel fure ka dhex muuqda dashboordigaaga.

curl -X POST https://api.zinndigital.com/v1/compute/eligibility \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "legal_name": <string>, "country": <string>, "abuse_contact_email": <string> }'

Ma sign-garaysay? Qalabka API ee ku jira dashboard-kaagu wuxuu buuxiyaa aqoonsigaaga ururka ee dhabta ah iyo furahaaga gaarka ah, wuxuuna ku shaqeysiiyaa codsiga API-ga nool si aad u aragto jawaabta dhabta ah. Kani ka fur barta kontoroolka ee API

Faahfaahin

Moves the organisation to `pending` for a human to review. **202**, because the answer is a decision somebody makes rather than something this call performs. ⛔ An organisation that is already verified, or already pending, is refused `422` rather than silently re-queued: resubmitting would otherwise let a customer suspend their own verification, and let a rejected applicant re-enter the queue for ever. Requires `billing.payment.manage` — ⛔ **not** `billing.entitlement.manage`, a staff key no customer role holds, which is what this said until D10689.

Cabiraha

MagacaNoocLoo baahan yahayMaxay tahay
org_id (query)UuidMaya

Codsiga jidhkiisa

MagacaNoocLoo baahan yahayMaxay tahay
legal_namestringHaa
countrystringHaa
abuse_contact_emailstringHaa
company_numberstringMaya
intended_usestringMaya

Jawaab

MagacaNoocLoo baahan yahayMaxay tahay
statestring<not_requested, pending, verified, rejected>Haa⛔ Four states, not a boolean. `not_requested` and `rejected` both refuse an order and the customer's next action differs completely: one is "tell us who you are", the other is "…
may_orderbooleanHaaTrue only in `verified`. Read this rather than re-deriving it from `state`.
legal_namestringHaaThe legal name of whoever is responsible for the machines.
countrystringHaaISO-3166-1 alpha-2 country of the person or the incorporation.
company_numberstringHaaCompany registration number, or `""` for an individual — a real answer.
abuse_contact_emailstringHaaA monitored address an abuse report can be forwarded to and answered from. We are the account holder of record, so a complaint reaches us first and has to reach the customer wit…
intended_usestringHaaWhat the customer says the machines are for, in their own words.
rejection_reasonstringHaaShown to the customer **verbatim** when `state` is `rejected`.
submitted_atstringHaa
reviewed_atstringHaa

Cilladaha ay bartaani soo celin karto

401 · 403 · 422 · 429