Redeem a card over the counter

POST /api/v1/admin/cards/redeem-otc prm_cards_verify

اعرض الصفحة بصيغة Markdown

The same operation as the subscriber-facing redeem, with one difference: the acting manager is recorded as the reseller, so the redemption snapshots what they paid against what they charged. Without that, per-reseller pricing never resolves and every redemption records face value on both sides.

نظرة سريعة

المصادقة
رمز موظّف أو جلسة
تتطلب صلاحية
prm_cards_verify Verify / redeem cards
حد المعدل
card_redeem
مفتاح عدم التكرار
request_id

المعاملات

المعامل الوصف
codeمطلوب body · string The plaintext card code.
user_idمطلوب body · integer The subscriber to credit.
request_idمطلوب body · string Idempotency key.

الأخطاء

الرمز متى تُرجَع
ERR_NOT_FOUND404 unknown code, or a card or subscriber outside the caller's authority
ERR_CONFLICT409 already redeemed, or a request_id bound to another card

جرّبه على شبكتك.

50 مشترك لمدة 7 أيام، من غير ما تدفع حاجة.