لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Start one document
/ 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
الأخطاء
- 403
forbiddenWithoutsettings:write, or not a person. - 409In review, verified, or another document was asked for.
- 422
validation_failed