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

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

Create transfer top up

POST/admin/v1/stores/{store_id}/shipping-balance/transfer-top-ups
  • payments:manage
  • يدعم Idempotency-Key

Top up by bank transfer: records the transfer and returns the permission to upload its receipt (a JPEG, PNG or WebP picture, or a PDF, up to 10 MB) to the files edge. Then confirm with …/transfer-top-ups/{top_up_id}/complete and the edge's receipt; operators credit it once they check it.

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

  • store_idstringمطلوب

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

الترويسات

  • Idempotency-Keystring

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

  • shop-api-versionYYYY-MM

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

الجسم

  • amountstringمطلوب

    In major units of the store's currency, e.g. 500.00.

  • content_typestringمطلوب

    image/jpeg, image/png, image/webp or application/pdf.

  • size_bytesintegerمطلوب

    Up to 10 MB.

  • file_namestring · أو null

    The receipt's file name, shown to operators.

ما يُرجعه

201 The top-up (uploading) and where to upload its receipt.

الأخطاء

  • 422validation_failedValidation failed.