GET/v1/wallet/deposits/:id
الحصول على إيداع
يعيد إيداعاً واحداً من العملات الرقمية حسب المعرّف.
الصلاحية المطلوبة:
wallet.deposit.readحد الطلبات: 10 rpsالمعطيات
idstringمطلوبمعرّف الإيداع.
أمثلة الكود
curl -X GET "https://samaprime.com/api/v1/wallet/deposits/smsord_01J8X9AABBCCDD" \ -H "Authorization: Bearer sk_test_..." \ -H "Content-Type: application/json"الاستجابة
→ 200{ "data": { "id": "dep_01J8X9K2QYABCD", "chain": "BEP20", "amount_usd": "50.0000", "status": "credited", "tx_hash": "0x4f2c...9ab1", "confirmations": 15, "detected_at": "2026-08-10T14:20:00Z", "credited_at": "2026-08-10T14:24:12Z" }, "meta": { "request_id": "req_abc123", "timestamp": "2026-08-06T12:00:00Z" }}الأخطاء
| الحالة | الرمز |
|---|---|
| 404 | not_foundلا يوجد إيداع بهذا المعرّف يخص هذا المستخدم. |