انتقل إلى المحتوى

لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.

Start one document

POST/admin/v1/stores/{store_id}/business-verification/documents
  • يدعم Idempotency-Key

Start one document: what was typed from it is checked, and the answer says where to upload the file (PDF or photo, up to 10 MB). Confirm with the edge's receipt afterwards.

معاملات المسار

  • store_idstringمطلوب

    معرّف من نوع store، مثل store_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.

الترويسات

  • Idempotency-Keystring

    أرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.

  • shop-api-versionYYYY-MM

    الإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.

الجسم

  • kindenumمطلوب

    One of the four documents a business sends.

    • commercial_registration
    • tax_card
    • bank_letter
    • owner_identity
  • file_namestringمطلوب
  • size_bytesintegerمطلوب
  • content_typestringمطلوب
  • factsobjectمطلوب

    What was typed from a document. Each kind uses some: the registration its number, name and expiry; the tax card and identity their number and name; the bank letter its IBAN, the account's name and its date.

ما يُرجعه

201

الأخطاء

  • 403forbiddenWithout settings:write, or not a person.
  • 409In review, verified, or another document was asked for.
  • 422validation_failed